We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ab5b0e commit 456cef4Copy full SHA for 456cef4
src/lib/adapters/typebox.ts
@@ -29,7 +29,7 @@ async function validate<T extends TSchema>(
29
const { TypeCompiler, FormatRegistry } = await fetchModule();
30
31
if (!compiled.has(schema)) {
32
- compiled.set(schema, TypeCompiler.Compile(schema));
+ compiled.set(schema, TypeCompiler.Compile<TSchema>(schema));
33
}
34
35
if (!FormatRegistry.Has('email')) {
0 commit comments