ionic-team / ionic-team/ionicons
Type string is not assignable to type InferPropType<StringConstructor>
Open
help wanted
type: documentation
- Dominant language
- TypeScript
- Stars
- 18.2k
- Forks
- 2.1k
- PR merge metrics
- No merged PRs in 30d
Description
I'm using Vue3 with TypeScript:
```
import { IonIcon } from "@ionic/vue";
import { beer }from "ionicons/icons";
```
but am getting this TypeScript warning:
`Type string is not assignable to type InferPropType`
After some googling I still don't understand what this means. What is a `StringConstructor` type that the icon prop expects?
My code is working but I don't like errors/warnings in my code.
Contributor guide
Assessment
This issue has not been assessed yet.