Update flux typings (#9592)

* Make fbemitter a namespace

* Tighten up typing of flux

* Update flux tests

* Address code comments

* Fix RealOptions interface
This commit is contained in:
Thomas Townsend
2016-06-18 19:55:31 +02:00
committed by Masahiro Wakame
parent 40b735e3b1
commit a1c646f26a
3 changed files with 44 additions and 18 deletions

View File

@@ -3,7 +3,7 @@
// Definitions by: kmxz <https://github.com/kmxz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module 'fbemitter' {
declare namespace FBEmitter {
export class EventSubscription {
@@ -64,4 +64,8 @@ declare module 'fbemitter' {
}
}
}
declare module 'fbemitter' {
export = FBEmitter;
}