We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f870681 commit e6a39f9Copy full SHA for e6a39f9
packages/create-react-app/createReactApp.js
@@ -457,7 +457,7 @@ function run(
457
}
458
459
// TODO: Remove with next major release.
460
- if (!supportsTemplates && template.includes('typescript')) {
+ if (!supportsTemplates && (template || '').includes('typescript')) {
461
allDependencies.push(
462
'@types/node',
463
'@types/react',
0 commit comments