-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Current behavior:
When generating type definitions using the CLI's generate-typescript-typedefs command, the generated file contains a faulty import. The import is always set to:
import type { ISbStoryData } from "storyblok";
This "storyblok" package does not exist by installing storyblok via npm i @storyblok/js, however.
Expected behavior:
The import should instead use the correct import: import type { ISbStoryData } from "storyblok-js-client"; or be updated to use types form @storyblok/js
Steps to reproduce:
Install current CLI via npm
Generate typescript type definitions from any JSON specification
Check generated type file for imports
Other information:
The import is currently set in this typescript util file.
alvarosabu and aryaemami59
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working