idle-vue
idle-vue copied to clipboard
Add typing for supporting typescript
Hello @vip30 what is the advantage for us to include this typescript support ? Thanks!
@gabrielstuff
Here is the advantage of including d.ts
Without the declaration typescript compiler will warn you with
and if you are using this syntax
Vue.extend({
onIdle() {
this.messageStr = 'ZZZ'
},
})
compiler will warn you with
You can get the typing by using this.isAppIdle
and for closing the issue https://github.com/soixantecircuits/idle-vue/issues/30
hello, no update for a long time. Will take time to review it today. Sorry for this delay.
any updates on this?
any updates on this?