reshow-flux-base
Advanced tools
Comparing version 0.17.46 to 0.17.47
@@ -14,2 +14,5 @@ "use strict"; | ||
/** | ||
* @typedef {import("reshow-constant").SAFE_UNDEFINED} SAFE_UNDEFINED | ||
*/ | ||
/** | ||
* @interface | ||
@@ -19,3 +22,3 @@ */ | ||
(0, _classCallCheck2["default"])(this, ActionObject); | ||
/** @type {string=} */ | ||
/** @type {string|SAFE_UNDEFINED=} */ | ||
(0, _defineProperty2["default"])(this, "type", void 0); | ||
@@ -22,0 +25,0 @@ /** @type {Payload=} */ |
{ | ||
"version": "0.17.46", | ||
"version": "0.17.47", | ||
"name": "reshow-flux-base", | ||
@@ -4,0 +4,0 @@ "repository": { |
@@ -5,7 +5,10 @@ /** | ||
/** | ||
* @typedef {import("reshow-constant").SAFE_UNDEFINED} SAFE_UNDEFINED | ||
*/ | ||
/** | ||
* @interface | ||
*/ | ||
export class ActionObject { | ||
/** @type {string=} */ | ||
type: string | undefined; | ||
/** @type {string|SAFE_UNDEFINED=} */ | ||
type: (string | SAFE_UNDEFINED) | undefined; | ||
/** @type {Payload=} */ | ||
@@ -88,2 +91,3 @@ params: Payload | undefined; | ||
}; | ||
export type SAFE_UNDEFINED = import("reshow-constant").SAFE_UNDEFINED; | ||
export type RefineAction<ActionType = ActionObject> = ActionType; | ||
@@ -90,0 +94,0 @@ export type FluxHandler<StateType, ActionType> = (NextState: StateType, Action: RefineAction<ActionType>, PrevState: StateType) => any; |
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
37245
1149