Skip to content

mizchi/underscore.d.ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

underscore.d.ts

underscore.d.ts is instance definition of underscore on typescript.

HOW TO USE

Client

///<reference path='underscore.d.ts'/>
declare var _ :underscore;

Node

///<reference path='node.d.ts'/>
///<reference path='underscore.d.ts'/>
var _ : underscore = require('./underscore-min')

EXAMPLE

_.each([1,2,3], (i:number) => {
  console.log(i);
});

var arr = _.map([1,2,3], i => i)
var sum = _.reduce([1,2,3], (a,b) => { return a + b }, 0)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published