diff --git a/lib/generate.js b/lib/generate.js index 1a1ef0bf..e0bd2c7b 100644 --- a/lib/generate.js +++ b/lib/generate.js @@ -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";