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

Adding // @ts-nocheck to add files referencing theme. This is pretty poor as a solution but one that is forced. #17

Open
agneym opened this issue Mar 14, 2021 · 1 comment

Comments

@agneym
Copy link
Owner

agneym commented Mar 14, 2021

Adding // @ts-nocheck to add files referencing theme. This is pretty poor as a solution but one that is forced.

This is assumed to be developit/microbundle#807

Everything works fine on dev but on build, it throws Property 'theme' does not exist on type 'IProps & { children?: ReactNode; } & DefaultTheme' error

Originally posted by @agneym in #16 (comment)

@agneym
Copy link
Owner Author

agneym commented Mar 16, 2021

Used solution from this tweet

This fixes the build but breaks the typescript linting.

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

No branches or pull requests

1 participant