react-model
Advanced tools
Comparing version 4.0.1-rc.0 to 4.0.1-rc.1
{ | ||
"name": "react-model", | ||
"version": "4.0.1-rc.0", | ||
"version": "4.0.1-rc.1", | ||
"description": "The State management library for React", | ||
@@ -25,3 +25,4 @@ "main": "./dist/react-model.js", | ||
"react": ">=16.3.0", | ||
"react-dom": ">=16.3.0" | ||
"react-dom": ">=16.3.0", | ||
"typescript": ">=3.9.0" | ||
}, | ||
@@ -28,0 +29,0 @@ "devDependencies": { |
@@ -47,3 +47,2 @@ type Setter = { | ||
// Very Sad, Promise<ProduceFunc<S>> can not work with Partial<S> | ProduceFunc<S> | ||
type Action<S = {}, P = any, ActionKeys = {}, ExtContext extends {} = {}> = ( | ||
@@ -57,7 +56,5 @@ params: P, | ||
| Partial<S> | ||
| Promise<Partial<S>> | ||
| Promise<Partial<S> | ProduceFunc<S> | void> | ||
| ProduceFunc<S> | ||
| Promise<ProduceFunc<S>> | ||
| void | ||
| Promise<void> | ||
@@ -64,0 +61,0 @@ type ProduceFunc<S> = (state: S) => void |
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
96359
4
1199