You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 19, 2026. It is now read-only.
When I run the types generate command, two files are created:
.storyblok/types/123/storyblok-components.d.ts which correctly contains all of the type definitions for my components and imports generic Storyblok types from "../storyblok.d.ts";
.storyblok/types/storyblok.d.ts, which is empty (only contains a comment)
Expected behavior:
.storyblok/types/storyblok.d.ts should contain the generic Storyblok types that are being imported from .storyblok/types/123/storyblok-components.d.ts.
Other information:
I found two problems with the type generation code so far:
The code tries to import a file src/types/storyblok.ts see
Current behavior:
When I run the
types generatecommand, two files are created:.storyblok/types/123/storyblok-components.d.tswhich correctly contains all of the type definitions for my components and imports generic Storyblok types from"../storyblok.d.ts";.storyblok/types/storyblok.d.ts, which is empty (only contains a comment)Expected behavior:
.storyblok/types/storyblok.d.tsshould contain the generic Storyblok types that are being imported from.storyblok/types/123/storyblok-components.d.ts.Other information:
I found two problems with the type generation code so far:
src/types/storyblok.tsseestoryblok-cli/src/commands/types/generate/actions.ts
Line 335 in 4ac34e1
storyblok-cli/package.json
Lines 23 to 25 in ae9d985