Skip to content

Commit c0e90a3

Browse files
cleanout
1 parent ed13aa9 commit c0e90a3

File tree

4 files changed

+221
-221
lines changed

4 files changed

+221
-221
lines changed

src/reference/v8.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
}
9999
},
100100
"state": {
101-
"type": "*",
101+
"type": "state",
102102
"default": {},
103103
"doc": "The initial state of the style. This object is a set of key-value pairs. The state key must be a string. The value is a JSON Schema. Supported types are: number, boolean, string, array, enum. Property \"default\" is required. State values can be retrieved with the [`global-state`](https://maplibre.org/maplibre-style-spec/expressions/#global-state) expression.\n\nThis property is required if any layer uses the `global-state` expression.",
104104
"example": {

src/util/is_object_literal.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export function isObjectLiteral(
2-
anything: unknown
2+
anything: unknown
33
): anything is Record<string, unknown> {
4-
return Boolean(anything) && anything.constructor === Object;
4+
return Boolean(anything) && anything.constructor === Object;
55
}

0 commit comments

Comments
 (0)