Skip to content

Commit 4a1c791

Browse files
committed
Type fix
1 parent c615d28 commit 4a1c791

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ export const setMetaSchemaOutputFormat: (format: OutputFormat) => void;
5454
export const getMetaSchemaOutputFormat: () => OutputFormat;
5555
export const setShouldValidateSchema: (isEnabled: boolean) => void;
5656
export const getShouldValidateSchema: () => boolean;
57-
export const setShouldValidateFormat: (isEnabled: boolean) => void;
58-
export const getShouldValidateFormat: () => boolean;
57+
export const setShouldValidateFormat: (isEnabled: boolean | undefined) => void;
58+
export const getShouldValidateFormat: () => boolean | undefined;
5959

6060
export class InvalidSchemaError extends Error {
6161
public output: Output & { valid: false };

0 commit comments

Comments
 (0)