question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not recognizing typescript 2.0.3 ?

See original GitHub issue

I’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:closed
  • Created 7 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
zhengblicommented, Oct 12, 2016

@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.

1reaction
theladyjayecommented, Oct 1, 2016

The User - Settings in that note could use some clarification as there are potentially 2 places:

  1. Preferences > Package Settings > TypeScript > TypeScript Settings - User
  2. Preferences > Settings

It seems the typescript_tsdk needs to be set in Preferences > Package Settings > TypeScript > TypeScript Settings - User.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found