reshow-return
Advanced tools
Comparing version 0.17.40 to 0.17.41
@@ -12,4 +12,5 @@ "use strict"; | ||
* @typedef {object} UseReturnPayLoad | ||
* @param {{[key: string]: string[]}} [pathStates] | ||
* @param {boolean} [immutable] | ||
* @property {{[key: string]: string[]}} [pathStates] | ||
* @property {string[]} [excludeStates] | ||
* @property {boolean} [immutable] | ||
*/ | ||
@@ -29,2 +30,3 @@ | ||
pathStates = _ref.pathStates, | ||
excludeStates = _ref.excludeStates, | ||
_ref$immutable = _ref.immutable, | ||
@@ -36,2 +38,3 @@ immutable = _ref$immutable === void 0 ? true : _ref$immutable; | ||
pathStates: pathStates, | ||
excludeStates: excludeStates, | ||
immutable: immutable | ||
@@ -38,0 +41,0 @@ }); |
{ | ||
"version": "0.17.40", | ||
"version": "0.17.41", | ||
"name": "reshow-return", | ||
@@ -4,0 +4,0 @@ "repository": { |
export default useReturn; | ||
export type UseReturnPayLoad = object; | ||
export type UseReturnPayLoad = { | ||
pathStates?: { | ||
[key: string]: string[]; | ||
}; | ||
excludeStates?: string[]; | ||
immutable?: boolean; | ||
}; | ||
export type UseReturnType = (initStates: import('./connectOptions').InitStatesProps, store: import("reshow-flux-base").StoreObject<any>, payload?: UseReturnPayLoad) => any; | ||
/** | ||
* @typedef {object} UseReturnPayLoad | ||
* @param {{[key: string]: string[]}} [pathStates] | ||
* @param {boolean} [immutable] | ||
* @property {{[key: string]: string[]}} [pathStates] | ||
* @property {string[]} [excludeStates] | ||
* @property {boolean} [immutable] | ||
*/ | ||
@@ -9,0 +16,0 @@ /** |
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
55216
1611