reshow-return
Advanced tools
Comparing version 0.17.47 to 0.17.48
@@ -18,7 +18,11 @@ "use strict"; | ||
*/ | ||
/** | ||
* @typedef {string[]|Immutable.Seq} RenderKeysType | ||
*/ | ||
/** | ||
* @template ChildrenType | ||
* @param {string[]|Immutable.Seq} [initRenderKeys] | ||
* @param {RenderKeysType} [initRenderKeys] | ||
* @param {{[key: string]: React.ReactElement}|Immutable.Map<string,React.ReactElement>} [initChildren] | ||
* @returns {[React.ReactElement[], DispatchType<any, ChildrenType>, DispatchType<any, any[]>]} | ||
* @returns {[React.ReactElement[], DispatchType<any, ChildrenType>, DispatchType<any, RenderKeysType>]} | ||
*/ | ||
@@ -25,0 +29,0 @@ var usePartialRender = function usePartialRender(initRenderKeys, initChildren) { |
{ | ||
"version": "0.17.47", | ||
"version": "0.17.48", | ||
"name": "reshow-return", | ||
@@ -4,0 +4,0 @@ "repository": { |
export default usePartialRender; | ||
export type DispatchType<StateType, ActionType> = import('reshow-flux-base').DispatchType<StateType, ActionType>; | ||
export type RenderKeysType = string[] | import("immutable").Seq<any, any>; | ||
/** | ||
@@ -9,10 +10,13 @@ * @template StateType | ||
/** | ||
* @typedef {string[]|Immutable.Seq} RenderKeysType | ||
*/ | ||
/** | ||
* @template ChildrenType | ||
* @param {string[]|Immutable.Seq} [initRenderKeys] | ||
* @param {RenderKeysType} [initRenderKeys] | ||
* @param {{[key: string]: React.ReactElement}|Immutable.Map<string,React.ReactElement>} [initChildren] | ||
* @returns {[React.ReactElement[], DispatchType<any, ChildrenType>, DispatchType<any, any[]>]} | ||
* @returns {[React.ReactElement[], DispatchType<any, ChildrenType>, DispatchType<any, RenderKeysType>]} | ||
*/ | ||
declare function usePartialRender<ChildrenType>(initRenderKeys?: string[] | import("immutable").Seq<any, any>, initChildren?: { | ||
declare function usePartialRender<ChildrenType>(initRenderKeys?: RenderKeysType, initChildren?: { | ||
[key: string]: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>; | ||
} | Map<string, import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>>): [import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>[], DispatchType<any, ChildrenType>, DispatchType<any, any[]>]; | ||
} | Map<string, import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>>): [import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>[], DispatchType<any, ChildrenType>, DispatchType<any, RenderKeysType>]; | ||
import { Map } from "reshow-flux"; |
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
57799
1686