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
What version of Ajv are you using? Does the issue happen if you use the latest version? 8.10.0
Your typescript code
Both snippets below fail:
importAjv,{AnySchema,AsyncValidateFunction,ErrorObject,JSONSchemaType,KeywordDefinition,Options,ValidateFunction,}from'ajv';consterror: Ajv.ValidationError= ... // 'Ajv' only refers to a type, but is being used as a namespace here
importAjv,{AnySchema,AsyncValidateFunction,ErrorObject,JSONSchemaType,KeywordDefinition,Options,ValidateFunction,ValidationError,// <----------- module ajv has no exported member ValidationError}from'ajv';
Typescript compiler error messages
see inline above. As additional context, here are my Typescript compiler options:
Describe the change that should be made to address the issue? Export ValidationError at the top level along with other ajv types
Are you going to resolve the issue? If this is confirmed as an issue sure, I can try. But I just wanted to validate first that it's not me doing something wrong.
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? 8.10.0
Your typescript code
Both snippets below fail:
Typescript compiler error messages
see inline above. As additional context, here are my Typescript compiler options:
Describe the change that should be made to address the issue? Export ValidationError at the top level along with other ajv types
Are you going to resolve the issue? If this is confirmed as an issue sure, I can try. But I just wanted to validate first that it's not me doing something wrong.
The text was updated successfully, but these errors were encountered: