SyntaxFix
Write A Post
Hire A Developer
Questions
I was able to get past this by using the Array keyword instead of empty brackets:
const enhancers: Array<any> = [];
Use:
if (typeof devToolsExtension === 'function') { enhancers.push(devToolsExtension()) }