Migrate GK
Summary: _typescript_ Reviewed By: jknoxville Differential Revision: D16647882 fbshipit-source-id: a5a7053379cd9468e1da9ab0ac2098be3443dda7
This commit is contained in:
committed by
Facebook Github Bot
parent
d4c526cb7f
commit
fc0966a133
@@ -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,
|
||||
|
||||
@@ -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'}));
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user