Kea-TypeGen 1.0: Auto Import
Marius Andra
Kea Core Team, Software Engineer at PostHogFinally, files generated with kea-typegen will automatically import any types they can, and add the rest as type arguments
for kea<logicType<LocalType, LocalUser>>
You just need to add types to your actions
and reducers
.
Read the updated TypeScript guide to learn more.