Open peterjuras opened 5 years ago
The redux types require a type argument for the StoreEnhancer type. Therefore the following line of index.d.ts throws an error:
StoreEnhancer
index.d.ts
createEnhancer?: () => StoreEnhancer;
node_modules/reactotron-redux/dist/types/index.d.ts:23:32 - error TS2314: Generic type 'StoreEnhancer' requires 1 type argument(s). 23 createEnhancer?: () => StoreEnhancer; ~~~~~~~~~~~~~ Found 1 error.
Using StoreEnhancer<any> solves the issue.
StoreEnhancer<any>
The redux types require a type argument for the
StoreEnhancer
type. Therefore the following line ofindex.d.ts
throws an error:Using
StoreEnhancer<any>
solves the issue.