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

1.0.4 • Public • Published

Installation

npm install --save @types/chai-roughly

Summary

This package contains type definitions for chai-roughly (https://github.com/Turbo87/chai-roughly#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai-roughly.

index.d.ts

/// <reference types="chai" />

declare global {
    namespace Chai {
        // For BDD APIs
        interface Roughly extends Assertion {
            (tolerance?: number): Assertion;
        }

        interface Assertion extends LanguageChains, NumericComparison, TypeComparison {
            roughly: Roughly;
        }

        // For Assert APIs
        interface Assert {
            roughly: Roughly;
        }
    }
}

declare const chaiRoughly: Chai.ChaiPlugin;
declare namespace chaiRoughly {}
export = chaiRoughly;

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: @types/chai

Credits

These definitions were written by Tomasz Nguyen.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/chai-roughly

Weekly Downloads

908

Version

1.0.4

License

MIT

Unpacked Size

3.69 kB

Total Files

5

Last publish

Collaborators

  • types