@types/sinon-mongoose
TypeScript icon, indicating that this package has built-in type declarations

1.3.15 • Public • Published

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 .

/@types/sinon-mongoose/

    Package Sidebar

    Install

    npm i @types/sinon-mongoose

    Weekly Downloads

    1,824

    Version

    1.3.15

    License

    MIT

    Unpacked Size

    2.98 kB

    Total Files

    5

    Last publish

    Collaborators

    • types