Class: JSONApiResponse

Type parameters

Name
T

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new JSONApiResponse<T>(raw, transformer?)

Type parameters

Name
T

Parameters

NameType
rawResponse
transformerResponseTransformer<T>

Properties

raw

raw: Response

Methods

value

value(): Promise<T>

Returns

Promise<T>