File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -39,10 +39,6 @@ type PreloadedState<S> = Required<S> extends {
39
39
: never
40
40
: { [ K in keyof S ] : S [ K ] extends string | number | boolean | symbol ? S [ K ] : PreloadedState < S [ K ] > } ;
41
41
42
- type StoreEnhancer < Ext = Record < string , unknown > , StateExt = never > = (
43
- next : StoreEnhancerStoreCreator < Ext , StateExt > ,
44
- ) => StoreEnhancerStoreCreator < Ext , StateExt > ;
45
-
46
42
type StoreEnhancerStoreCreator < Ext = Record < string , unknown > , StateExt = never > = <
47
43
S = any ,
48
44
A extends Action = AnyAction
@@ -84,7 +80,8 @@ const defaultOptions: SentryEnhancerOptions = {
84
80
*
85
81
* @param enhancerOptions Options to pass to the enhancer
86
82
*/
87
- function createReduxEnhancer ( enhancerOptions ?: Partial < SentryEnhancerOptions > ) : StoreEnhancer {
83
+ function createReduxEnhancer ( enhancerOptions ?: Partial < SentryEnhancerOptions > ) : any {
84
+ // Note: We return an any type as to not have type conflicts.
88
85
const options = {
89
86
...defaultOptions ,
90
87
...enhancerOptions ,
You can’t perform that action at this time.
0 commit comments