UNPKG

469 BSource Map (JSON)View Raw
1{"version":3,"file":"assertNever.js","sourceRoot":"../src/","sources":["assertNever.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,UAAU,WAAW,CAAC,CAAQ;IAClC,MAAM,IAAI,KAAK,CAAC,qBAAqB,GAAG,CAAC,CAAC,CAAC;AAC7C,CAAC","sourcesContent":["/**\n * AssertNever is a utility function that can be used for exhaustiveness checks in switch statements.\n *\n * @public\n */\nexport function assertNever(x: never): never {\n throw new Error('Unexpected object: ' + x);\n}\n"]}
\No newline at end of file