πππ After a couple of weeks of soft launch, weβre very excited to announce that you can now generate the Typescript type definitions for your Storyblok components directly from the Storyblok CLI with the new generate-typescript-typedefs
command!
Users can provide multiple source files, as well as a customized parser for Custom Field Plugins.
Easiest way to get it up & running?
Your types are just two commands away! π₯
You may find more information on how to use it in the Storyblok CLI Readme file.
The generate-typescript-typedefs
command is available in the latest version of the Storyblok CLI, so make sure you bump your deps!
This new feature of the CLI was inspired by the work of dohomi and his storyblok-generate-ts library. We want to thank him for his efforts in making Storyblok a better place! π