typescript-go icon indicating copy to clipboard operation
typescript-go copied to clipboard

Invalid JSX parses more JSXSelfClosingTags than tsc

Open sandersn opened this issue 1 year ago • 0 comments

Other differences probably exist too.

See tests/cases/conformance/jsx/jsxInvalidEsprimaTestSuite.tsx tests/baselines/reference/constructorWithIncompleteTypeAnnotation.js tests/baselines/reference/contextuallyTypedJsxAttribute.js

I observed an attribute as parse as a type assertion, for example: _submodules/TypeScript/tests/baselines/reference/contextuallyTypedJsxAttribute.js

sandersn avatar Dec 06 '24 14:12 sandersn