Skip to content

Commit 6f5d2c6

Browse files
author
Duncan Tweed
committed
Updated for v4 redux
1 parent 0e6db59 commit 6f5d2c6

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

index.d.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,12 @@ import { StoreEnhancer } from "redux";
77

88
export interface DevTools {
99
new (): JSX.ElementClass;
10-
instrument(opts?: any): StoreEnhancer<any>;
10+
instrument(opts?: any): StoreEnhancer;
1111
}
1212

1313
export declare function createDevTools(el: React.ReactElement<any>): DevTools;
14-
export declare function persistState(
15-
debugSessionKey: string
16-
): StoreEnhancer<any>;
14+
export declare function persistState(debugSessionKey: string): StoreEnhancer;
1715

18-
declare const factory: { instrument(opts?: any): () => StoreEnhancer<any> };
16+
declare const factory: { instrument(opts?: any): () => StoreEnhancer };
1917

2018
export default factory;

0 commit comments

Comments
 (0)