From 62d6b3ce58eecbfaade86816545442266a76de3c Mon Sep 17 00:00:00 2001 From: BuildTools Date: Fri, 26 May 2023 18:49:56 -0300 Subject: [PATCH] changed postprocess d parameter from any[] to any --- lib/generate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/generate.js b/lib/generate.js index e0bd2c7b..148e0279 100644 --- a/lib/generate.js +++ b/lib/generate.js @@ -209,7 +209,7 @@ output += "interface NearleyRule {\n"; output += " name: string;\n"; output += " symbols: NearleySymbol[];\n"; - output += " postprocess?: (d: any[], loc?: number, reject?: {}) => any;\n"; + output += " postprocess?: (d: any, loc?: number, reject?: {}) => any;\n"; output += "};\n"; output += "\n"; output += "type NearleySymbol = string | { literal: any } | { test: (token: any) => boolean };\n";