This repository has been archived by the owner on Jan 19, 2019. It is now read-only.
declare class
is represented the same as a regular class
#384
Labels
What version of TypeScript are you using? 2.4.2
What version of
typescript-eslint-parser
are you using? 6.0.1What code were you trying to parse?
What did you expect to happen?
The AST should specify that the
Foo
class and theFoo
variable aren’t actual declarations.Maybe
What happened?
The AST is the same as the one generated for this code:
Generated AST:
The text was updated successfully, but these errors were encountered: