TOC Toolkit API - v0.1.0
    Preparing search index...

    Function assertNever

    • Marks a place that no value reaches, such as the default branch of a switch over every member of an enum. The call stops compiling when a new member appears, and it throws when a value from outside the type arrives at run time.

      Parameters

      • value: never

      Returns never