typescript-go
typescript-go copied to clipboard
Staging repo for development of native port of TypeScript
defaultPropsEmptyCurlyBecomesAnyForJs, discriminantNarrowingCouldBeCircular
defaultKeywordWithoutExport2
decoratorMetadataTypeOnlyExport
declarationEmitBundleWithAmbientReferences
declarationEmitBundlePreservesHasNoDefaultLibDirective
In #241, we had quite a bit of discussion about whether certain fields belong to `System` vs `Host` vs `Program` layering, with all reviewers agreeing that the current setup "feels...
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
Not sure if it's not parsed or just not walked. See tests/cases/conformance/expression/superCalls/errorSuperCalls.ts
See _submodules/TypeScript/tests/cases/conformance/classes/members/privateNames/privateNameHashCharName.ts
I think the feature is still missing and ImportAttributes is just what the parser comes up with currently. See tests/cases/conformance/importAssertion/importAssertion1.ts