NuclearDispersionSystem/ant-design-vue-jeecg/node_modules/qiankun/es/sandbox/common.d.ts
2023-09-14 14:47:11 +08:00

20 lines
527 B
TypeScript

/**
* @author Kuitos
* @since 2020-04-13
*/
declare type AppInstance = {
name: string;
window: WindowProxy;
};
/**
* get the app that running tasks at current tick
*/
export declare function getCurrentRunningApp(): AppInstance | null;
export declare function setCurrentRunningApp(appInstance: {
name: string;
window: WindowProxy;
} | null): void;
export declare function getTargetValue(target: any, value: any): any;
export declare function getProxyPropertyValue(getter: CallableFunction): any;
export {};