Skip to content

Commit 9496f09

Browse files
committed
Add default argument to pass unit test
1 parent 6aaf57e commit 9496f09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/operations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { findValueByPath } from './utils';
22

3-
export function parseExpression(exp: string, values: Record<string, any>, defaultValues: Record<string, any>): any {
3+
export function parseExpression(exp: string, values: Record<string, any>, defaultValues: Record<string, any> = {}): any {
44
if (values) {
55
exp = exp.trim();
66

0 commit comments

Comments
 (0)