UNPKG

@httpx/assert

Version:
10 lines (8 loc) 283 B
type MsgOrErrorFactory = string | (() => Error); /** * @credits https://github.com/sindresorhus/type-fest/blob/main/source/simplify.d.ts */ type Simplify<T> = { [KeyType in keyof T]: T[KeyType]; } & NonNullable<unknown>; export type { MsgOrErrorFactory as M, Simplify as S };