Question about a upgrade TS to version 3.9
See original GitHub issueCan I ask for upgrading the TS version to 3.9?
The current version of morph does not want to work with the new TS.
Argument of type 'import("/home/grzegorz/Pulpit/Projekty/gpp-website3/node_modules/ts-morph/lib/ts-morph").Node<import("/home/grzegorz/Pulpit/Projekty/gpp-website3/node_modules/@ts-morph/common/node_modules/typescript/lib/typescript").Node>' is not assignable to parameter of type 'import("/home/grzegorz/Pulpit/Projekty/gpp-website3/node_modules/ts-morph/lib/ts-morph").Node<import("/home/grzegorz/Pulpit/Projekty/gpp-website3/node_modules/typescript/lib/typescript").Node>
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Documentation - TypeScript 3.9
If you've been stuck on older versions of TypeScript due to issues around Promise s, we encourage you to give 3.9 a shot!...
Read more >How to upgrade Typescript to the latest version?
I have upgraded npm to the latest version, then re-installed typescript and now I have the latest version of typescript installed on my...
Read more >New Features in TypeScript 3.9 - Telerik
TypeScript 3.9 was recently released. Check out the highlights of the new version, which focused on performance, speed and stability.
Read more >How to upgrade typescript to any specific version or latest ...
Following is the command if you want to install and upgrade Typescript version to the latest Typescript version. Open the Node.js Command ...
Read more >TypeScript 4 upgrade · Issue #16101 · microsoft/fluentui - GitHub
Minor update: I looked into whether upgrading to tslib@2 is required to use TS 4.1--it appears the answer is yes, but also it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you very much. This completely solves my problem 😃
Sorry, missed this until now and upgrading wasn’t a priority since there wasn’t much changes in TS 3.9. I did have this done locally on my machine though with the RC version, so I just had to change it to 3.9.2.
Highly recommend using the
ts
export fromts-morph
to ensure both your code and ts-morph are using the same compiler version so you don’t run into trouble 🙂I’ll do a release for this soon.