UNPKG

ky

Version:

Tiny and elegant HTTP client based on the Fetch API

4 lines (3 loc) 89 B
export type KyResponse<T = unknown> = { json: <J = T>() => Promise<J>; } & Response;