Skip to content

sunyuhang/underscore.d.ts

 
 

Repository files navigation

underscore.d.ts

This is a typescript definitions file for underscore.js.

This is also hosted on https://github.com/borisyankov/DefinitelyTyped If you found this via DefinitelyTyped use @jbaldwin or open an issue here so I will see the problem, otherwise it might not be noticed ;-)

Change log

v1.5.2 - 2013/09/20

  • Updated to TypeScript v0.9.1.1
  • Added _.indexBy, like _.groupBy but used when keys are known to be unique.
  • Added _.sample, provides a random sample of elements in a collection.

v1.4.4 - 2013/06/28

  • Updated to TypeScript v0.9.
  • Added Generics Support

v1.4.4 - 2013/02/10

  • Added _.findWhere, for finding the first element in a list that matches a particular set of keys and values.
  • Added _.partial, for partially applying a function without changing its dynamic reference to this.

v1.4.3 - 2013/02/10

  • The uniq function can now take array, iterator, context as the argument list.
  • The times function now returns the mapped array of iterator results.

v1.4.2

Initial version

License

See the repository at https://github.com/borisyankov/DefinitelyTyped/blob/master/underscore/underscore.d.ts for licensing information.

About

underscore.js definitions for typescript

Resources

License

Stars

Watchers

Forks

Packages

No packages published