UNPKG

conditional-type-checks

Version:
11 lines (10 loc) 357 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.assert = void 0; /** * Asserts at compile time that the provided type argument's type resolves to the expected boolean literal type. * @param expectTrue - True if the passed in type argument resolved to true. */ function assert(expectTrue) { } exports.assert = assert;