From content strategy to code, JoyConf brings the Storyblok community together - Register Now!

How can I utilize TypeScript in my Storyblok project?

Storyblok's Universal JavaScript Client, the JavaScript SDK, as well as Storyblok's framework-specific SDKs, offer full TypeScript support. This results in a significantly improved developer experience, offering auto-completion, static typing, warnings, and more.

It is recommended that you use the Storyblok CLI (opens in a new window) to generate types based on the component schemas defined in your Storyblok space. For reference, see the CLI documentation (opens in a new window).