feat: add global eventCenter & static console source map
Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
@ -45,6 +45,7 @@ declare global {
|
||||
logger: any;
|
||||
debug: boolean;
|
||||
level: string;
|
||||
eventCenter: EventEmitter;
|
||||
NashornEngineStartTime: number;
|
||||
setGlobal: (key: string, value: any, config?: PropertyDescriptor & ThisType<any>) => void;
|
||||
noop: () => void;
|
||||
@ -70,6 +71,9 @@ declare global {
|
||||
console(...args: any): void;
|
||||
i18n(name: string, ...params: any[]): void;
|
||||
}
|
||||
interface ProxyConstructor {
|
||||
newProxy<T extends object>(target: T, handler: ProxyHandler<T>): T;
|
||||
}
|
||||
}
|
||||
|
||||
export { };
|
||||
|
Reference in New Issue
Block a user