@mmstack/primitives 20.0.4 → 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/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CreateSignalOptions, DestroyRef, WritableSignal, Signal, ElementRef, Injector, ValueEqualityFn } from '@angular/core';
|
|
2
|
-
import { UnknownObject } from '@mmstack/object';
|
|
3
2
|
|
|
4
3
|
/**
|
|
5
4
|
* Options for creating a debounced writable signal.
|
|
@@ -193,6 +192,7 @@ declare function mutable<T>(initial: T, opt?: CreateSignalOptions<T>): MutableSi
|
|
|
193
192
|
*/
|
|
194
193
|
declare function isMutable<T = any>(value: WritableSignal<T>): value is MutableSignal<T>;
|
|
195
194
|
|
|
195
|
+
type UnknownObject = Record<PropertyKey, unknown>;
|
|
196
196
|
/**
|
|
197
197
|
* Options for creating a derived signal using the full `derived` function signature.
|
|
198
198
|
* @typeParam T - The type of the source signal's value (parent).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mmstack/primitives",
|
|
3
|
-
"version": "20.0
|
|
3
|
+
"version": "20.4.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"angular",
|
|
6
6
|
"signals",
|
|
@@ -14,10 +14,6 @@
|
|
|
14
14
|
"url": "https://github.com/mihajm/mmstack"
|
|
15
15
|
},
|
|
16
16
|
"homepage": "https://github.com/mihajm/mmstack/blob/master/packages/primitives",
|
|
17
|
-
"dependencies": {
|
|
18
|
-
"@mmstack/object": "^20.0.0",
|
|
19
|
-
"tslib": "^2.3.0"
|
|
20
|
-
},
|
|
21
17
|
"peerDependencies": {
|
|
22
18
|
"@angular/core": "~20.1.0",
|
|
23
19
|
"@angular/common": "~20.1.0"
|
|
@@ -33,5 +29,8 @@
|
|
|
33
29
|
"types": "./index.d.ts",
|
|
34
30
|
"default": "./fesm2022/mmstack-primitives.mjs"
|
|
35
31
|
}
|
|
32
|
+
},
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"tslib": "^2.3.0"
|
|
36
35
|
}
|
|
37
36
|
}
|