You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
content/endpoint-manager.ts:3:21 - error TS2345: Argument of type '{ strict: boolean; validateSchema: boolean; logger: boolean; }' is not assignable to parameter of type 'Options'.
Type '{ strict: boolean; validateSchema: boolean; logger: boolean; }' is not assignable to type 'CurrentOptions'.
Types of property 'logger' are incompatible.
Type 'boolean' is not assignable to type 'false | Logger'.
3 const ajv = new Ajv(options);
Describe the change that should be made to address the issue?
Accept false as setting for logger as described in the documentation: https://ajv.js.org/options.html#logger
Are you going to resolve the issue?
Sorry, I do not know how.
The text was updated successfully, but these errors were encountered:
What version of Ajv are you using? Does the issue happen if you use the latest version?
ajv@8.12.0
Your typescript code
Typescript compiler error messages
The following code compiles without error:
This one also:
Describe the change that should be made to address the issue?
Accept
false
as setting for logger as described in the documentation:https://ajv.js.org/options.html#logger
Are you going to resolve the issue?
Sorry, I do not know how.
The text was updated successfully, but these errors were encountered: