Migrate createPaste
Summary: _typescript_ Reviewed By: jknoxville Differential Revision: D16649018 fbshipit-source-id: c30d4ec390946e4b6de49ffeccc452d0a55c1e7a
This commit is contained in:
committed by
Facebook Github Bot
parent
a314d1d930
commit
36a1c0046c
@@ -38,7 +38,7 @@ import {
|
||||
} from './reducers/notifications.tsx';
|
||||
import {selectPlugin} from './reducers/connections.tsx';
|
||||
import {textContent} from './utils/index';
|
||||
import createPaste from './fb-stubs/createPaste';
|
||||
import createPaste from './fb-stubs/createPaste.tsx';
|
||||
|
||||
export default class Notifications extends FlipperDevicePlugin<{}> {
|
||||
static id = 'notifications';
|
||||
|
||||
@@ -18,7 +18,7 @@ import DetailSidebar from './chrome/DetailSidebar';
|
||||
import {FlipperPlugin} from './plugin.tsx';
|
||||
import SearchableTable_immutable from './ui/components/searchable/SearchableTable_immutable';
|
||||
import textContent from './utils/textContent.js';
|
||||
import createPaste from './fb-stubs/createPaste.js';
|
||||
import createPaste from './fb-stubs/createPaste.tsx';
|
||||
|
||||
import {List, Map as ImmutableMap} from 'immutable';
|
||||
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
* @format
|
||||
*/
|
||||
|
||||
export default function createPaste(input: string): Promise<?string> {
|
||||
export default function createPaste(
|
||||
input: string,
|
||||
): Promise<string | undefined> {
|
||||
return Promise.reject('Not implemented!');
|
||||
}
|
||||
@@ -9,7 +9,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.tsx';
|
||||
export {default as createPaste} from './fb-stubs/createPaste.js';
|
||||
export {default as createPaste} from './fb-stubs/createPaste.tsx';
|
||||
export {graphQLQuery} from './fb-stubs/user.js';
|
||||
export {
|
||||
FlipperBasePlugin,
|
||||
@@ -22,7 +22,6 @@ export type {MetricType} from './utils/exportMetrics.js';
|
||||
export {default as Client} from './Client.tsx';
|
||||
export {clipboard} from 'electron';
|
||||
export * from './fb-stubs/constants.js';
|
||||
export * from './fb-stubs/createPaste.js';
|
||||
export {connect} from 'react-redux';
|
||||
export {selectPlugin} from './reducers/connections.tsx';
|
||||
export {getPluginKey, getPersistedState} from './utils/pluginUtils.js';
|
||||
|
||||
@@ -22,7 +22,7 @@ import DetailSidebar from '../chrome/DetailSidebar';
|
||||
import {FlipperPlugin} from '../plugin.tsx';
|
||||
import SearchableTable from '../ui/components/searchable/SearchableTable';
|
||||
import textContent from '../utils/textContent.js';
|
||||
import createPaste from '../fb-stubs/createPaste.js';
|
||||
import createPaste from '../fb-stubs/createPaste.tsx';
|
||||
|
||||
import type {Node} from 'react';
|
||||
import type {
|
||||
|
||||
@@ -11,7 +11,7 @@ import ContextMenu from '../ContextMenu.js';
|
||||
import Tooltip from '../Tooltip.js';
|
||||
import styled from '../../styled/index.js';
|
||||
import DataPreview from './DataPreview.js';
|
||||
import createPaste from '../../../fb-stubs/createPaste.js';
|
||||
import createPaste from '../../../fb-stubs/createPaste.tsx';
|
||||
import {reportInteraction} from '../../../utils/InteractionTracker.js';
|
||||
import {getSortedKeys} from './utils.js';
|
||||
import {colors} from '../colors.js';
|
||||
|
||||
@@ -27,7 +27,7 @@ import TableHead from './TableHead.js';
|
||||
import TableRow from './TableRow.js';
|
||||
import ContextMenu from '../ContextMenu.js';
|
||||
import FlexColumn from '../FlexColumn.js';
|
||||
import createPaste from '../../../fb-stubs/createPaste.js';
|
||||
import createPaste from '../../../fb-stubs/createPaste.tsx';
|
||||
import debounceRender from 'react-debounce-render';
|
||||
import debounce from 'lodash.debounce';
|
||||
import {DEFAULT_ROW_HEIGHT} from './types';
|
||||
|
||||
@@ -27,7 +27,7 @@ import TableHead from './TableHead.js';
|
||||
import TableRow from './TableRow.js';
|
||||
import ContextMenu from '../ContextMenu.js';
|
||||
import FlexColumn from '../FlexColumn.js';
|
||||
import createPaste from '../../../fb-stubs/createPaste.js';
|
||||
import createPaste from '../../../fb-stubs/createPaste.tsx';
|
||||
import debounceRender from 'react-debounce-render';
|
||||
import debounce from 'lodash.debounce';
|
||||
import {DEFAULT_ROW_HEIGHT} from './types';
|
||||
|
||||
Reference in New Issue
Block a user