Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Property '"x"' is incompatible with index signature. Type 'x' is not assignable to type 'string'. #430

Open
ariwoot opened this issue Jul 3, 2023 · 0 comments

Comments

@ariwoot
Copy link

ariwoot commented Jul 3, 2023

Hello,
i'm trying to use the library but i'm getting this repeated error when serving it:

Property '"skin"' is incompatible with index signature.
Type '{ alias: "skin"; required: false; }' is not assignable to type 'string'.

Property '"emojis"' is incompatible with index signature.
Type '{ alias: "emojis"; required: false; }' is not assignable to type 'string'.

Property '"categories"' is incompatible with index signature.
Type '{ alias: "categories"; required: false; }' is not assignable to type 'string'.

I've installed npm i @types/emoji-mart and imported it in the app module.
then i've insert it in the component <emoji-mart set="apple" class="emoji-mart"></emoji-mart>.

Do you know why? Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant