UNPKG

@arizeai/phoenix-client

Version:

A client for the Phoenix API

13 lines 569 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.assertUnreachable = assertUnreachable; /** * Utility function that uses the type system to check if a switch statement is exhaustive. * If the switch statement is not exhaustive, there will be a type error caught in typescript * * See https://stackoverflow.com/questions/39419170/how-do-i-check-that-a-switch-block-is-exhaustive-in-typescript for more details. */ function assertUnreachable(_) { throw new Error("Unreachable"); } //# sourceMappingURL=assertUnreachable.js.map