Files
flipper/desktop/flipper-ui-browser/src/global.ts
Michel Weststrate cea7be7fde Clean up globals
Summary: This diff is some boyscouting on cleaning up our globals, and stop using them inconsistently icmw global or window

Reviewed By: aigoncharov

Differential Revision: D33171108

fbshipit-source-id: 400893e5f31523631a7ab6fda428524c751901f1
2021-12-17 10:04:23 -08:00

24 lines
492 B
TypeScript

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
import type {RenderHost} from 'flipper-ui-core';
declare global {
interface Window {
flipperConfig: {
theme: 'light' | 'dark' | 'system';
entryPoint: string;
debug: boolean;
};
flipperShowError?(error: string): void;
flipperHideError?(): void;
}
}