vue3-discordpicker
vue3-discordpicker copied to clipboard
Typescript Support?
It doesn't play nice with typescript which is a shame because this seems like the best emoji picker out there.

I was just about to report the same exact thing. 😄
TS7016: Could not find a declaration file for module 'vue3-discordpicker'. '/node_modules/vue3-discordpicker/dist/discordpicker.common.js' implicitly has an 'any' type.
Can't wait to see it work with it! Cheers anyway for the outstanding work!
Hi,
For now you can juste create a file discordpicker.d.ts in your project with this
declare module 'vue3-discordpicker';
Soon i rewrite all this component w/typescript and composition-api 👍 (really soon)
Tell me if solution work
Hey!
Thanks for the feedback ; it now compiles the module but the TS errors/warning are still here so this is blocking compilation for the project (built on Quasar). :-)
Off topic, I also noticed a few CSS conflicts between Quasar and Tailwind - which is packing your CSS ; are you interested by a detailed report on this, and how they could potentially be solved ? If i'm not mistaken, the subject has been discussed on Quasar's Github, but as I recall they closed the issue stating that they don't plan to make any changes on their side.
Hello @Nincha , Can you resend me the typescript warning please ?
For the CSS error, if you can explain me what kind of error exactly? Because normally I generate a tailwind style but linked to a class (.vue3-emojipicker), so the style will be valid only when the parent has this class
Here they are :)
First, error when declaring DiscordPicker in components:

Second, wargning about API Key

I'm sending you an email with the CSS details :)
@enzostvs seems like the email indicated on your website does not work. :( 😄
Hi @Nincha yes sorry ! You can send here: [email protected] Thanks !