Skip to content

Commit 90705a8

Browse files
committed
Chore: dto 파일 import 시 type 명시
1 parent f52d572 commit 90705a8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/apis/auth/dto.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { BaseSuccessResponse } from '../core/dto';
1+
import { BaseSuccessResponse } from '@apis/core/dto';
22

33
// jwt를 이용한 사용자 정보 조회 응답
44
export type getUserInfoByJwtResponse = BaseSuccessResponse<getUserInfoByJwtData>;

src/apis/auth/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { getUserInfoByJwtResponse } from './dto';
2-
import { newRequest } from '../core';
1+
import { newRequest } from '@apis/core';
2+
import type { getUserInfoByJwtResponse } from './dto';
33

44
// jwt로 사용자 정보 조회 api /auth/me
55
export const getUserInfoByJwtApi = () => newRequest.get<getUserInfoByJwtResponse>('/auth/me');

0 commit comments

Comments
 (0)