zhangkun9038@dingtalk.com 41fa1390ae first add
2025-01-30 23:47:14 +08:00

8 lines
305 B
TypeScript

interface EventEmitterInternals {
_events: Record<string, Function | Array<Function>>;
}
declare const _process: EventEmitterInternals;
declare let originalOnWarning: Function | undefined;
declare const messageMatch: RegExp;
declare function onWarning(this: any, warning: Error, ...rest: any[]): any;