ts-assert-unreachable
TypeScript icon, indicating that this package has built-in type declarations

0.0.9 • Public • Published

ts-assert-unreachable

npm version CircleCI Dependency Status devDependencies Status typings included npm

Typescript assert for exhaustive switch blocks. Taken from this SO answer by Ryan Cavanaugh.

Installation

$ npm i ts-assert-unreachable

Usage

See tests

/ts-assert-unreachable/

    Package Sidebar

    Install

    npm i ts-assert-unreachable

    Weekly Downloads

    1,601

    Version

    0.0.9

    License

    MIT

    Unpacked Size

    8.63 kB

    Total Files

    13

    Last publish

    Collaborators

    • iyegoroff