From ed11abd71a0d06fd37a65ee9d0908e5106b06347 Mon Sep 17 00:00:00 2001 From: Giedrius Grabauskas Date: Tue, 24 Nov 2015 14:19:08 +0200 Subject: [PATCH] Removed immutable Immutable changed to any and added TODO. --- flux/flux.d.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/flux/flux.d.ts b/flux/flux.d.ts index 5b6079d50b..dc476f3bc6 100644 --- a/flux/flux.d.ts +++ b/flux/flux.d.ts @@ -3,7 +3,6 @@ // Definitions by: Steve Baker , Giedrius Grabauskas // Definitions: https://github.com/borisyankov/DefinitelyTyped -/// /// declare module Flux { @@ -84,8 +83,8 @@ declare module FluxUtils { /** * This class extends ReduceStore and defines the state as an immutable map. */ - export class MapStore extends ReduceStore> { - + // TODO: Change to > + export class MapStore extends ReduceStore { /** * Access the value at the given key. * Throws an error if the key does not exist in the cache. @@ -108,7 +107,9 @@ declare module FluxUtils { * it allows providing a previous result to update instead of generating a new map. * Providing a previous result allows the possibility of keeping the same reference if the keys did not change. */ - getAll(keys: Immutable.IndexedIterable, prev?: Immutable.Map): Immutable.Map; + // TODO: Update with Immutable interface. + // getAll(keys: Immutable.IndexedIterable, prev?: Immutable.Map): Immutable.Map; + getAll(keys: any, prev?: any): any; } export class ReduceStore extends Store {