mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-13 12:22:02 +08:00
Adding mongoose-mock.d.ts
This commit is contained in:
1 parent
6847664647
commit
49a4ccc0ba
2 files changed
+20
No files matched your search
@@ -0,0 +1,7 @@
|
||||
/// <reference path="../mongoose/mongoose.d.ts" />
|
||||
/// <reference path="mongoose-mock.d.ts" />
|
||||
|
||||
import mongooseMock = require('mongoose-mock');
|
||||
|
||||
// returns a mongoose object
|
||||
mongooseMock.connect('url');
|
||||
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
// Type definitions for multer
|
||||
// Project: https://github.com/expressjs/multer
|
||||
// Definitions by: jt000 <https://github.com/jt000>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../mongoose/mongoose.d.ts" />
|
||||
|
||||
declare module "mongoose-mock" {
|
||||
import mongoose = require('mongoose');
|
||||
|
||||
var mock: mongoose.Mongoose;
|
||||
export = mock;
|
||||
}
|
||||
Reference in new issue
Block a user