Skip to content

Commit 8e9cc11

Browse files
committed
Fix incorrect type
1 parent 5bb8f4c commit 8e9cc11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/experimental.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type { JsonNode } from "./instance.js";
66
// Compile/interpret
77
export const compile: (schema: Browser<SchemaDocument>) => Promise<CompiledSchema>;
88
export const interpret: (
9-
(compiledSchema: CompiledSchema, value: unknown, outputFormat?: OutputFormat) => OutputUnit
9+
(compiledSchema: CompiledSchema, value: JsonNode, outputFormat?: OutputFormat) => OutputUnit
1010
) & (
1111
(compiledSchema: CompiledSchema) => Validator
1212
);

0 commit comments

Comments
 (0)