Skip to content

Commit

Permalink
Update redux-devtools-extension_v2.x.x.js (#1687)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xcaff authored and gantoine committed Dec 31, 2017
1 parent 07ebad4 commit e1af063
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ declare function $npm$ReduxDevtoolsExtension$composeWithDevTools<A, B, C, D, E,
ab: A => B
): A => H;

declare function $npm$ReduxDevtoolsExtension$devToolsEnhancer<S, A>(options: $npm$ReduxDevtoolsExtension$DevToolsOptions): StoreEnhancer<S, A>;
declare function $npm$ReduxDevtoolsExtension$devToolsEnhancer<S, A>(options?: $npm$ReduxDevtoolsExtension$DevToolsOptions): StoreEnhancer<S, A>;

declare module 'redux-devtools-extension' {
declare export type DevToolsOptions = $npm$ReduxDevtoolsExtension$DevToolsOptions;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,5 @@ const options2: OptionsLogProd = {
*/
type SelfFn<A> = A => A;

// $ExpectError
enhancer();
(enhancer(options1): SelfFn<*>);
(enhancer(options1): SelfFn<*>);

0 comments on commit e1af063

Please sign in to comment.