Skip to main content

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

NameType
dataT extends null ? null : T
errorErrorType<T>

Defined in

lib/types/base-response/index.ts:14


statusCode

statusCode: number

Defined in

lib/types/base-response/index.ts:13