j-templates 6.0.44 → 6.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Utils/json.d.ts +2 -2
- package/package.json +1 -1
package/Utils/json.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ export type JsonDiffResult<T = unknown> = {
|
|
|
5
5
|
export type JsonDiffFactoryResult = ReturnType<typeof JsonDiffFactory>;
|
|
6
6
|
export declare function JsonDiffFactory(): {
|
|
7
7
|
JsonDiff: <T>(newValue: T, oldValue: T, rootPath?: string, initResult?: JsonDiffResult<T>) => JsonDiffResult<T>;
|
|
8
|
-
JsonType: (value: any) => "value" | "
|
|
8
|
+
JsonType: (value: any) => "value" | "array" | "object";
|
|
9
9
|
JsonDeepClone: <T>(value: T) => T;
|
|
10
10
|
JsonMerge: (source: unknown, patch: unknown) => unknown;
|
|
11
11
|
};
|
|
12
|
-
export declare const JsonDiff: <T>(newValue: T, oldValue: T, rootPath?: string, initResult?: JsonDiffResult<T>) => JsonDiffResult<T>, JsonType: (value: any) => "value" | "
|
|
12
|
+
export declare const JsonDiff: <T>(newValue: T, oldValue: T, rootPath?: string, initResult?: JsonDiffResult<T>) => JsonDiffResult<T>, JsonType: (value: any) => "value" | "array" | "object", JsonDeepClone: <T>(value: T) => T, JsonMerge: (source: unknown, patch: unknown) => unknown;
|