Closed
Description
See #1480 (comment) for up to date info
There are still some nodes missing, but we're getting there :)
Missing printer implementation:
- "TSAsyncKeyword" (Implement TypeScript keywords, namespace functions and class heritage #1483)
- "TSDecorator" (add TSDecorator #1488)
- "TSExportKeyword" (Implement TypeScript keywords, namespace functions and class heritage #1483)
- "TSNamespaceFunctionDeclaration" (Implement TypeScript keywords, namespace functions and class heritage #1483)
- "TSProtectedKeyword" (Implement TypeScript keywords, namespace functions and class heritage #1483)
- "TSPublicKeyword" (Implement TypeScript keywords, namespace functions and class heritage #1483)
- "TSHeritageClause" (Implement TypeScript keywords, namespace functions and class heritage #1483)
- "TSExpressionWithTypeArguments (Implement TypeScript keywords, namespace functions and class heritage #1483)
Missing in typescript-ast-nodes.js
:
- "TSParameterProperty"
- "TSTypeParameter"
There are also some nodes printed incorrectly, probably because some optional keywords aren't printed which should be easy to fix. And there are errors where we're trying to access properties on undefined, those are probably because TypeScript types are missing in typescript-ast-nodes.js
or because we expect optional stuff to just be there.
The raw output of running prettier of the TypeScript test suite can be found here (careful, it's big).
If anyone wants to help with this drop a line here, so we don't duplicate the effort.
/cc @azz