UNPKG

@sinclair/typebox

Version:

Json Schema Type Builder with Static Type Resolution for TypeScript

6 lines (5 loc) 216 B
import { Exclude } from './exclude.mjs'; import { TemplateLiteralToUnion } from '../template-literal/index.mjs'; export function ExcludeFromTemplateLiteral(L, R) { return Exclude(TemplateLiteralToUnion(L), R); }