From 3f99edd466ce2039ccdf9088e6b0d578c920df62 Mon Sep 17 00:00:00 2001 From: Giedrius Grabauskas Date: Wed, 25 Nov 2015 02:49:06 +0200 Subject: [PATCH] Object changed to any. --- flux/flux.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/flux/flux.d.ts b/flux/flux.d.ts index dc476f3bc..c65892321 100644 --- a/flux/flux.d.ts +++ b/flux/flux.d.ts @@ -77,7 +77,7 @@ declare module FluxUtils { * that updates its state when relevant stores change. * The provided base class must have static methods getStores() and calculateState(). */ - static create(base: React.ComponentClass, options?: Object): React.ComponentClass; + static create(base: React.ComponentClass, options?: any): React.ComponentClass; } /** @@ -130,7 +130,7 @@ declare module FluxUtils { * All subclasses must implement this method. * This method should be pure and have no side-effects. */ - reduce(state: T, action: Object): T; + reduce(state: T, action: any): T; /** * Checks if two versions of state are the same. @@ -145,7 +145,7 @@ declare module FluxUtils { /** * Constructs and registers an instance of this store with the given dispatcher. */ - constructor(dispatcher: Flux.Dispatcher); + constructor(dispatcher: Flux.Dispatcher); /** * Adds a listener to the store, when the store changes the given callback will be called. @@ -157,7 +157,7 @@ declare module FluxUtils { /** * Returns the dispatcher this store is registered with. */ - getDispatcher(): Flux.Dispatcher; + getDispatcher(): Flux.Dispatcher; /** * Returns the dispatch token that the dispatcher recognizes this store by. @@ -184,7 +184,7 @@ declare module FluxUtils { * This is how the store receives actions from the dispatcher. * All state mutation logic must be done during this method. */ - __onDispatch(payload: Object): void; + __onDispatch(payload: any): void; } }