@matchlighter/common_library
Advanced tools
Comparing version 1.3.6 to 1.3.7
@@ -47,3 +47,5 @@ import { DeepSyncOptions } from './deep/deep_sync_adv'; | ||
export declare function safe_synced_observable<T>(from: T, options?: SyncedObservableOptions): SyncedObservable<unknown>; | ||
export declare function sync_to_observable<T>(target: any, obj: T, options?: SyncedObservableOptions): T; | ||
export declare function sync_to_observable<T>(target: any, obj: T, options?: SyncedObservableOptions & { | ||
currentPath?: string[]; | ||
}): T; | ||
export {}; |
@@ -72,3 +72,3 @@ "use strict"; | ||
excludePaths: deep_sync_adv_1.normalizeFilter(options.exclude, obj), | ||
currentPath: ['$'], | ||
currentPath: options.currentPath || ['$'], | ||
delete_missing: options.delete_missing, | ||
@@ -75,0 +75,0 @@ initializeMissingValue: (v, recurse) => { |
@@ -47,3 +47,5 @@ import { DeepSyncOptions } from './deep/deep_sync_adv'; | ||
export declare function safe_synced_observable<T>(from: T, options?: SyncedObservableOptions): SyncedObservable<unknown>; | ||
export declare function sync_to_observable<T>(target: any, obj: T, options?: SyncedObservableOptions): T; | ||
export declare function sync_to_observable<T>(target: any, obj: T, options?: SyncedObservableOptions & { | ||
currentPath?: string[]; | ||
}): T; | ||
export {}; |
@@ -68,3 +68,3 @@ import { observable } from 'mobx'; | ||
excludePaths: normalizeFilter(options.exclude, obj), | ||
currentPath: ['$'], | ||
currentPath: options.currentPath || ['$'], | ||
delete_missing: options.delete_missing, | ||
@@ -71,0 +71,0 @@ initializeMissingValue: (v, recurse) => { |
{ | ||
"name": "@matchlighter/common_library", | ||
"version": "1.3.6", | ||
"version": "1.3.7", | ||
"description": "Shared Functions, Helpers, Patterns & Utilities for Apps and Libraries", | ||
@@ -5,0 +5,0 @@ "author": "Matchlighter", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
300012
4765