UNPKG

@sinclair/typebox

Version:

Json Schema Type Builder with Static Type Resolution for TypeScript

10 lines (9 loc) 241 B
import { CreateType } from '../create/type.mjs'; import { Kind } from '../symbols/index.mjs'; // prettier-ignore export function MappedResult(properties) { return CreateType({ [Kind]: 'MappedResult', properties }); }