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 f99e533 commit c5ed708Copy full SHA for c5ed708
packages/optimizely-sdk/lib/utils/json_schema_validator/index.ts
@@ -30,7 +30,7 @@ export function validate(jsonObject: unknown): boolean {
30
if (!jsonObject) {
31
throw new Error(sprintf(ERROR_MESSAGES.NO_JSON_PROVIDED, MODULE_NAME));
32
}
33
-
+ // eslint-disable-next-line @typescript-eslint/ban-types
34
const result = jsonSchemaValidator(jsonObject as {}, schema);
35
if (result.valid) {
36
return true;
0 commit comments