This makes declare class extends behave the same way as in flow The ast-token after the extends keyword, might be either Identifier or QualifiedTypeIdentifier To do that this commits splits the parseGenericType into two functions, one for parsing genericType and on for qualifiedTypeIdentifier
2 lines
34 B
JavaScript
2 lines
34 B
JavaScript
declare class A extends C.B.D { }
|