Skip to content

Commit 68e5a63

Browse files
committed
refactor(types): add evaluate trace option
1 parent dcf0ac8 commit 68e5a63

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

types/index.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,12 @@ export interface EvaluateOptions {
279279
* Can extend or override built-in functions.
280280
*/
281281
readonly functions?: Record<string, Function>;
282+
/**
283+
* Enable parser tracing for detailed error messages.
284+
* When true, syntax errors include position and expected tokens.
285+
* @default true
286+
*/
287+
readonly trace?: boolean;
282288
}
283289

284290
/**

0 commit comments

Comments
 (0)