borisyankov/DefinitelyTyped — pull request #50 by jbaldwin (2012-11-05 06:00:19+00:00)
Title: Updates to pass Tests/underscore-tests.ts

Fixed bugs by using Tests/underscore-tests.ts

Note, there are still a few type errors with the test file directly, these are issues with typescript compiler as far as I can tell. Adding correct type annotations to the test file results in the compiler type checking correctly. Can see jbaldwin/underscore.d.ts/test.ts to see the modified lines.

### Detailed updates for underscore-types-1.4.ts:

* Removed header comments (unnecessary)
* Removed all Object function signatures, typescript does not coerce down
* to Object from a custom class implementation. Just using any moving forward.
* Fixed issues chaining on OOP wrappers.
* Fixed issue with lastIndexOf(), the isSorted? bool was incorrect, changed to from? number.
* Added isEmpty() typing for arrays.
* Added clone() typing for arrays.

### Updates to README
* Fixed 404 error on links in README