@esportsplus/reactivity 0.11.4 → 0.11.5
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/build/types.d.ts +1 -1
- package/package.json +1 -1
- package/src/types.ts +1 -1
package/build/types.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ interface Computed<T> extends Signal<T> {
|
|
|
13
13
|
prevHeap: Computed<unknown>;
|
|
14
14
|
state: typeof STATE_CHECK | typeof STATE_DIRTY | typeof STATE_IN_HEAP | typeof STATE_NONE | typeof STATE_RECOMPUTING;
|
|
15
15
|
}
|
|
16
|
-
type Infer<T> = T extends (...args: unknown[]) => ((...args: unknown[]) => Promise<infer R>) ? R : T extends (...args: any[]) => infer R ? R : T extends (infer U)[] ? ReactiveArray<U> : T extends ReactiveObject<any> ? T : T extends Record<PropertyKey, unknown> ? {
|
|
16
|
+
type Infer<T> = T extends (...args: unknown[]) => ((...args: unknown[]) => Promise<infer R>) ? R : T extends (...args: any[]) => infer R ? R | null : T extends (infer U)[] ? ReactiveArray<U> : T extends ReactiveObject<any> ? T : T extends Record<PropertyKey, unknown> ? {
|
|
17
17
|
[K in keyof T]: T[K];
|
|
18
18
|
} : T;
|
|
19
19
|
interface Link {
|
package/package.json
CHANGED
package/src/types.ts
CHANGED