MCPcopy Index your code
hub / github.com/microsoft/TypeChat / validatorFor

Function validatorFor

typescript/test/validate.test.ts:46–48  ·  view source on GitHub ↗
(schema: string, typeName: string)

Source from the content-addressed store, hash-verified

44// Helper
45// ---------------------------------------------------------------------------
46function validatorFor<T extends object>(schema: string, typeName: string) {
47 return createTypeScriptJsonValidator<T>(schema, typeName);
48}
49
50// ---------------------------------------------------------------------------
51// Tests

Callers 1

validate.test.tsFile · 0.85

Calls 1

Tested by

no test coverage detected