Installation
npm install --save @types/throw-empty
Summary
This package contains type definitions for throw-empty (https://www.npmjs.com/package/throw-empty).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/throw-empty.
index.d.ts
declare function throwEmpty<T>(x: T): T extends null | undefined ? never : T;
export = throwEmpty;
Additional Details
- Last updated: Thu, 11 Jan 2024 23:07:07 GMT
- Dependencies: none
Credits
These definitions were written by Rajas Paranjpe.