Skip to main content

Interface: Result<T>

Type parameters​

Name
T

Properties​

body​

• body: T

The response body.

Defined in​

types/lib.ts:122


res​

• res: Object

Type declaration​

NameTypeDescription
okbooleanWhether the response is ok.
pathstringPath of the request for this response.
statusnumberHTTP status code of this response.
maxAgenumberThe maxAge of this response.

Defined in​

types/lib.ts:124