I’m trying to migrate the existent
mars-theme to typescript as a starting point for a new theme and I noticed there is no way to know the types of the
state.frontity fields. Should I define them manually in my theme’s types or should they be defined somewhere else?
EDIT: Also, I noticed that
tiny-router is importing
@frontity/router types, but that package is declared as a dev dependency, so when you do
npm i inside a Frontity project, those packages are not installed and you will have TypeScript complaining.