UNPKG

typescript-closure-tools

Version:

Command-line tools to convert closure-style JSDoc annotations to typescript, and to convert typescript sources to closure externs files

11 lines (7 loc) 212 B
/// <reference path="./pathwatcher.d.ts" /> import pathwatcher = require("pathwatcher"); var File = pathwatcher.File; var filePath: string; var file = new File(filePath); pathwatcher.watch(filePath, ()=>{ });