frameDebounce() is missing a type declaration #13163
Labels
area/typescript
bug/2-confirmed
We have reproduce the problem and confirmed that this is a bug.
flavour/quasar-cli-vite
kind/bug 🐞
Qv2 🔝
Quasar v2 issues
What happened?
When using Typescript, I get the error message "Module '"quasar"' has no exported member 'frameDebounce'" (from Vetur, I guess?):
I was able to reproduce it in Codesandbox example:
However, as can be seen in the example, the (Javascript) function actually can be resolved. So I guess it's "just" a Typescript thing. Searching around, I came across vuejs/vuex#1736 which looks like a very similar type of issue.
What did you expect to happen?
Being able to
import { frameDebounce } from 'quasar';
within<script lang="ts">
without any editor warnings.Reproduction URL
https://codesandbox.io/s/framedebounce-ts-bug-q2phhk?file=/src/components/BrokenTypescript.vue
How to reproduce?
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
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: