Different projects can use different typescript versions, and it can be irritating to have to change Sublime's global config to change typescript_tsdk. Two things could alleviate this:
- Allow specification of
typescript_tsdk in Sublime's project settings.
- Automatically check if
node_modules/typescript/lib exists in a project, and if so, use it.
The second option would quiet almost all of the 'how do I use a different version of typescript?' questions ever asked, as the project's build version would then be used by default in almost all cases.