npm.io
1.3.15 • Published 2 years ago

@types/sinon-mongoose

Licence
MIT
Version
1.3.15
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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 1536 GMT
  • Dependencies: @types/sinon

Credits

These definitions were written by .