Skip to content

Class: JSONApiResponse

Type parameters

Name
T

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new JSONApiResponse<T>(raw, transformer?)

Type parameters

Name
T

Parameters

Name Type
raw Response
transformer ResponseTransformer<T>

Properties

raw

raw: Response

Methods

value

value(): Promise<T>

Returns

Promise<T>