1.4.2 • Published 6 months ago

@types/alcides v1.4.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/alcides

Summary

This package contains type definitions for alcides (https://github.com/asaidimu/alcides).

Details

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

index.d.ts

// Type definitions for alcides 1.4
// Project: https://github.com/asaidimu/alcides
// Definitions by: saidimu <https://github.com/asaidimu>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0

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

interface SuiteFunction {
    (description: string, cb: () => void): void;
}

interface TestFunction {
    (description: string, cb: (state: any) => void): void;
}

interface SetUpHook {
    (cb: () => any): void;
}

interface TearDownHook {
    (cb: (state: any) => void): void;
}

declare var assert: Chai.AssertStatic;
declare var suite: SuiteFunction;
declare var test: TestFunction;
declare var setUp: SetUpHook;
declare var tearDown: TearDownHook;

Additional Details

  • Last updated: Sat, 12 Feb 2022 11:01:24 GMT
  • Dependencies: @types/chai
  • Global values: assert, setUp, suite, tearDown, test

Credits

These definitions were written by saidimu.