question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Official TypeScript support

See original GitHub issue

Is there any interest in officially supporting TypeScript in create-react-app? I think having to fork the repo to add support is a bit unfortunate.

Creating a react-scripts only fork is nice, however there’s still a bunch of lightly modified upstream code.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:12
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Timercommented, Oct 30, 2018

TypeScript is now officially supported as of Create React App 2.1. Read the release notes to get started!

1reaction
andriijascommented, Nov 7, 2017

Make a PR to react-app-rewire-typescript to add ts-jest or write your own react-app-rewire plugin, its easy.

imo typescript doesnt belong in CRA.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeScript: JavaScript With Syntax For Types.
TypeScript extends JavaScript by adding types to the language. TypeScript speeds up your development experience by catching errors and providing fixes ...
Read more >
The starting point for learning TypeScript
Find TypeScript starter projects: from Angular to React or Node.js and CLIs.
Read more >
How to set up TypeScript
For project types which don't support Nuget, you can use the TypeScript Visual Studio extension. You can install the extension using Extensions >...
Read more >
TypeScript Community Resources
Chat with other TypeScript users in the TypeScript Community Chat. GitHub. Found a bug, or want to give us constructive feedback? Tell us...
Read more >
Documentation - TypeScript 3.9
Visual Studio Code supports selecting different versions of TypeScript. ... TypeScript 3.9 adds support to editing scenarios for this configuration.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found