TypeScript/tests/cases/compiler/declareExternalModuleWithExportAssignedFundule.ts

24 lines
386 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
declare module "express" {
export = express;
function express(): express.ExpressServer;
module express {
export interface ExpressServer {
enable(name: string): ExpressServer;
post(path: RegExp, handler: (req: Function) => void ): void;
}
export class ExpressServerRequest {
}
}
}