From 4680eaf20adea57e9d356948850476da7a2b34d7 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 16 Aug 2016 13:43:28 -0700 Subject: [PATCH] Add flux/utils/index.d.ts as an entry point --- flux/tsconfig.json | 1 + flux/utils/index.d.ts | 13 +++++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/flux/tsconfig.json b/flux/tsconfig.json index 9148aa5a60..07ef395eab 100644 --- a/flux/tsconfig.json +++ b/flux/tsconfig.json @@ -14,6 +14,7 @@ }, "files": [ "index.d.ts", + "utils/index.d.ts", "flux-tests.ts" ] } \ No newline at end of file diff --git a/flux/utils/index.d.ts b/flux/utils/index.d.ts index c43b1a8417..d69a6f1e55 100644 --- a/flux/utils/index.d.ts +++ b/flux/utils/index.d.ts @@ -3,6 +3,11 @@ // Definitions by: Steve Baker , Giedrius Grabauskas // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +/// +/// +/// +/// + 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(); /**