2016-05-04 05:37:13 +08:00
|
|
|
/**
|
|
|
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
|
|
|
*
|
2017-09-25 04:48:13 +08:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2016-05-04 05:37:13 +08:00
|
|
|
*
|
|
|
|
|
* @flow
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/* eslint-disable */
|
|
|
|
|
|
|
|
|
|
declare var __REACT_DEVTOOLS_GLOBAL_HOOK__: any; /*?{
|
|
|
|
|
inject: ?((stuff: Object) => void)
|
2017-10-17 21:20:00 +08:00
|
|
|
};*/
|
2017-11-06 22:14:48 +08:00
|
|
|
|
2017-12-01 01:57:13 +08:00
|
|
|
// ReactFeatureFlags www fork
|
2017-11-06 22:14:48 +08:00
|
|
|
declare module 'ReactFeatureFlags' {
|
|
|
|
|
declare module.exports: any;
|
|
|
|
|
}
|
2017-12-01 01:57:13 +08:00
|
|
|
|
|
|
|
|
// ReactFiberErrorDialog www fork
|
|
|
|
|
declare module 'ReactFiberErrorDialog' {
|
|
|
|
|
declare module.exports: {
|
|
|
|
|
showErrorDialog: (error: mixed) => boolean,
|
|
|
|
|
};
|
|
|
|
|
}
|
2017-12-08 06:28:59 +08:00
|
|
|
|
|
|
|
|
// EventListener www fork
|
|
|
|
|
declare module 'EventListener' {
|
|
|
|
|
declare module.exports: {
|
|
|
|
|
listen: (target: Element, type: string, callback: Function) => mixed,
|
|
|
|
|
capture: (target: Element, type: string, callback: Function) => mixed,
|
|
|
|
|
};
|
|
|
|
|
}
|