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

1.0.6 • Public • Published

Installation

npm install --save @types/chai-uuid

Summary

This package contains type definitions for chai-uuid (https://github.com/rfrench/chai-uuid).

Details

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

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

declare global {
    namespace Chai {
        type UuidVersion = "v1" | "v2" | "v3" | "v4" | "v5" | "";

        interface Assertion extends LanguageChains, NumericComparison, TypeComparison {
            uuid(uuid?: UuidVersion): void;
            guid(guid?: any): void;
        }

        interface Assert {
            uuid(uuid: string, version?: UuidVersion): void;
            guid(guid: string, version?: any): void;
        }
    }
}

declare const chaiUuid: Chai.ChaiPlugin;
export = chaiUuid;

Additional Details

  • Last updated: Fri, 01 Mar 2024 00:50:47 GMT
  • Dependencies: @types/chai

Credits

These definitions were written by Harm van der Werf.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @types/chai-uuid

    Weekly Downloads

    6,908

    Version

    1.0.6

    License

    MIT

    Unpacked Size

    3.7 kB

    Total Files

    5

    Last publish

    Collaborators

    • types