NightCatSama / vue-slider-component

🌡 A highly customized slider component
https://nightcatsama.github.io/vue-slider-component
MIT License
2.39k stars 341 forks source link

[vue3.x] Type imports used as value importsNotUsedAsValues #674

Open inunez-vex opened 1 year ago

inunez-vex commented 1 year ago

Component Version: v4.0.0-beta.7

Multiple type imports are used as value. Imports should be replaced to 'import type'.

image

Affected files are: vue-slider-dot.vue vue-slider-mark.vue vue-slider.vue controls.ts index.ts

verget commented 1 year ago

The type check in my project is failing because of this bug. If you also have the same issue you can stub vue-slider-component types temporally until it solved like this: image