mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
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:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user