A nightly build from the master branch is published nightly to NPM and NuGet. Here is how you can get it and use it with your tools.
npm install -g typescript@nextNote: You'll need to configure your project to use the NuGet packages. Please see Configuring MSBuild projects to use NuGet for more information.
The nightlies are available on https://www.myget.org/gallery/typescript-preview
There are two packages:
Microsoft.TypeScript.Compiler: Tools only (tsc.exe,lib.d.ts, etc.) .Microsoft.TypeScript.MSBuild: Tools as above, as well as MSBuild tasks and targets (Microsoft.TypeScript.targets,Microsoft.TypeScript.Default.props, etc.)
-
Install the npm package
npm install typescript@next, to your localnode_modulesfolder. -
Update,
.vscode/settings.jsonwith the following:"typescript.tsdk": "<path to your folder>/node_modules/typescript/lib"
-
Install the npm package
npm install typescript@next, to a localnode_modulesfolder, then -
Update the
Settings - Userfile with the following:"typescript_tsdk": "<path to your folder>/node_modules/typescript/lib"
More information is available at: https://github.com/Microsoft/TypeScript-Sublime-Plugin#installation
Note: Most changes do not require you to install a new version of the VS TypeScript plugin in.
The nightly build currently does not include the full plugin setup, but we are working on publishing an installer on a nightly basis as well.
-
First, install the npm package with
npm install typescript@nextto a localnode_modulesfolder, then -
Download the VSDevMode.ps1 script.
Also see our wiki page on using a custom language service file.
-
From a poweshell command window, run:
-
VS 2015:
VSDevMode.ps1 14 -tsScript <path to your folder>/node_modules/typescript/lib
-
VS 2013:
VSDevMode.ps1 12 -tsScript <path to your folder>/node_modules/typescript/lib
-