© 2026 Hedgehog Software, LLC
const createType = <T extends string>(code: T) => { const literal: string = code; return type({ code: `'${literal}'` }); };
const TypeONE = createType("ONE");
const TypeONE: Type<{ code: string; }, {}>
const TypeONE = type({ code: "'ONE'" });
const TypeONE: Type<{ code: "ONE"; }, {}>