UNPKG

@matatbread/typia

Version:

Superfast runtime validators with only one line

128 lines 2.18 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.literals = literals; exports.clone = clone; exports.assertClone = assertClone; exports.isClone = isClone; exports.validateClone = validateClone; exports.prune = prune; exports.assertPrune = assertPrune; exports.isPrune = isPrune; exports.validatePrune = validatePrune; exports.createClone = createClone; exports.createAssertClone = createAssertClone; exports.createIsClone = createIsClone; exports.createValidateClone = createValidateClone; exports.createPrune = createPrune; exports.createAssertPrune = createAssertPrune; exports.createIsPrune = createIsPrune; exports.createValidatePrune = createValidatePrune; /** * @internal */ function literals() { halt("literals"); } /** * @internal */ function clone() { halt("clone"); } /** * @internal */ function assertClone() { halt("assertClone"); } /** * @internal */ function isClone() { halt("isClone"); } /** * @internal */ function validateClone() { halt("validateClone"); } /** * @internal */ function prune() { halt("prune"); } /** * @internal */ function assertPrune() { halt("assertPrune"); } /** * @internal */ function isPrune() { halt("isPrune"); } /** * @internal */ function validatePrune() { halt("validatePrune"); } /** * @internal */ function createClone() { halt("createClone"); } /** * @internal */ function createAssertClone() { halt("createAssertClone"); } /** * @internal */ function createIsClone() { halt("createIsClone"); } /** * @internal */ function createValidateClone() { halt("createValidateClone"); } /** * @internal */ function createPrune() { halt("createPrune"); } /** * @internal */ function createAssertPrune() { halt("createAssertPrune"); } /** * @internal */ function createIsPrune() { halt("createIsPrune"); } /** * @internal */ function createValidatePrune() { halt("createValidatePrune"); } /** * @internal */ function halt(name) { throw new Error(`Error on typia.misc.${name}(): no transform has been configured. Read and follow https://typia.io/docs/setup please.`); } //# sourceMappingURL=misc.js.map