You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Vue2 project, where components are written in JavaScript or TypeScript.
Without setting allowJs to true in tsconfig.json, there is a message Virtual script not found, ...
After I set allowJs to true in tsconfig.json, Virtual script not found messages in js .vue file have gone.
But in ts .vue file, TS2304 errors are reported by vue-tsc and VSCode.
Here is the repository for reproduction, and version information is as the following.
Hi,
I have a Vue2 project, where components are written in JavaScript or TypeScript.
Without setting
allowJs
to true in tsconfig.json, there is a messageVirtual script not found, ...
After I set
allowJs
to true in tsconfig.json,Virtual script not found
messages in js.vue
file have gone.But in ts
.vue
file, TS2304 errors are reported by vue-tsc and VSCode.Here is the repository for reproduction, and version information is as the following.
Similar issue I found: #319
The text was updated successfully, but these errors were encountered: