Typescript error This expression is not callable
in config with module: nodnext
and vue-tsc
#487
Open
8 tasks done
Labels
Related plugins
Describe the bug
When typescript
module
isnodenext
,vue-tsc
produces this error coming from this plugin:Changing
module
topreserve
works, but is undesirable in Node.js projects. Changingmodule
toesnext
also works butresolveJsonModule
can not be used with it so is also not desirable.Using official
tsc
instead ofvue-tsc
also works, but that breaks the typechecking of all.vue
files, so also not desirable.This might be a bug in
vue-tsc
, if so let me know and I will file it there.Reproduction
https://github.com/silverwind/vue-plugin-not-callable
Steps to reproduce
Run
npm i && npx tsc
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: