/// /** * It will return component when hot module is active * * 该函数存在的原因是 [Is there support for Hot Module Replacement](https://github.com/microsoft/redux-dynamic-modules/issues/53#issuecomment-557649909) * @param hotModule 热更新环境module对象 * @param component react组件 * * ```tsx * import React from 'react' * import { hotModuleIsActive } from 'sunny-js' * hotModuleIsActive(module,
) * ``` * * @category 热更新 */ export declare function hotModuleIsActive(hotModule: __WebpackModuleApi.Module, component: TComponent): TComponent | null;