Closed
Description
Is this a bug report?
Yes
Did you try recovering your dependencies?
Yes
Environment
System:
OS: macOS 10.14.2
CPU: x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
Binaries:
Node: 8.12.0 - /usr/local/bin/node
npm: 6.7.0 - ~/.npm-packages/bin/npm
Browsers:
Chrome: 72.0.3626.81
Safari: 12.0.2
npmPackages:
react: ^16.7.0 => 16.7.0
react-dom: ^16.7.0 => 16.7.0
react-scripts: 2.1.3 => 2.1.3
npmGlobalPackages:
create-react-app: 2.0.2
Steps to Reproduce
When I create a new project using npx create-react-app project-geo-semantic-react --typescript
, the generate app in a Javascript App and not a Typescript App.
For example, the package.json doesn't contains typescript dependencies :
"dependencies": {
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-scripts": "2.1.3"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
Expected Behavior
Using --typescript parameters, a configured typescript project is generated.
Actual Behavior
Using --typescript parameters, the generated project is not configured for use typescript.
I need to manually add typescript support on my project.
Metadata
Metadata
Assignees
Labels
No labels