Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update typescript.md #2528

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

paulovieira
Copy link

Change the importing of the Ajv object from default import to named import. This will avoid the typescript errors described in #2132

What issue does this pull request resolve?

Using Ajv with typescript, many people are reporting the error "Ajv This expression is not constructable

What changes did you make?

Change from default import to named import. More details here: #2132

Is there anything that requires more attention while reviewing?

No. Thanks for considering this change.

Change the importing of the `Ajv` object from default import to named import. This will avoid the typescript errors described in ajv-validator#2132
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant