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

Commit 89f8561

Browse files
soda0289JamesHenry
authored andcommitted
Fix: Label static and export in TSParameterProperty (fixes #286) (#301)
1 parent 992f1fa commit 89f8561

10 files changed

+986
-5
lines changed

lib/convert.js

+2
Original file line numberDiff line numberDiff line change
@@ -1104,6 +1104,8 @@ module.exports = function convert(config) {
11041104
loc: nodeUtils.getLoc(node, ast),
11051105
accessibility: nodeUtils.getTSNodeAccessibility(node),
11061106
isReadonly: nodeUtils.hasModifier(SyntaxKind.ReadonlyKeyword, node),
1107+
static: nodeUtils.hasModifier(SyntaxKind.StaticKeyword, node),
1108+
export: nodeUtils.hasModifier(SyntaxKind.ExportKeyword, node),
11071109
parameter: result
11081110
};
11091111
}

0 commit comments

Comments
 (0)