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

0.0.32 • Public • Published

Installation

npm install --save @types/gently

Summary

This package contains type definitions for gently (https://www.npmjs.org/package/gently).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gently.

index.d.ts

// Imported from: https://github.com/soywiz/typescript-node-definitions/gently.d.ts

export = Gently;

declare class Gently {
    constructor();
    hijacked: any[];

    expect(obj: any, method: string, stubFn?: (...args: any[]) => any): (...args: any[]) => any;
    expect(obj: any, method: string, count: number, stubFn: (...args: any[]) => any): (...args: any[]) => any;

    restore(obj: any, method: string): void;

    hijack(realRequire: (id: string) => any): (id: string) => any;

    stub(location: string, exportsName?: string): any;

    verify(msg?: string): void;
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by bonnici.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/gently

Weekly Downloads

17

Version

0.0.32

License

MIT

Unpacked Size

3.66 kB

Total Files

5

Last publish

Collaborators

  • types