mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-29 11:12:23 +08:00
Adding mongoose-mock.d.ts
This commit is contained in:
@@ -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