@hitarth-gg/devtron
Version:
Electron DevTools Extension to track IPC events
15 lines (14 loc) • 499 B
TypeScript
import type { InstallOptions, IpcEventDataIndexed } from './types/shared';
declare function install(options?: InstallOptions): Promise<void>;
/**
* Retrieves the list of IPC events tracked by Devtron.
*
* - If called before installation or before the Devtron service worker is ready,
* an empty array will be returned.
*/
declare function getEvents(): Promise<IpcEventDataIndexed[]>;
export declare const devtron: {
install: typeof install;
getEvents: typeof getEvents;
};
export {};