Skip to content

Commit a6fe44a

Browse files
fix bad expression typing (#1389)
1 parent d933a0c commit a6fe44a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/reference/v8.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2916,12 +2916,12 @@
29162916
},
29172917
"expression": {
29182918
"type": "array",
2919-
"value": "*",
2919+
"value": "expression_name",
29202920
"minimum": 1,
2921-
"doc": "An expression defines a function that can be used for data-driven style properties or feature filters."
2921+
"doc": "An expression defines a function that can be used for data-driven style properties or feature filters. The first element of an expression array is a string naming the expression operator, e.g. `\"*\"` or `\"case\"`. Elements that follow (if any) are the _arguments_ to the expression. Each argument is either a literal value (a string, number, boolean, or `null`), or another expression array."
29222922
},
29232923
"expression_name": {
2924-
"doc": "",
2924+
"doc": "First element in an expression array. May be followed by a number of arguments.",
29252925
"type": "enum",
29262926
"values": {
29272927
"let": {

0 commit comments

Comments
 (0)