-
-
Notifications
You must be signed in to change notification settings - Fork 895
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
Docs: using ajv v7 in ES5 environments #1364
Comments
There is an option to generate es5 code ( |
And if you need to use Ajv itself in pre-ES6 env you need to recompile TypeScript to an earlier target - it's set to 2018 in the bundled compiled code. |
Probably it deserves the section in the docs :) |
The only way to avoid Or you can alway recompile typescript to older/newer JS version |
We are using the package in a web app (supporting es5 env), and got erros after upgrading to ajv v7.0.1.
Do you still want to support pre-es6 env? Or just update the docs to clarify its requirement. 😄
The text was updated successfully, but these errors were encountered: