Skip to content

Commit

Permalink
Add Bridge types for Fusebox (#31274)
Browse files Browse the repository at this point in the history
  • Loading branch information
EdmondChuiHW authored Oct 16, 2024
1 parent be94b10 commit 77b637d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/react-devtools-fusebox/src/frontend.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 77b637d

Please sign in to comment.