Skip to content
This repository was archived by the owner on Jan 19, 2026. It is now read-only.
This repository was archived by the owner on Jan 19, 2026. It is now read-only.

[v4] types generate produces an empty storyblok.d.ts file #199

@angelikatyborska

Description

@angelikatyborska

Current behavior:

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingp5-urgent[Priority] Highest, Issues that disrupt core functionality and need immediate fixing.

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions