Summary: Re-use the same function for plugin building both at publishing time by "flipper-pkg" and in runtime by Flipper itself. Reviewed By: jknoxville Differential Revision: D21129685 fbshipit-source-id: b7bff6737310352d28a14223128f127ac4d2eebf
21 lines
472 B
TypeScript
21 lines
472 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
|
|
*/
|
|
|
|
declare module NodeJS {
|
|
interface Global {
|
|
__REVISION__: string | undefined;
|
|
__VERSION__: string;
|
|
electronRequire: (name: string) => any;
|
|
window: Window | undefined;
|
|
WebSocket: any;
|
|
fetch: any;
|
|
originalConsole: Console | undefined;
|
|
}
|
|
}
|