fluidtrends/savor

View on GitHub
src/types.ts

Summary

Maintainability
A
0 mins
Test Coverage
export interface Context {
    expect: any,
    assert: any,
    stub: any,
    dir: string;
    replace: any,
    replaceGetter: any,
    replaceSetter: any,
    spy: any,
    clock: any
}

export interface Command {
    bin: string;
    args: string[];
}

export type Completion = (error?: TypeError) => void;
export type ResultError = (error: TypeError) => any;
export type Result = (data?: any) => any;