@ktjs/core 0.33.0 → 0.33.1
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/dist/index.d.ts +1 -6
- package/dist/index.mjs +282 -811
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -40,10 +40,6 @@ declare class KTRef<T> extends KTReactive<T> {
|
|
|
40
40
|
get value(): T;
|
|
41
41
|
set value(newValue: T);
|
|
42
42
|
get draft(): T;
|
|
43
|
-
/**
|
|
44
|
-
* Force all listeners to run even when reference identity has not changed.
|
|
45
|
-
*/
|
|
46
|
-
notify(oldValue?: T, newValue?: T, handlerKeys?: ChangeHandlerKey[]): this;
|
|
47
43
|
}
|
|
48
44
|
/**
|
|
49
45
|
* Create a `KTRef` object.
|
|
@@ -1245,9 +1241,8 @@ declare class KTReactive<T> {
|
|
|
1245
1241
|
/**
|
|
1246
1242
|
* Force all listeners to run even when reference identity has not changed.
|
|
1247
1243
|
* Useful for in-place array/object mutations.
|
|
1248
|
-
* - Is implemented differently in `KTRef` and `KTComputed`
|
|
1249
1244
|
*/
|
|
1250
|
-
notify(
|
|
1245
|
+
notify(handlerKeys?: ChangeHandlerKey[]): this;
|
|
1251
1246
|
/**
|
|
1252
1247
|
* Ccreate a computed value based on this `KTReactive` instance.
|
|
1253
1248
|
* @param calculator A function that calculates the computed value based on the current value of this `KTReactive` instance.
|