goober comes with types included, making developing with TypeScript easy.
If you're utilising custom props and wish to style based on them, you can do so when initialising as follows:
If you're using a custom theme with goober, to add types to it you should create a declaration file at the base of your project.
You should now have autocompletion for your theme.
If utilising Preact, add the following into a declaration file at the root of your project to enable typing: