Hi there! 🙂
I'm getting TS issues when using export default withLinaria(nextConfig)

It only occurs when I change from export default nextConfig to export default withLinaria(nextConfig)
The error doesn't occur using a different config wrapper like export default WithNextMDX(nextConfig)
So I believe this is an issue with next-linaria.
Repo - https://github.com/AshConnolly/linaria-bug
codesandbox of repo - https://codesandbox.io/p/github/AshConnolly/linaria-bug/master
Any ideas on how to solve this?