tslint-to-eslint-config
Version:
Converts your TSLint configuration to the closest reasonable ESLint equivalent.
17 lines (16 loc) • 387 B
TypeScript
export type CreateStubExecSettings = {
stderr: string;
stdout: string;
};
export declare const createStubExec: ({
stderr,
stdout,
}?: {
stderr?: string | undefined;
stdout?: string | undefined;
}) => import("jest-mock").Mock<any, any>;
export declare const createStubThrowingExec: ({
stderr,
}?: {
stderr?: string | undefined;
}) => () => Promise<never>;