We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using chai v5.0.0, import ESM is required (BREAKING CHANGES), but the related types (@types/chai-json) is not defined for this library.
Is it possible to create the types definition?
So a code like this can be used:
import chai from 'chai' import jsonObj from 'chai-json' chai.use(jsonObj);
instead of
var chai = require('chai'); chai.use(require('chai-json'));
which is no longer supported.
The text was updated successfully, but these errors were encountered:
Unknown file extension ".ts"
No branches or pull requests
Using chai v5.0.0, import ESM is required (BREAKING CHANGES), but the related types (@types/chai-json) is not defined for this library.
Is it possible to create the types definition?
So a code like this can be used:
instead of
which is no longer supported.
The text was updated successfully, but these errors were encountered: