This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Upgrade typescript version to support new language features #158
Closed
Description
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
I tried to use a typescript feature that resulted in an error. Upon further research I realized its because this package uses typescript 3.1.6 and the feature I want got added in typescript 3.4.
Can we upgrade the version of typescript this package uses?
Steps to Reproduce
- create a file with a typescript const. Something like
const foo = { bar: 'baz', hello: 'world' } as const
- Notice an error pops up saying
Cannot find name "const"
Expected behavior:
No error should occur. This is now a standard feature of typescript.
Actual behavior:
An error is occuring on perfectly valid typescript
Reproduces how often:
100% of the time
Versions
Atom 1.39.1 on macOS
ide-typescript 0.9.1
Metadata
Metadata
Assignees
Labels
No labels