ESLint error in NextConfig when customizing webpack

When I try to extend webpack in NextConfig, ESLint doesn't like that the config parameter is any type. How can I get around this?
No description
2 Replies
clar1k
clar1k•4mo ago
You can ignore this rule in eslint config Check out eslint docs. "ignores" key and the key of the rule in config
lyricaldevil
lyricaldevilOP•4mo ago
I know it's safe to ignore, I was just wondering if there was a way to safely type the webpack signature instead of just telling eslint to pound sand 😂

Did you find this page helpful?