mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
* mocha-steps: update to 1.3 with mocha 6.0 * mocha-steps: both export and declare global
17 lines
616 B
TypeScript
17 lines
616 B
TypeScript
// Type definitions for mocha-steps 1.3
|
|
// Project: https://github.com/rprieto/mocha-steps
|
|
// Definitions by: AryloYeung <https://github.com/Arylo>
|
|
// Piotr Roszatycki <https://github.com/dex4er>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.1
|
|
|
|
/// <reference types="mocha" />
|
|
|
|
export function step(title: string, fn?: Mocha.Func): Mocha.Test;
|
|
export function xstep(title: string, fn?: Mocha.Func): Mocha.Test;
|
|
|
|
declare global {
|
|
function step(title: string, fn?: Mocha.Func): Mocha.Test;
|
|
function xstep(title: string, fn?: Mocha.Func): Mocha.Test;
|
|
}
|