From 600289d25ede9f0b010af9e2567801db4580e07e Mon Sep 17 00:00:00 2001 From: Shi Yan Date: Sat, 15 Jul 2017 22:08:16 +0800 Subject: [PATCH] Fix the definition of 'AnyAction' --- index.d.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/index.d.ts b/index.d.ts index ced1559263..386c2cc0bb 100644 --- a/index.d.ts +++ b/index.d.ts @@ -23,10 +23,7 @@ export interface Action { * This is not part of `Action` itself to prevent users who are extending `Action. * @private */ -export interface AnyAction extends Action { - // Allows any extra properties to be defined in an action. - [extraProps: string]: any; -} +type AnyAction = any; /* reducers */