UNPKG

@waiting/fetch

Version:

HTTP fetch API for browser and Node.js. Handle 302/303 redirect correctly on Node.js

7 lines (4 loc) 183 B
export function assertNever(x: unknown): never { // eslint-disable-next-line @typescript-eslint/restrict-plus-operands throw new Error('Assert Never Unexpected object: ' + x) }