UNPKG

@sinclair/typebox

Version:

Json Schema Type Builder with Static Type Resolution for TypeScript

12 lines (10 loc) 316 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Evaluate = Evaluate; /** * Evaluates code in the current environment. This function matches centralized * evaluation as implemented in TypeBox 1.x. */ function Evaluate(...args) { return new globalThis.Function(...args); }