Not recognizing typescript 2.0.3 ?
See original GitHub issueI’m trying to get the typescript-sublime-plugin working with typescript 2.0.3.
I’ve upgraded typescript using npm. I next removed and reinstalled the typescript-sublime-plugin package, version 0.1.16. I change the package’s user settings to "typescript_plugin_tsc_version": "2.0.3"
.
Then to test whether it’s really using typescript 2. I add a readonly
modifier to a class member. But the syntax highlighter shows it as an error, and selecting Build With: Typescript
also gives it as an error. So apparently it’s not using typescript 2. Is there some step I’m missing or does typescript-sublime-plugin not work with ts2?
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Not recognizing typescript 2.0.3 ? · Issue #531 - GitHub
I'm trying to get the typescript-sublime-plugin working with typescript 2.0.3. I've upgraded typescript using npm.
Read more >Migrate from "typings" to "@types" with typescript@2.0.3
My Angular application is currently at 4.1.3 with Typescript@2.0.3 . I read that with Typescript greater than 2.0, @types should be used.
Read more >How to set up TypeScript
To do this, run npm install -g typescript . This will install the latest version (currently 4.9). An alternative is to use npx...
Read more >TypeScript Programming with Visual Studio Code
TypeScript in Visual Studio Code. TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. It offers classes, modules, and interfaces ......
Read more >A Complete Guide to Using TypeScript in Node.js - Better Stack
Unlike Deno, Node.js does not support TypeScript natively, so additional work ... option so that the TypeScript compiler also recognizes JavaScript files.
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
@ovitrif @aventurella both places should work. It is just sublime would give higher priority if you set it in
Preferences > Settings
, but as long as you only set it in one place, either one should work.The
User - Settings
in that note could use some clarification as there are potentially 2 places:Preferences > Package Settings > TypeScript > TypeScript Settings - User
Preferences > Settings
It seems the
typescript_tsdk
needs to be set inPreferences > Package Settings > TypeScript > TypeScript Settings - User
.