Bash commands:
typings init
typings install -S bluebird
npm install -S bluebird
tsc
node app.js| "rulers": | |
| [ | |
| 100 | |
| ], |
| <snippet> | |
| <content><![CDATA[ | |
| <%${1:=} ${2:ruby code} %> | |
| ]]></content> | |
| <tabTrigger><%</tabTrigger> | |
| <description>Ruby code in erb</description> | |
| <scope>text.html</scope> | |
| </snippet> |
| <snippet> | |
| <content><![CDATA[ | |
| do | |
| ${1:code} | |
| end | |
| ]]></content> | |
| <!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
| <tabTrigger>do</tabTrigger> | |
| <!-- Optional: Set a scope to limit where the snippet will trigger --> | |
| <scope>source.ruby</scope> |
| <snippet> | |
| <content><![CDATA[ | |
| binding.pry | |
| ]]></content> | |
| <tabTrigger>binding</tabTrigger> | |
| <description>binding.pry</description> | |
| <scope>source.ruby</scope> | |
| </snippet> |
| // Generated by typings | |
| // Source: submodule.d.ts | |
| declare module '~my-main-module/submodule' { | |
| export interface submoduleInterface { | |
| someProp: number | |
| } | |
| } | |
| declare module 'my-main-module/submodule' { | |
| export * from '~my-main-module/submodule'; | |
| } |
| import { Session } from 'express' | |
| let theSession: Session | |
| theSession.user.login |
| test |
Bash commands:
typings init
typings install -S bluebird
npm install -S bluebird
tsc
node app.jsBash commands:
typings init
typings install -S bluebird
npm install -S bluebird
tsc
browserify app.js -o bundle.js| export const FIRST = 1 | |
| export const SECOND = 2 |