kontan/three.d.ts — pull request #5 by rolyp (2013-10-26 13:53:37+00:00)
Title: Sync to three.js r62 and TypeScript 0.9.1-1

Hi,

I've made a bunch of changes that bumps three.d.ts to r62 of three.js, and v0.9.1-1 of TypeScript. Some of the changes anticipate TypeScript fixes coming downstream from the `develop` branch.

Specific changes:

* `bool` -> `boolean`
* Introduce named types `CurveUtils` and `ShapeUtils extends CurveUtils ` to avoid incompatible static members
* Restore the `add(object: Object3D): void;` signature to `LensFlare`. This seems to be required for overloading to work properly, at least under the `develop` branch of TypeScript.
* Add `void` return type to `setMaterialIndex`
* Trim trailing semicolon from `Math.radToDeg`
* Add `declare` in front of module definition
* Updated readme.

Unfortunately my Emacs settings trim trailing whitespace on save, so there are also some spurious changes relating to that. If it becomes difficult to see the real changes, you could try comparing against the r57 version with trailing whitespace removed. (If it really is a pain I can create the changes again without the trimmed whitespace.)

I suggest compiling this using the 0.9.1-1 release of TypeScript to check everything is ok.

Not sure what you have to do to get the updated version onto DefinitelyTyped.