Comparing version 0.4.28 to 0.4.29
@@ -7,5 +7,6 @@ import { FC } from 'react'; | ||
(data: T): void; | ||
(this: T extends void ? void : `Error: Expected 1 argument, but got 0`, data?: T): void; | ||
0: () => K; | ||
} & Pick<Promise<T>, 'then' | 'catch' | 'finally'>; | ||
} & Pick<Promise<T>, 'then' | 'catch' | 'finally'> & (T extends void ? { | ||
(): void; | ||
} : {}); | ||
declare function action<T = void>(): Action<T, Ensurable<T>>; | ||
@@ -12,0 +13,0 @@ declare function action<T = void>(init: T): Action<T>; |
{ | ||
"name": "realar", | ||
"version": "0.4.28", | ||
"version": "0.4.29", | ||
"description": "React state manager", | ||
@@ -88,3 +88,3 @@ "repository": { | ||
}, | ||
"gitHead": "752c224e8f119e1c08b2f38dc5bde525931e8c65" | ||
"gitHead": "c35e46a34e77c2334de5fb295b425ffaf10d7bae" | ||
} |
@@ -71,5 +71,9 @@ import React, { Context, FC } from 'react'; | ||
(data: T): void; | ||
(this: T extends void ? void : `Error: Expected 1 argument, but got 0`, data?: T): void; | ||
0: () => K; | ||
} & Pick<Promise<T>, 'then' | 'catch' | 'finally'>; | ||
} & Pick<Promise<T>, 'then' | 'catch' | 'finally'> & | ||
(T extends void | ||
? { | ||
(): void; | ||
} | ||
: {}); | ||
@@ -76,0 +80,0 @@ function action<T = void>(): Action<T, Ensurable<T>>; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
644
43711