Skip to content
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.

Upgrading typescript version (question) #361

Closed
lidermanrony opened this issue Jul 12, 2018 · 2 comments
Closed

Upgrading typescript version (question) #361

lidermanrony opened this issue Jul 12, 2018 · 2 comments

Comments

@lidermanrony
Copy link

lidermanrony commented Jul 12, 2018

How can i update the typescript version?
I have a dependency library (mobx) whose d.ts file uses a 2.7-only feature (unique symbol).
This causes my project to not compile.

@elektronik2k5
Copy link

You should have no trouble doing that. Personally I'm on an old version of react-scripts-ts@2.8, but with the latest typescript@2.9.2.
Furthermore, the latest react-scripts-ts actually declares typescript@2.7.1 as devDependency and typescript@2 as peerDependency.

"typescript": "^2.7.1"
},
"peerDependencies": {
"typescript": "2.x"

@ndglover
Copy link

Do I need to eject to do this upgrade? I don't see any reference to typescript version in my app.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants