vue-multiselect
vue-multiselect copied to clipboard
Typescript Types Improvements for Proper IDE Autocomplete
I'm using webstorm, and don't get any of the usual ide assistance for the vue-multiselect component. I'm using single file components. For example, when I write a bootstrap-vue component's tag in the template, webstorm will suggest valid property names and even valid values (depending on the type of property). I don't get any of this with vue-multiselect.
As an experiment, I copied the source from node_modules into my project, then uninstalled multiselect, and updated imports. Now ide support works as expected! Not a good workaround, but maybe interesting? Let me know how I can be more helpful with this bug report!
vue: 2.6.10
vue-multiselect: 2.1.6
jetbrains webstorm: 2020.1
@djeikyb It's the same for every other browser. We will try to improve the same. Thanks.
@akki-jat Hello, are there any plans to freeze changes and fully migrate the project to TypeScript? I've recently converted a library (version 2.1.7) to TS in my personal project and immediately noticed one unused getter and several undeclared variables that have been around since 2017. Maybe this could be helpful for future development.
@valsaven We will surly work to improve TypeScript support. But what approach we take to do that is still not decided.