api 설정 분리
This commit is contained in:
13
types/common.ts
Normal file
13
types/common.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
// types/common.ts
|
||||
declare global {
|
||||
interface ApiResponse<T> {
|
||||
success: boolean
|
||||
code: number
|
||||
message: string
|
||||
description: string
|
||||
data: T
|
||||
}
|
||||
}
|
||||
|
||||
export {}
|
||||
|
Reference in New Issue
Block a user