diff --git a/packages/storybook/src/generators/configuration/project-files-7-ts/.storybook/tsconfig.json__tmpl__ b/packages/storybook/src/generators/configuration/project-files-7-ts/.storybook/tsconfig.json__tmpl__ index dd88917da02c0..57481bc8179fc 100644 --- a/packages/storybook/src/generators/configuration/project-files-7-ts/.storybook/tsconfig.json__tmpl__ +++ b/packages/storybook/src/generators/configuration/project-files-7-ts/.storybook/tsconfig.json__tmpl__ @@ -24,5 +24,5 @@ "../<%= mainDir %>/**/*.stories.tsx", "../<%= mainDir %>/**/*.stories.mdx", "*.ts", - "*.js"<% if(uiFramework === '@storybook/react-native') { %>, *.tsx"<% } %><% } %>] + "*.js"<% if(uiFramework === '@storybook/react-native') { %>, "*.tsx"<% } %><% } %>] } diff --git a/packages/storybook/src/generators/configuration/project-files-ts/.storybook/tsconfig.json__tmpl__ b/packages/storybook/src/generators/configuration/project-files-ts/.storybook/tsconfig.json__tmpl__ index 610d6657a912d..711209c5025f2 100644 --- a/packages/storybook/src/generators/configuration/project-files-ts/.storybook/tsconfig.json__tmpl__ +++ b/packages/storybook/src/generators/configuration/project-files-ts/.storybook/tsconfig.json__tmpl__ @@ -24,5 +24,5 @@ "../<%= mainDir %>/**/*.stories.tsx", "../<%= mainDir %>/**/*.stories.mdx", "*.ts", - "*.js"<% if(uiFramework === '@storybook/react-native') { %>, *.tsx"<% } %><% } %>] + "*.js"<% if(uiFramework === '@storybook/react-native') { %>, "*.tsx"<% } %><% } %>] }