Adding `// @ts-nocheck` to add files referencing `theme`. This is pretty poor as a solution but one that is forced.
agneym opened this issue · comments
Agney Menon commented
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)
Agney Menon commented
Used solution from this tweet
This fixes the build but breaks the typescript linting.