Comments (6)
Thanks, like I said I've done it before but this one is a little different than those other tools. I know my friend is gonna take a look at it for me however.
from vue-debounce.
PS here is the error I am getting:
Could not find a declaration file for module 'vue-debounce'. '.../node_modules/vue-debounce/dist/vue-debounce.min.js' implicitly has an 'any' type.
Try `npm install @types/vue-debounce` if it exists or add a new declaration (.d.ts) file containing `declare module 'vue-debounce';`
from vue-debounce.
Hello @ggedde ! Thanks for using my little plugin! I don't use typescript much at all, I've written index.d files for my other libs but I'm not quite sure how I would do something similar for this one.
I know it's possible I will just have to look into how to accomplish this, it may be faster if you want to open a PR to create a index.d.ts
file in the meantime. (I am going to talk to my buddy who uses typescript so that might take time)
from vue-debounce.
Thanks @dhershman1
Unfortunately, I don't know how to create one either.
I have looked at others and tried to discuss it on discord with the vue typescript community, but no luck so far.
from vue-debounce.
#14 opened after switching which branch the PR is directed at it should be good to go.
from vue-debounce.
Thanks, New update working great!
from vue-debounce.
Related Issues (20)
- vueDebounce doesn't work on safari browsers HOT 2
- How to pass extra parameter to typing function HOT 6
- Method not firing HOT 7
- Put some information for testing inside vue utils HOT 2
- Make getDirective use more clearer in docs HOT 1
- Debounce deep watch handler HOT 1
- When I use debounce directly in the method, I have to add a parenthesis to make it work properly. why? HOT 1
- Does it works with Checkboxes? HOT 1
- CDN (like unpkg.com) HOT 2
- Debounce delays but doesn't debounce HOT 9
- :debounce-events="['blur']" not overriding HOT 14
- Does not work with vue router `navigate` HOT 2
- Doesn't work with SFC syntax HOT 20
- Vue 3 Support Broken HOT 1
- vue3Debounce is not a function HOT 1
- v5.0.0 Migration Warning HOT 8
- How to use with <script setup> syntax? HOT 2
- Won't work in nuxt 3 build (ok in dev) HOT 1
- Type error "Could not find a declaration file for module 'vue-debounce'" in fresh vue3 typescript project
- vue-debounce is not resolved after upgrade to v4.0.1 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-debounce.