From 87e103e2be05df75a01e506441be62f0711b09a0 Mon Sep 17 00:00:00 2001
From: Duncan Tweed <duncan@stackchat.com>
Date: Thu, 10 May 2018 14:52:07 +1000
Subject: [PATCH 1/3] added typings from the definetly typed project and
 included instrument options

---
 index.d.ts | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 index.d.ts

diff --git a/index.d.ts b/index.d.ts
new file mode 100644
index 00000000..c589f5fb
--- /dev/null
+++ b/index.d.ts
@@ -0,0 +1,19 @@
+// Type definitions for redux-devtools 3.4.1
+// TypeScript Version: 2.8.1
+
+import * as React from "react";
+import { StoreEnhancer } from "redux";
+
+export interface DevTools {
+  new (): JSX.ElementClass;
+  instrument(opts?: any): StoreEnhancer<any>;
+}
+
+export declare function createDevTools(el: React.ReactElement<any>): DevTools;
+export declare function persistState(
+  debugSessionKey: string
+): StoreEnhancer<any>;
+
+declare const factory: { instrument(opts?: any): () => StoreEnhancer<any> };
+
+export default factory;

From 0e6db5935a9dfd09d11f744cec387e62c91de0a2 Mon Sep 17 00:00:00 2001
From: Duncan Tweed <duncan@stackchat.com>
Date: Thu, 10 May 2018 14:56:15 +1000
Subject: [PATCH 2/3] Include redux version

---
 index.d.ts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/index.d.ts b/index.d.ts
index c589f5fb..1b4d079e 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -1,3 +1,4 @@
+// Redux version 4.0.0
 // Type definitions for redux-devtools 3.4.1
 // TypeScript Version: 2.8.1
 

From 6f5d2c64174700436a20b013d60e6582ae7fc5d4 Mon Sep 17 00:00:00 2001
From: Duncan Tweed <duncan@stackchat.com>
Date: Thu, 10 May 2018 15:00:44 +1000
Subject: [PATCH 3/3] Updated for v4 redux

---
 index.d.ts | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/index.d.ts b/index.d.ts
index 1b4d079e..26611ccb 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -7,14 +7,12 @@ import { StoreEnhancer } from "redux";
 
 export interface DevTools {
   new (): JSX.ElementClass;
-  instrument(opts?: any): StoreEnhancer<any>;
+  instrument(opts?: any): StoreEnhancer;
 }
 
 export declare function createDevTools(el: React.ReactElement<any>): DevTools;
-export declare function persistState(
-  debugSessionKey: string
-): StoreEnhancer<any>;
+export declare function persistState(debugSessionKey: string): StoreEnhancer;
 
-declare const factory: { instrument(opts?: any): () => StoreEnhancer<any> };
+declare const factory: { instrument(opts?: any): () => StoreEnhancer };
 
 export default factory;