Migrate GK

Summary: _typescript_

Reviewed By: jknoxville

Differential Revision: D16647882

fbshipit-source-id: a5a7053379cd9468e1da9ab0ac2098be3443dda7
This commit is contained in:
Pascal Hartig
2019-08-08 14:27:52 -07:00
committed by Facebook Github Bot
parent d4c526cb7f
commit fc0966a133
9 changed files with 8 additions and 8 deletions

View File

@@ -8,7 +8,7 @@
import {Component, type Element, Fragment} from 'react';
import {Glyph, Tooltip} from 'flipper';
import {getInstance as getLogger} from '../fb-stubs/Logger';
import GK from '../fb-stubs/GK';
import GK from '../fb-stubs/GK.tsx';
type Props = {
rating: ?number,

View File

@@ -17,7 +17,7 @@ import {FlipperPlugin} from '../../plugin.tsx';
import reducers from '../../reducers/index.tsx';
import {init as initLogger} from '../../fb-stubs/Logger.js';
import configureStore from 'redux-mock-store';
import {TEST_PASSING_GK, TEST_FAILING_GK} from '../../fb-stubs/GK';
import {TEST_PASSING_GK, TEST_FAILING_GK} from '../../fb-stubs/GK.tsx';
import TestPlugin from './TestPlugin';
const mockStore = configureStore([])(reducers(undefined, {type: 'INIT'}));

View File

@@ -16,7 +16,7 @@ const execFile = child_process.execFile;
import IOSDevice from '../devices/IOSDevice';
import iosUtil from '../fb-stubs/iOSContainerUtility';
import isProduction from '../utils/isProduction.js';
import GK from '../fb-stubs/GK';
import GK from '../fb-stubs/GK.tsx';
import {registerDeviceCallbackOnPlugins} from '../utils/onRegisterDevice.js';
type iOSSimulatorDevice = {|
state: 'Booted' | 'Shutdown' | 'Shutting Down',

View File

@@ -18,7 +18,7 @@ import {
updateCategoryBlacklist,
} from '../reducers/notifications.tsx';
import {textContent} from '../utils/index';
import GK from '../fb-stubs/GK';
import GK from '../fb-stubs/GK.tsx';
type NotificationEvents = 'show' | 'click' | 'close' | 'reply' | 'action';
const NOTIFICATION_THROTTLE = 5 * 1000; // in milliseconds

View File

@@ -20,7 +20,7 @@ import {
addFailedPlugins,
} from '../reducers/plugins.tsx';
import {remote} from 'electron';
import GK from '../fb-stubs/GK';
import GK from '../fb-stubs/GK.tsx';
import {FlipperBasePlugin} from '../plugin.tsx';
import {setupMenuBar} from '../MenuBar.js';
import path from 'path';

View File

@@ -8,7 +8,7 @@
export {default as styled, keyframes} from 'react-emotion';
export * from './ui/index.js';
export * from './utils/index.js';
export {default as GK} from './fb-stubs/GK.js';
export {default as GK} from './fb-stubs/GK.tsx';
export {default as createPaste} from './fb-stubs/createPaste.js';
export {graphQLQuery} from './fb-stubs/user.js';
export {

View File

@@ -8,7 +8,7 @@
import {Provider} from 'react-redux';
import ReactDOM from 'react-dom';
import {ContextMenuProvider} from 'flipper';
import GK from './fb-stubs/GK.js';
import GK from './fb-stubs/GK.tsx';
import {init as initLogger} from './fb-stubs/Logger';
import App from './App.js';
import BugReporter from './fb-stubs/BugReporter.js';

View File

@@ -13,7 +13,7 @@ import Panel from '../Panel.js';
import ManagedDataInspector from '../data-inspector/ManagedDataInspector.js';
import {Component} from 'react';
import {Console} from '../console';
import GK from '../../../fb-stubs/GK';
import GK from '../../../fb-stubs/GK.tsx';
const deepEqual = require('deep-equal');