You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type 'IconDefinition' is not assignable to type 'IconProp'.
Type 'IconDefinition' is not assignable to type 'IconLookup'.
Types of property 'iconName' are incompatible.
Type 'import("XXX/node_modules/@fortawesome/free-solid-svg-icons/node_modules/@fortawesome/fontawesome-common-types/index").IconName' is not assignable to type 'import("XXX/node_modules/@fortawesome/fontawesome-common-types/index").IconName'.
Type '"threads"' is not assignable to type 'IconName'.
Bug description
Using the FontAwesomeIcon component in react with typescript is resulting in type errors:
results from this implementation:
A longer message appears in some cases:
This is using these versions:
This seems to have been an issue with previous versions, but all the resolutions have been to upgrade the package version, an I am on the latest.
Reproducible test case
Included Above
Screenshots
No response
Font Awesome version
6.4.2
Serving
Kit
Implementation
Other (as specified in the bug description)
Browser and Operating System
Compilation does not complete, no browsers.
Using on Windows 11.
Web bug report checklist
The text was updated successfully, but these errors were encountered: