-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get started with TypeScript and CRA2 #5992
Comments
|
npx is probably caching an older version of Create React App. There's a similar issue (with a solution) here: #5939 (comment) |
I guess the issue was that I had installed it globally (long time ago). Using temporary versions with |
Adding --typescript didn't create a typescript project, neither added the typescript module. Adding typescript myself created the tsconfig file but then didn't compile with an error similar to this: microsoft/TypeScript#16772
What's the right approach to use TS with CRA2? Exciting to see TS and NodeSass natively supported!
The text was updated successfully, but these errors were encountered: