Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ts-assert-unreachable

iyegoroff8.5kMIT0.0.9TypeScript support: included

Typescript assert for exhaustive switch blocks

typescript, assert

readme

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