meilisearch / meilisearch-vue

https://www.meilisearch.com/
MIT License
154 stars 13 forks source link

Add Typescript support #114

Closed ricardoboss closed 2 years ago

ricardoboss commented 2 years ago

It'd be nice if we can use Typescript with this package for type safety. Currently, there are no type declaration files and the Typescript compiler throws errors because the plugin implicitly has any type.

bidoubiwa commented 2 years ago

Hey @ricardoboss ! instant-meilisearch is written in typescript and thus provides typescript support. I think you are asking for typescript support on vue-instantsearch which is not a library we maintain. I suggest you open the issue on their repository :)

ricardoboss commented 2 years ago

Yeah, I think you are right. It also looks like an issue with that concern was already opened and closed without any reasoning. Thankfully, someone provided a declaration for all classes: https://github.com/algolia/vue-instantsearch/issues/378