Skip to content

Commit 642232b

Browse files
committed
preserve ""
1 parent be12f34 commit 642232b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/visit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export class Visitor {
6565

6666
paramsToExpressions(params: (string | number | Block | null)[]) {
6767
return params
68-
.filter((x): x is Block | number | string => x == 0 || !!x)
68+
.filter((x): x is Block | number | string => x == 0 || x == "" || !!x)
6969
.map(this.blockToExpression.bind(this))
7070
}
7171

0 commit comments

Comments
 (0)