semantic error TS2339: Property 'X' doesn't exist on type 'Y'
with Vite and Vue2 SFC
#352
Labels
kind: support
Asking for support with something or a specific use case
problem: no repro
No reproduction was provided (and have not tried to repro without one)
problem: plugin order
The plugin order in this issue seems incompatible. See the "Compatibility" section in the README
problem: removed issue template
OP removed the issue template without good cause
problem: stale
Issue has not been responded to in some time
scope: integration
Related to an integration, not necessarily to core (but could influence core)
scope: vue
Related to integration with Vue (rollup-plugin-vue is long archived), not core
solution: invalid
This doesn't seem right
Troubleshooting
I am trying to build Vue 2 library using Vite. There is a lot of typescript, so I need rollup-plugin-typescript, but there are some weird issues. When I run build, it fails and point to the random .ts file telling me that there is a unexisting property, for example:
In this particular case we're using Vue 2 with Class API in order to work with TS and the script looks like this:
And it points to the different files every time. tsc compiles all the files correctly.
Environment
Versions
:rollup.config.js
vite.config.js
:tsconfig.json
:package.json
plugin output with verbosity 3
:The text was updated successfully, but these errors were encountered: