Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript issues when using "export default withLinaria(nextConfig)" #19

Open
AshConnolly opened this issue Oct 27, 2023 · 0 comments
Open

Comments

@AshConnolly
Copy link

Hi there! 🙂
I'm getting TS issues when using export default withLinaria(nextConfig)
Screenshot 2023-10-27 at 17 25 47

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant