UNPKG

json-schema-to-ts

Version:
11 lines (10 loc) 398 B
export { wrapCompilerAsTypeGuard, wrapValidatorAsTypeGuard, asConst } from "./utils"; /** * Given a JSON schema defined with the `as const` statement, infers the type of valid instances * @param SCHEMA JSON schema */ /** * Given an extended JSON schema defined with the `as const` statement, infers the type of valid instances * @param SCHEMA JSON schema */ //# sourceMappingURL=index.js.map