vueper-slides icon indicating copy to clipboard operation
vueper-slides copied to clipboard

Typescript support

Open demiro opened this issue 5 years ago • 3 comments

getting errors when using it with typescript

demiro avatar Sep 11 '19 17:09 demiro

Hi, to avoid compile errors due to the missing types I addded the following code in the shims-vue.d.ts.

declare module 'vueperslides' {
    class VueperSlides extends DefineComponent {}
    class VueperSlide extends DefineComponent {}
}

NOTE: you'll do not have completion for props.

GillianPerard avatar Dec 10 '21 06:12 GillianPerard

It'd be nice to have proper type definitions for this, I'll consider opening a PR later today as this would be useful to me. Love the component, but type definitions are a must for me.

LizAinslie avatar Jun 10 '22 15:06 LizAinslie

hey is there any update about this?

talentamaulana10 avatar Sep 26 '22 09:09 talentamaulana10