@js-smart/ng-kit 20.3.1 → 20.4.0
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/fesm2022/js-smart-ng-kit.mjs +188 -176
- package/fesm2022/js-smart-ng-kit.mjs.map +1 -1
- package/index.d.ts +5 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -830,8 +830,9 @@ interface MatSnackBarOptions {
|
|
|
830
830
|
* @since 17.1.0
|
|
831
831
|
*/
|
|
832
832
|
declare class Store<T extends object> {
|
|
833
|
-
_data: _angular_core.WritableSignal<T |
|
|
834
|
-
data: _angular_core.Signal<T |
|
|
833
|
+
_data: _angular_core.WritableSignal<T | null>;
|
|
834
|
+
data: _angular_core.Signal<T | null>;
|
|
835
|
+
initialize(initialData: T): void;
|
|
835
836
|
/**
|
|
836
837
|
* Update the data in the store with the new data
|
|
837
838
|
*
|
|
@@ -841,6 +842,8 @@ declare class Store<T extends object> {
|
|
|
841
842
|
* @since 17.1.0
|
|
842
843
|
*/
|
|
843
844
|
update(newData: T): void;
|
|
845
|
+
clear(): void;
|
|
846
|
+
getData(): T | null;
|
|
844
847
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Store<any>, never>;
|
|
845
848
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<Store<any>>;
|
|
846
849
|
}
|