-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Remove reference not found errors from jsx: preserve
#60687
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
Conversation
tests/baselines/reference/jsxFragmentFactoryReference(jsx=react-jsx).errors.txt
Outdated
Show resolved
Hide resolved
|
I found that a lot of the errors generated in the original PR seem to be incorrect as well. The most recent change removes those, and adds some more tests to show the behavior with the rest of the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could do // @noTypesAndSymbols: true and maybe even // @noEmit: true since we really only care about errors for these tests
|
@typescript-bot cherry-pick this to release-5.7 |
…e-5.7 (#60721) Co-authored-by: Isabel Duan <[email protected]>
Fixes #60603
Cleans up a lot of errors that shouldn't have been included with #59933. From discussion with @andrewbranch:
preserveshouldn't perform the checkreactshould check forReactin scope, andjsx/jsxFragpragmas should check if entity name is in scopereact-jsx,react-jsx-dev, settings andjsxImportSourcepragma should check that the corresponding module can be imported