This repository was archived by the owner on Jan 19, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 75
declare class
is represented the same as a regular class
#384
Labels
Comments
This breaks |
I removed See also JamesHenry/typescript-estree#28. /cc @JamesHenry |
This was referenced Jan 4, 2019
Fxed by #596 |
# for free
to subscribe to this conversation on GitHub.
Already have an account?
#.
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: