Skip to content

Commit 9265635

Browse files
authored
Merge pull request #214 from j2L4e/patch-1
[TS] Add string[] type to 'params' argument of Expression.toJSFunction
2 parents 4aaff4f + 2d8f137 commit 9265635

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parser.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,5 @@ export interface Expression {
7676
substitute(variable: string, value: Expression | string | number): Expression;
7777
symbols(options?: { withMembers?: boolean }): string[];
7878
variables(options?: { withMembers?: boolean }): string[];
79-
toJSFunction(params: string, values?: Value): (...args: any[]) => number;
79+
toJSFunction(params: string | string[], values?: Value): (...args: any[]) => number;
8080
}

0 commit comments

Comments
 (0)