Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Commit e1ef800

Browse files
azzJamesHenry
authored andcommitted
Fix: Support superTypeParameters (fixes #242) (#243)
1 parent 65c2e0a commit e1ef800

7 files changed

+3012
-0
lines changed

lib/ast-converter.js

+3
Original file line numberDiff line numberDiff line change
@@ -1550,6 +1550,9 @@ module.exports = function(ast, extra) {
15501550

15511551
if (hasExtends) {
15521552
superClass = heritageClauses.shift();
1553+
if (superClass.types[0] && superClass.types[0].typeArguments) {
1554+
result.superTypeParameters = convertTypeArgumentsToTypeParameters(superClass.types[0].typeArguments);
1555+
}
15531556
}
15541557

15551558
hasImplements = heritageClauses.length > 0;

0 commit comments

Comments
 (0)