UNPKG

@sinclair/typebox

Version:

Json Schema Type Builder with Static Type Resolution for TypeScript

14 lines (12 loc) 300 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MappedKey = void 0; const index_1 = require("../symbols/index"); // prettier-ignore function MappedKey(T) { return { [index_1.Kind]: 'MappedKey', keys: T }; } exports.MappedKey = MappedKey;