agneym / playground

A simple playground for HTML, CSS and JavaScript supporting module imports.

Home Page:https://www.agney.dev/blog/introducing-playground

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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)

Used solution from this tweet

This fixes the build but breaks the typescript linting.