tslint-to-eslint-config
Version:
Converts your TSLint configuration to the closest reasonable ESLint equivalent.
15 lines (14 loc) • 359 B
TypeScript
export declare const createStubFileSystem: ({
data,
exists,
isDir,
}?: {
data?: {} | undefined;
exists?: boolean | undefined;
isDir?: boolean | undefined;
}) => {
fileExists: () => Promise<boolean>;
directoryExists: () => Promise<boolean>;
readFile: () => Promise<{}>;
writeFile: import("jest-mock").Mock<any, any>;
};