Answer the question
In order to leave comments, you need to log in
How to add exception type for jsdoc in phpStorm?
I have React in my project. In jsdoc, it is customary for us to specify the ReactElement type for JSX. The corresponding rule is in eslint. Therefore, the linter does not swear, but PhpStorm still highlights this type, giving an error: "Unresolved variable or type 'RecatElement'". How can you tell the storm that everything is fine and that this is the correct type?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question