This repository was archived by the owner on Jan 19, 2019. It is now read-only.
This repository was archived by the owner on Jan 19, 2019. It is now read-only.
Class with implements and extends section doesn’t record the extends section. #361
Closed
Description
What version of TypeScript are you using?
2.4.1
What version of typescript-eslint-parser
are you using?
3.0.0
What code were you trying to parse?
class ClassWithParentAndInterface implements MyInterface extends MyOtherClass {}
What did you expect to happen?
The ClassDeclaration
node has a superClass
property containing an Identifer
named MyOtherClass
What happened?
The ClassDeclaration
node has the superClass
property set to null
I’ve created an example on AST Explorer with both broken and working examples of the code.