@quasar/app-vite does not support TS 4.9+ 'satisfies' operator #15242
Labels
area/cli
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/quasar-cli-vite
kind/bug 🐞
Qv2 🔝
Quasar v2 issues
What happened?
I upgraded
typescript
to version4.9.4
and started using the newsatisfies
operator.When running the dev server with
@quasar/app-vite
version1.1.3
, I got the following error:Expected ";" but found "satisfies"
.What did you expect to happen?
No error.
Reproduction URL
https://stackblitz.com/edit/quasarframework-ihkpgu?file=src/pages/IndexPage.vue
How to reproduce?
npm run dev
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Quasar CLI Commands/Configuration (@quasar/cli | @quasar/app-webpack | @quasar/app-vite)
Platforms/Browsers
Chrome
Quasar info output
Relevant log output
No response
Additional context
I believe it has to do with the version of
esbuild
- thesatisfies
operator is only supported from versionv0.15.13
.The text was updated successfully, but these errors were encountered: