Skip to content

Commit 96fb14f

Browse files
committed
Fix: Create body for abstract methods (fixes eslint#80)
1 parent 3d71c8e commit 96fb14f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/ast-converter.js

+3
Original file line numberDiff line numberDiff line change
@@ -1134,6 +1134,9 @@ module.exports = function(ast, extra) {
11341134
});
11351135
if (isAbstractMethod) {
11361136
methodDefinitionType = "TSAbstractMethodDefinition";
1137+
method.body = {
1138+
type: "AbstractStatement"
1139+
};
11371140
}
11381141
}
11391142

0 commit comments

Comments
 (0)