Skip to content

Commit 222bb63

Browse files
DevDimovmattbaileyuk
authored andcommitted
Update ExprNode.type
List all possible string types
1 parent 248d0bf commit 222bb63

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

jsonata.d.ts

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,26 @@ declare namespace jsonata {
1111
}
1212

1313
interface ExprNode {
14-
type: string;
14+
type:
15+
| "binary"
16+
| "unary"
17+
| "function"
18+
| "partial"
19+
| "lambda"
20+
| "condition"
21+
| "transform"
22+
| "block"
23+
| "name"
24+
| "parent"
25+
| "string"
26+
| "number"
27+
| "value"
28+
| "wildcard"
29+
| "descendant"
30+
| "variable"
31+
| "regexp"
32+
| "operator"
33+
| "error";
1534
value?: any;
1635
position?: number;
1736
arguments?: ExprNode[];

0 commit comments

Comments
 (0)