Installation
npm install --save @types/sinon-mongoose
Summary
This package contains type definitions for sinon-mongoose (https://github.com/underscopeio/sinon-mongoose).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sinon-mongoose.
index.d.ts
import * as s from "sinon";
declare module "sinon" {
export interface SinonStub {
/**
* When called, the stub will create a new stub to represent a mongoose chained function.
*/
chain(name: string): SinonStub;
}
}
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: @types/sinon
Credits
These definitions were written by .