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
This commit is contained in:
committed by
Facebook GitHub Bot
parent
c42c54f69d
commit
cea7be7fde
13
desktop/types/flipperGlobals.d.ts
vendored
13
desktop/types/flipperGlobals.d.ts
vendored
@@ -15,15 +15,4 @@ declare const electronRequire: {
|
||||
cache: {[module: string]: any};
|
||||
};
|
||||
|
||||
// For Electron
|
||||
declare module NodeJS {
|
||||
interface Global {
|
||||
__REVISION__: string | undefined;
|
||||
__VERSION__: string;
|
||||
electronRequire: {
|
||||
(name: string): any;
|
||||
resolve: (module: string) => string;
|
||||
cache: {[module: string]: any};
|
||||
};
|
||||
}
|
||||
}
|
||||
declare let FlipperRenderHostInstance: any /* RenderHost */;
|
||||
|
||||
Reference in New Issue
Block a user