-
Notifications
You must be signed in to change notification settings - Fork 133
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
WebStorm IDE : "Cannot resolve symbol 'FontAwesomeIcon'" #177
Comments
This is due to index.d.ts declaring the node namespace as a module. Lines 1 to 10 in 346ea76
If you remove the |
Merged
Should be fixed now. Please let us know if it's not. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When importing
FontAwesomeIcon
component, WebStorm underlines the import sayingCannot resolve symbol 'FontAwesomeIcon'
. This causes problem for props completion.The app works correctly, but WebStorm is unable to show any completion for props defined by this component (
icon
,size
,fixedWidth
, ...).I'm willing to accept that this is a WebStorm issue, but it's the only component that causes me such a problem, so...
Reproducible test case
Just import and register the component in WebStorm/PhpStorm then use it in a template.
Expected behavior
Typing
<FontAwesomeIcon
should trigger props autocompletion for FontAwesomeIcon component, but only show completion for standard Vue props (v-if
,v-for
...) and HTML attributes.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: