typescript-go
typescript-go copied to clipboard
Invalid JSX parses more JSXSelfClosingTags than tsc
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