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
}
And for required modules, you'd need to shim require in similar fashion and use var instead of import.