mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-29 01:45:49 +08:00
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:
committed by
Masahiro Wakame
parent
40b735e3b1
commit
a1c646f26a
8
fbemitter/fbemitter.d.ts
vendored
8
fbemitter/fbemitter.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user