From 9486a91587a318b29bd3d6c2659cb89485e81a22 Mon Sep 17 00:00:00 2001 From: Jake Lazaroff Date: Mon, 28 Aug 2017 15:06:23 -0400 Subject: [PATCH] [redux-optimistic-ui] Use literal action type names --- types/redux-optimistic-ui/index.d.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/types/redux-optimistic-ui/index.d.ts b/types/redux-optimistic-ui/index.d.ts index 0471712c6a..1ec37f24d6 100644 --- a/types/redux-optimistic-ui/index.d.ts +++ b/types/redux-optimistic-ui/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/mattkrick/redux-optimistic-ui // Definitions by: Alexey Svetliakov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 /// @@ -66,13 +67,13 @@ declare module "redux-optimistic-ui" { /** * Start optimistic action */ - export const BEGIN: string; + export const BEGIN = '@@optimist/BEGIN'; /** * Finish optimistic action and commit results */ - export const COMMIT: string; + export const COMMIT = '@@optimist/COMMIT'; /** * Revert optimistic action */ - export const REVERT: string; + export const REVERT = '@@optimist/REVERT'; }