@types/throw-empty
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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.

/@types/throw-empty/

    Package Sidebar

    Install

    npm i @types/throw-empty

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    2.78 kB

    Total Files

    5

    Last publish

    Collaborators

    • types