13 lines
206 B
TypeScript
13 lines
206 B
TypeScript
|
// types/common.ts
|
||
|
declare global {
|
||
|
interface ApiResponse<T> {
|
||
|
success: boolean
|
||
|
code: number
|
||
|
message: string
|
||
|
description: string
|
||
|
data: T
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export {}
|
||
|
|