You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 14, 2019. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
vivekgalatage
changed the title
Add support for TSTupleType in ast-node-types.js
Add support for TSTupleType and TSAbstractClassDeclaration in ast-node-types.js
Oct 4, 2018
@JamesHenry I am using the typescript as a replacement for defining the WebIDL[1] files. The type checking and language support is awesome with the typescript.
So the various spec.ts files are written in typescript which are parsed using typescript-eslint-parser which in turn relies upon ast-node-types.js.
During parsing, the tokens are passed through various switch case statements and this is where I found out these couple of missing constants in the above file.
Uh oh!
There was an error while loading. Please reload this page.
What version of TypeScript are you using?
Typescript 3.0.1
What code were you trying to parse?
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.
The text was updated successfully, but these errors were encountered: