I am running IntelliJ IDEA 2023.1 (Ultimate Edition) Build #IU-231.8109.175, built on March 28, 2023. I cannot get my project to compile with "Vue TypeScript". This causes some types mismatches to be ignored.
Under Languages & Frameworks > JavaScript > Code Quality Tools > ESLint I have the following configuration: {**/,}.{vue,js,ts,jsx,tsx,html}
How could I force IntelliJ to run the Vue TypeScript compiler?
Thanks in advance!
In IDEA 2023.1, Typescript language service is turned off for .vue
files if the Typescript version is 5.x because the Vue language service is not compatible with typescript@5
that introduced some breaking changes, please see https://youtrack.jetbrains.com/issue/WEB-60063/IDE-shows-incorrect-errors-for-import-statements-with-Typescript-5.0-in-Vue-SFC#focus=Comments-27-7057634.0-0
As a workaround, you can try changing the typescript version to Bundled
in Settings | Languages & Frameworks | TypeScript