Skip to content

Commit

Permalink
added missing new line in generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
bandaloo committed Nov 28, 2020
1 parent c486135 commit 0313b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
output += parser.customTokens.map(function (token) { return "declare var " + token + ": any;\n" }).join("")
output += parser.body.join('\n');
output += "\n";
output += "interface NearleyToken {";
output += "interface NearleyToken {\n";
output += " value: any;\n";
output += " [key: string]: any;\n";
output += "};\n";
Expand Down

0 comments on commit 0313b2c

Please sign in to comment.