When I use your underscore.d.ts file, I get an error at the following line --> declare module "underscore" { // OO-style export function (arg : any) : UnderscoreOOStatic; underscore.d.ts(454,20): error TS1003: Identifier expected. Do you know what could be the workaround ?