Add Bridge types for Fusebox (#31274)

New types used by Fusebox
https://github.com/facebookexperimental/rn-chrome-devtools-frontend/pull/117
This commit is contained in:
Edmond Chui
2024-10-16 16:45:24 +01:00
committed by GitHub
parent be94b10826
commit 77b637d612

View File

@@ -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';