@hyperjump/json-schema 1.17.1 → 1.17.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +2 -2
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -54,8 +54,8 @@ export const setMetaSchemaOutputFormat: (format: OutputFormat) => void;
|
|
|
54
54
|
export const getMetaSchemaOutputFormat: () => OutputFormat;
|
|
55
55
|
export const setShouldValidateSchema: (isEnabled: boolean) => void;
|
|
56
56
|
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;
|
|
59
59
|
|
|
60
60
|
export class InvalidSchemaError extends Error {
|
|
61
61
|
public output: Output & { valid: false };
|