Live templates are stored in the following location:
Windows: <your home directory>\.<product name><version number>\config\templates
.
Linux: ~/.<product name><version number>/config/templates
.
OS X: ~/Library/Preferences/<product name><version number>/templates
.
clone this repository and then copy TypeScript.xml
in to the templates directory.
or if you have OSX with WebStorm 10 installed and you trust in me, run the following shell script:
$ bash -c "$(curl -fsSL raw.github.com/rauluranga/typescript-livetemplates/master/bin/macosx-install.sh)"
arrow function.
console.log
call
create new class.
sorrund with (alt + cmd + t) console.log
do while loop.
for in loop.
getter block.
getter and setter blocks.
IF block.
IF ELSE block.
lazy getter.
class method.
module definition.
module and class definition.
class property declaration.
class reference.
reverse for loop.
setter block.
ternary operator.