Interface: BaseResponse<T>
Represents the Base Response type of JustaName API.
Typeparam
T - The type of the data to be returned.
Type parameters
Name |
---|
T |
Properties
result
• result: Object
Type declaration
Name | Type |
---|---|
data | T extends null ? null : T |
error | ErrorType <T > |
Defined in
lib/types/base-response/index.ts:14
statusCode
• statusCode: number
Defined in
lib/types/base-response/index.ts:13