2020-07-22 19:43:45 +03:00
|
|
|
/**
|
|
|
|
* @flow strict
|
|
|
|
* @format
|
|
|
|
*/
|
|
|
|
|
|
|
|
declare module 'promise/setimmediate/es6-extensions' {
|
2021-01-19 22:52:08 +03:00
|
|
|
declare module.exports: typeof Promise;
|
2020-07-22 19:43:45 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
declare module 'promise/setimmediate/done' {
|
2021-01-19 22:52:08 +03:00
|
|
|
declare module.exports: typeof Promise;
|
2020-07-22 19:43:45 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
declare module 'promise/setimmediate/finally' {
|
2021-01-19 22:52:08 +03:00
|
|
|
declare module.exports: typeof Promise;
|
2020-07-22 19:43:45 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
declare module 'promise/setimmediate/rejection-tracking' {
|
|
|
|
declare module.exports: {
|
|
|
|
enable: (
|
|
|
|
options?: ?{
|
|
|
|
whitelist?: ?Array<mixed>,
|
|
|
|
allRejections?: ?boolean,
|
|
|
|
onUnhandled?: ?(number, mixed) => void,
|
|
|
|
onHandled?: ?(number, mixed) => void,
|
|
|
|
},
|
|
|
|
) => void,
|
|
|
|
disable: () => void,
|
|
|
|
};
|
|
|
|
}
|