Hi everyone!
Very much a WIP, but I have written a little tool that generates typings from the custom types API.
I have been using Prismic for a while now, mainly with Gatsby where I can use graphql codegen for type safety. Recently I have been loving using NextJS and the Prismic REST API (@prismico/client), but having to manually type everything can be tedious.
Hopefully it can come in handy for any typescript devs!