We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e7a27c commit 0a4c89eCopy full SHA for 0a4c89e
packages/toon/src/decode/expand.ts
@@ -18,10 +18,6 @@ export interface ObjectWithQuotedKeys extends JsonObject {
18
[QUOTED_KEY_MARKER]?: Set<string>
19
}
20
21
-function canMerge(a: JsonValue, b: JsonValue): a is JsonObject {
22
- return isJsonObject(a) && isJsonObject(b)
23
-}
24
-
25
/**
26
* Expands dotted keys into nested objects in safe mode.
27
*
@@ -229,3 +225,7 @@ function mergeObjects(
229
225
230
226
231
227
// #endregion
228
+
+function canMerge(a: JsonValue, b: JsonValue): a is JsonObject {
+ return isJsonObject(a) && isJsonObject(b)
+}
0 commit comments