We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcd5e06 commit 3e3f336Copy full SHA for 3e3f336
src/infer/augments.js
@@ -31,7 +31,7 @@ function inferAugments(comment) {
31
name: generate(path.node.superClass).code
32
});
33
}
34
- } else if (path.isInterfaceDeclaration() || path.isTSInterfaceDeclaration()) {
+ } else if ((path.isInterfaceDeclaration() || path.isTSInterfaceDeclaration()) && path.node.extends) {
35
/*
36
* extends is an array of interface identifiers or
37
* qualified type identifiers, so we generate code
0 commit comments