From ffad454e0798bacaef30b79ec80a5ac8b1e2c41e Mon Sep 17 00:00:00 2001 From: Risto Keravuori Date: Fri, 6 Jan 2017 11:42:42 -0800 Subject: [PATCH] Add ReduxInitAction interface to type definitions --- index.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/index.d.ts b/index.d.ts index 88a4c0fa30..8b7c47f050 100644 --- a/index.d.ts +++ b/index.d.ts @@ -17,6 +17,13 @@ export interface Action { type: any; } +/** + * This is the action type that combineReducers() sends to initialize + * reducers. + */ +export interface ReduxInitAction extends Action { + type: "@@redux/INIT"; +} /* reducers */