Files
react/flow.js
2019-04-12 08:55:29 -07:00

21 lines
454 B
JavaScript

// @flow
declare module 'events' {
declare class EventEmitter {
addListener: (type: string, fn: Function) => void;
emit: (type: string, data: any) => void;
removeListener: (type: string, fn: Function) => void;
}
declare export default typeof EventEmitter;
}
declare var __DEV__: boolean;
declare var jasmine: {|
getEnv: () => {|
afterEach: (callback: Function) => void,
beforeEach: (callback: Function) => void,
|},
|};