UNPKG

ky

Version:

Tiny and elegant HTTP client based on the Fetch API

5 lines (4 loc) • 220 B
export type Primitive = null | undefined | string | number | boolean | symbol | bigint; export type LiteralUnion<LiteralType extends BaseType, BaseType extends Primitive> = LiteralType | (BaseType & { _?: never; });