Adding generic arguments, to make it compatible with 0.9.1.1. Also Changed lines 45 to 52 as they override EventEmitter from node, so also added emit function parameters.
Adding generic arguments, to make it compatible with 0.9.1.1. Also Changed lines 45 to 52 as they override EventEmitter from node, so also added emit function parameters.
Making mongo easily exportable for typescript.
Create mongoose-tests.ts
Merge pull request #1 from basarat/patch-1

Create mongoose-tests.ts
Making the Mongoose module importable.
Making the Mongoose module importable.
Merge remote-tracking branch 'origin/master'
Making the Mongoose module importable.
fix EventEmitter signatures for latest DefinitelyTyped node.d.ts
make signatures compatible with --noImplicitAny
improve supported exception types
add missing Document properties and methods
fix return type when constructing a new document
add missing Model properties and methods
enhance tests based on current documentation
reformat, minor restructure
add missing methods
use 'interface' for things that shouldn't be constructed by hand
convert Connection to an interface so EventEmitter's methods don't need to be listed