Migrate dispatcher index to tsx
Summary: As per the title Reviewed By: jknoxville, passy Differential Revision: D16690303 fbshipit-source-id: fa78ea1e3f288249676d5a6423e5d0f0a6e427a4
This commit is contained in:
committed by
Facebook Github Bot
parent
86642816fb
commit
c43beb53d1
@@ -5,19 +5,19 @@
|
||||
* @format
|
||||
*/
|
||||
|
||||
import androidDevice from './androidDevice.tsx';
|
||||
import androidDevice from './androidDevice';
|
||||
import iOSDevice from './iOSDevice';
|
||||
import desktopDevice from './desktopDevice.tsx';
|
||||
import application from './application.tsx';
|
||||
import tracking from './tracking.tsx';
|
||||
import server from './server.tsx';
|
||||
import desktopDevice from './desktopDevice';
|
||||
import application from './application';
|
||||
import tracking from './tracking';
|
||||
import server from './server';
|
||||
import notifications from './notifications';
|
||||
import plugins from './plugins';
|
||||
import user from './user.tsx';
|
||||
import user from './user';
|
||||
|
||||
import type {Logger} from '../fb-interfaces/Logger.js';
|
||||
import type {Store} from '../reducers/index.tsx';
|
||||
import type {Dispatcher} from './types.tsx';
|
||||
import {Logger} from '../fb-interfaces/Logger.js';
|
||||
import {Store} from '../reducers/index';
|
||||
import {Dispatcher} from './types';
|
||||
|
||||
export default function(store: Store, logger: Logger): () => Promise<void> {
|
||||
const dispatchers: Array<Dispatcher> = [
|
||||
@@ -10,4 +10,4 @@ import {Logger} from '../fb-interfaces/Logger';
|
||||
export type Dispatcher = (
|
||||
store: Store,
|
||||
logger: Logger,
|
||||
) => (() => Promise<void>) | null;
|
||||
) => (() => Promise<void>) | null | void;
|
||||
|
||||
Reference in New Issue
Block a user