###.d.ts
Add header needed to a valid DT definition:
// Type definitions for TypeScript-Services// Project: https://www.npmjs.org/package/typescript-services// Definitions by: Basarat Ali Syed <http://github.com/basarat>// Definitions: https://github.com/borisyankov/DefinitelyTyped
Cleanup the following lines from .d.ts as these should come from node.d.ts.
declare var require: any;declare var module: any;
declare module process { var argv: string[]; var platform: string; function on(event: string, handler: (arg: any) => void): void; module stdout { function write(str: string): any; function on(event: string, action: () => void): void; } module stderr