Function assertNever

  • Placed in switch default, enforces compiler to check all cases in a switch are matched and this is never reached:

    Parameters

    • neverVal: never

    Returns never

Generated using TypeDoc