News for hackers. Stuff that matters.
Re:Announcing TypeScript 1.8 Beta by Arnavion on Thursday January 28, 2016 @08:57PM (#10993000)
I would put `declare` in front of that to avoid generating an unused variable.

And for required modules, you'd need to shim require in similar fashion and use var instead of import.

    declare function require(module: string): any;
    var somelib = require("somelib");
Re:Announcing TypeScript 1.8 Beta by WorldMaker on Friday January 29, 2016 @11:15AM (#10996027)
Or you can use import and the simple pattern of:

    declare module "somelib" {
        var somelib: any
        export = somelib
    }