Type Alias Assert<T, Expected>
Type Parameters
- T extends boolean
The type to assert is the expected boolean literal type.
- Expected extends T
The expected boolean literal type.
The type to assert is the expected boolean literal type.
The expected boolean literal type.
Asserts at compile time that the provided type argument's type resolves to the expected boolean literal type.