diff --git a/src/chrome/RatingButton.js b/src/chrome/RatingButton.js index 17c054d1f..0b1db44b6 100644 --- a/src/chrome/RatingButton.js +++ b/src/chrome/RatingButton.js @@ -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, diff --git a/src/dispatcher/__tests__/plugins.electron.js b/src/dispatcher/__tests__/plugins.electron.js index c0a68e695..89e6e6ddc 100644 --- a/src/dispatcher/__tests__/plugins.electron.js +++ b/src/dispatcher/__tests__/plugins.electron.js @@ -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'})); diff --git a/src/dispatcher/iOSDevice.js b/src/dispatcher/iOSDevice.js index 99b23cf99..c5b7204b9 100644 --- a/src/dispatcher/iOSDevice.js +++ b/src/dispatcher/iOSDevice.js @@ -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', diff --git a/src/dispatcher/notifications.js b/src/dispatcher/notifications.js index 58b87ccb6..f9af40e73 100644 --- a/src/dispatcher/notifications.js +++ b/src/dispatcher/notifications.js @@ -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 diff --git a/src/dispatcher/plugins.js b/src/dispatcher/plugins.js index 29c87e6e0..20a79ef67 100644 --- a/src/dispatcher/plugins.js +++ b/src/dispatcher/plugins.js @@ -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'; diff --git a/src/fb-stubs/GK.js b/src/fb-stubs/GK.tsx similarity index 100% rename from src/fb-stubs/GK.js rename to src/fb-stubs/GK.tsx diff --git a/src/index.js b/src/index.js index 1c1f19789..8b6bce868 100644 --- a/src/index.js +++ b/src/index.js @@ -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 { diff --git a/src/init.js b/src/init.js index f30f7286c..da007849f 100644 --- a/src/init.js +++ b/src/init.js @@ -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'; diff --git a/src/ui/components/elements-inspector/sidebar.js b/src/ui/components/elements-inspector/sidebar.js index d6eeb0d5f..0eec86f14 100644 --- a/src/ui/components/elements-inspector/sidebar.js +++ b/src/ui/components/elements-inspector/sidebar.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');