Install the tss tool.
git clone https://github.com/clausreinke/typescript-tools.git
cd typescript-tools
git checkout testing_ts1.4
npm install -gInstall vim plugin (my fork has a tiny tweak that made it work for me).
Bundle "icholy/typescript-tools.git"
au BufRead,BufNewFile *.ts setlocal filetype=typescriptCreate a tsconfig.json in the root of your project:
Note: (Every single one of your files needs to be listed in the files array).
{
"compilerOptions": {
"target": "es5",
"noImplicitAny": false,
},
"files": [
"Script.ts"
]
}Start tss in vim
:TSSstartDefinitelyTyped:
I'm using the new version of tsd and I include the generated tsd.d.ts file in the files array.