Skip to content
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

Specialize the message on JSX tags looking for the JSX factory namespace #58870

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

DanielRosenwasser
Copy link
Member

No description provided.

@gabritto
Copy link
Member

@DanielRosenwasser
Copy link
Member Author

Yes, probably!

@DanielRosenwasser
Copy link
Member Author

@gabritto done!

"category": "Error",
"code": 2869
},
"This JSX tag requires the module path '{0}' to exist, but none could be found. Make sure you have the appropriate package installed.": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"This JSX tag requires the module path '{0}' to exist, but none could be found. Make sure you have the appropriate package installed.": {
"This JSX tag requires the module path '{0}' to exist, but none could be found. Make sure you have types for the appropriate package installed.": {

? Since it's perfectly possible (common, even) to have react installed, but @types/react is still missing. Or is that a different error?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whether there's a separate error, I'm not sure about - but good call on specializing the message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
Status: Needs merge
Development

Successfully merging this pull request may close these issues.

None yet

4 participants