UNPKG

ky

Version:

Tiny and elegant HTTP client based on the Fetch API

4 lines (3 loc) 87 B
export type KyRequest<T = unknown> = { json: <J = T>() => Promise<J>; } & Request;