diff --git a/packages/react-devtools-fusebox/src/frontend.d.ts b/packages/react-devtools-fusebox/src/frontend.d.ts index 74a88c36a85f8..52536739ccaa1 100644 --- a/packages/react-devtools-fusebox/src/frontend.d.ts +++ b/packages/react-devtools-fusebox/src/frontend.d.ts @@ -15,7 +15,9 @@ export type Wall = { }; export type Bridge = { - shutdown: () => void, + addListener(event: string, listener: (params: unknown) => any): void; + removeListener(event: string, listener: Function): void; + shutdown: () => void; }; export type Store = Object; export type BrowserTheme = 'dark' | 'light';