This repository was archived by the owner on Jan 14, 2019. It is now read-only.
This repository was archived by the owner on Jan 14, 2019. It is now read-only.
Add support for TSTupleType and TSAbstractClassDeclaration in ast-node-types.js #16
Closed
Description
What version of TypeScript are you using?
Typescript 3.0.1
What code were you trying to parse?
class Class {
method(parameters: [number, string?, boolean?]) {
}
}
Please take a look at the AST explorer snippet for the same
https://astexplorer.net/#/gist/e5dd1011355354fea561d02cb10e0b05/9ccb97f94ca1871a0f8917bed5b4d95402a07e13
What did you expect to happen?
The TSTupleType keyword should be in the ast-node-types.js file.
What actually happened?
Support for TSTupleType as ast-node-type is missing.