Library API
    Preparing search index...

    Function assertNever

    • A TypeScript exhaustiveness check that throws an error if reached at runtime.

      Parameters

      • val: never

        The value that should never exist

      Returns asserts val is never

      Always throws an error