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
24 lines
492 B
TypeScript
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;
|
|
}
|
|
}
|