Add flux/utils/index.d.ts as an entry point

This commit is contained in:
Mohamed Hegazy
2016-08-16 13:43:28 -07:00
parent 8ba335294f
commit 4680eaf20a
2 changed files with 10 additions and 4 deletions

View File

@@ -14,6 +14,7 @@
},
"files": [
"index.d.ts",
"utils/index.d.ts",
"flux-tests.ts"
]
}

13
flux/utils/index.d.ts vendored
View File

@@ -3,6 +3,11 @@
// Definitions by: Steve Baker <https://github.com/stkb/>, Giedrius Grabauskas <https://github.com/GiedriusGrabauskas/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="react" />
/// <reference types="flux" />
/// <reference types="fbemitter" />
/// <reference types="immutable" />
import * as React from 'react';
import * as Flux from 'flux';
import * as fbEmitter from 'fbemitter';
@@ -13,24 +18,24 @@ export = FluxUtils;
declare namespace FluxUtils {
/**
* Default options to create a Container with
*
*
* @interface RealOptions
*/
interface RealOptions {
/**
* Default value: true
*
*
* @type {boolean}
*/
pure?: boolean;
/**
* Default value: false
*
*
* @type {boolean}
*/
withProps?: boolean;
}
export class Container {
constructor();
/**