Simplified TypeScript steps#5533
Conversation
|
bit confused about step 2. is tsconfig.json optional (or ??) also mention, an easy way to create tsconfig.json is |
|
got an error trying out |
|
It was not released yet, you need to run these steps to try this now: #5541 (comment) |
|
:-) sorry for commenting too early. It worked great. I missed |
|
@brunolemos Thanks a lot for your work on TS support :) I'm having a hard time figuring out how to make relative paths work. I'm referring to what is usually solved in CRA by using the NODE_PATH env variable. I have tried using the paths key in tsconfig but had no luck. It seems that apart from adding that key to the config I need to modify webpack config which is not available without ejecting, something I would really rather not do if at all possible. Thanks again :) Scratch that, paths in tsconfig work just fine. Sorry about the noise. Buuuuut, I can't for the life of me figure out how to make those paths work with jest. |
We don't need to tell users to rename multiple files at this step, only one.
And it's not needed to add
{}to tsconfig anymore since #5532.