Skip to content

Commit e856b29

Browse files
committed
AS3ExternsGenerator: update
1 parent a189bca commit e856b29

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

npm-scripts/AS3ExternsGenerator.hx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -785,6 +785,9 @@ class AS3ExternsGenerator {
785785

786786
private function generateDocs(doc:String, externs:Bool, indent:String):String {
787787
if (doc == null || StringTools.trim(doc).length == 0) {
788+
if (externs) {
789+
return '$indent/**\n$indent * @externs\n$indent */\n';
790+
}
788791
return "";
789792
}
790793

0 commit comments

Comments
 (0)