-
Notifications
You must be signed in to change notification settings - Fork 918
Open
Description
Version
16.8.3
Reproduction link
Steps to reproduce
- Clone the repo
- npm install && npm run build
What is expected?
Something like
ERROR in *****\src\App.vue.ts
TS2339: Property 'split' does not exist on type 'number'.
webpack 5.64.4 compiled with 1 error
What is actually happening?
webpack 5.64.4 compiled successfully
If run dev-server (npm run start), it will successfully compiled again, but now if change src\App.vue (for example, add new line somewhere it can be added), recompilation will be failed with expected error. But typescript error points to a wrong line (it might be an issue too).
ERROR in ****\src\App.vue.ts
13:15-20
[tsl] ERROR in ****\src\App.vue.ts(13,16) // <---- here seems like consider code in script tag only, not whole App.vue file
TS2339: Property 'split' does not exist on type 'number'.
webpack 5.64.4 compiled with 1 error
Although, similar project with vue2 and vue-loader 15.9.8 works as expected.
wmurphyrd, simontunnat, pravbeseda and dikaso
Metadata
Metadata
Assignees
Labels
No labels