Skip to content

Commit

Permalink
fix: type information is included in the storybook.requires.js output…
Browse files Browse the repository at this point in the history
… when the useJs option is used
  • Loading branch information
grgr-dkrk committed Apr 12, 2024
1 parent b4f0b9b commit d9cb32b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-native/scripts/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function generate({ configPath, absolute = false, useJs = false }) {
const { importMap } = prepareStories({ storyEntries: normalizedStories });
global.view._preview.onStoriesChanged({
importFn: async (importPath: string) => importMap[importPath],
importFn: async (importPath) => importMap[importPath],
});
global.view._preview.onGetProjectAnnotationsChanged({
Expand Down

0 comments on commit d9cb32b

Please sign in to comment.