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

17 lines (11 loc) 270 B
/// <reference path="./mixto.d.ts" /> import Mixin = require("mixto"); interface ISampleStatic extends Mixto.IMixinStatic { new ():ISample; } interface ISample { test():string; } declare var Sample: ISampleStatic; Sample.includeInto(Function); Sample.extend({});