Skip to content

Commit

Permalink
fix: Fix abstract keyword accidentally being printed before scope.
Browse files Browse the repository at this point in the history
There are tests for this coming...
  • Loading branch information
dsherret committed Oct 5, 2019
1 parent 332fb7e commit c7734dc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ export class ModifierableNodeStructurePrinter extends Printer<ModifierableNodeSt
writer.write("export ");
if ((structure as AmbientableNodeStructure).hasDeclareKeyword)
writer.write("declare ");
if ((structure as AbstractableNodeStructure).isAbstract)
writer.write("abstract ");
if (scope != null)
writer.write(`${scope} `);
if ((structure as AbstractableNodeStructure).isAbstract)
writer.write("abstract ");
if ((structure as StaticableNodeStructure).isStatic)
writer.write("static ");
if ((structure as AsyncableNodeStructure).isAsync)
Expand Down

0 comments on commit c7734dc

Please sign in to comment.