Convert types dispatcher to TS
Summary: Convert file to TS Reviewed By: passy Differential Revision: D16687880 fbshipit-source-id: d3d8712fa4298f8124717ae98239ed63d3282b12
This commit is contained in:
committed by
Facebook Github Bot
parent
cff023150e
commit
8f7c817d56
13
src/dispatcher/types.tsx
Normal file
13
src/dispatcher/types.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Copyright 2018-present Facebook.
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
* @format
|
||||
*/
|
||||
import {Store} from '../reducers/index.js';
|
||||
import {Logger} from '../fb-interfaces/Logger';
|
||||
|
||||
export type Dispatcher = (
|
||||
store: Store,
|
||||
logger: Logger,
|
||||
) => (() => Promise<void>) | null;
|
||||
Reference in New Issue
Block a user