Typescript: missing type definitions (QuasarLanguage) #17601
Labels
area/plugins
area/typescript
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/quasar-cli-webpack
kind/bug 🐞
Qv2 🔝
Quasar v2 issues
What happened?
Typescript checker error when trying to call "Lang.set()" with a QuasarLanguage object:
Error 1:
Types of property 'label' are incompatible... is missing the following properties from type '..' : expand, collapse
Error 2:
Types of property 'date' are incompatible... Property 'pluralDay' is missing in type.
What did you expect to happen?
No error
Reproduction URL
https://stackblitz.com/edit/quasarframework-stackblitz-templates-pe57ba?file=src%2Fboot%2Fi18n.ts
How to reproduce?
Flavour
Quasar CLI with Webpack (@quasar/cli | @quasar/app-webpack)
Areas
Plugins (quasar), TypeScript Support
Platforms/Browsers
No response
Quasar info output
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: