Issue Overview:
After redux-devtools-extension package moved to @redux-devtools/extension package, I am encountering TypeScript errors in my project. These errors seem to be related to type definitions in the package.
Errors Encountered:
Error in developmentOnly.d.ts:
Error Message: "Generic type 'StoreEnhancer' requires 1 type argument(s)."
Context:
These errors are occurring during the build process of my project and are preventing the successful compilation of the TypeScript code. This issue has a significant impact on my project's functionality.
package.json file
Configuration:
My project's TypeScript configuration (tsconfig.json) includes.
Reproduction Steps:
If necessary, I can provide a minimal code example that triggers these errors.
Environment Information:
Node.js version: v14.20.0
npm : 6.14.17
Angular CLI: 15.2.10 Workarounds Attempted:
I have tried please see below error in the screenshot .
thunkMiddleware File
ProjectStore file
tsconfig.json
I appreciate your help in resolving these TypeScript errors in the @redux-devtools/extension package.
Issue Overview: After redux-devtools-extension package moved to @redux-devtools/extension package, I am encountering TypeScript errors in my project. These errors seem to be related to type definitions in the package.
Errors Encountered:
Error in developmentOnly.d.ts:
export declare const devToolsEnhancer: (options?: EnhancerOptions) => StoreEnhancer;
Error in index.d.ts:
send: (action: Action<string>, state: unknown) => void;
Error in index.d.ts:
(config?: Config): StoreEnhancer;
Error in index.d.ts:
export declare const devToolsEnhancer: (options?: EnhancerOptions) => StoreEnhancer;
Error in logOnly.d.ts:
export declare const devToolsEnhancer: (options?: EnhancerOptions) => StoreEnhancer;
Error in logOnlyInProduction.d.ts:
export declare const devToolsEnhancer: (options?: EnhancerOptions) => StoreEnhancer;
Context: These errors are occurring during the build process of my project and are preventing the successful compilation of the TypeScript code. This issue has a significant impact on my project's functionality.
package.json file
Configuration:
Reproduction Steps: If necessary, I can provide a minimal code example that triggers these errors.
Environment Information:
Workarounds Attempted: I have tried please see below error in the screenshot .
thunkMiddleware File
ProjectStore file
tsconfig.json
I appreciate your help in resolving these TypeScript errors in the @redux-devtools/extension package.