From 8bdaf9418da10a6fe35ca94e5a6bde558c62f77c Mon Sep 17 00:00:00 2001 From: jupl Date: Sun, 23 Oct 2016 19:06:15 -0500 Subject: [PATCH] Export action interfaces Exporting the actions helps with casting/signatures when crafting reducers. --- redux-actions/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redux-actions/index.d.ts b/redux-actions/index.d.ts index de7cb4f026..a770c3006b 100644 --- a/redux-actions/index.d.ts +++ b/redux-actions/index.d.ts @@ -12,13 +12,13 @@ declare namespace ReduxActions { type: string } - interface Action extends BaseAction { + export interface Action extends BaseAction { payload?: Payload error?: boolean meta?: any } - interface ActionMeta extends Action { + export interface ActionMeta extends Action { meta: Meta }