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 vanilla Node withour preprocessors, importing givens returns an object with property default, but type says it's a function:
givens
default
https://stackblitz.com/edit/node-j89pac?file=index.js
// run `node index.js` in the terminal import givens from 'givens' console.log(givens) // { default: fn } instead of givens
This is because you transpile it to exports.default = fn instead of module.exports = fn, I think
exports.default = fn
module.exports = fn
Related: vitest-dev/vitest#352
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Using vanilla Node withour preprocessors, importing
givens
returns an object with propertydefault
, but type says it's a function:https://stackblitz.com/edit/node-j89pac?file=index.js
This is because you transpile it to
exports.default = fn
instead ofmodule.exports = fn
, I thinkRelated: vitest-dev/vitest#352
The text was updated successfully, but these errors were encountered: