20 lines
527 B
TypeScript
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 {};
|