Skip to content
New issue

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

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

Already on GitHub? # to your account

Provide types for Typescript #1

Open
gwww opened this issue Jan 25, 2023 · 0 comments
Open

Provide types for Typescript #1

gwww opened this issue Jan 25, 2023 · 0 comments

Comments

@gwww
Copy link

gwww commented Jan 25, 2023

When using in Svelte, I get a type error.

<SvgIcon type="mdi" path={mdiCloseCircle} />
         ^^^^
Type 'string' is not assignable to type 'null | undefined'.

I also tried the web component version of this library. Same issue there.

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

No branches or pull requests

1 participant