tslint-to-eslint-config
Version:
Converts your TSLint configuration to the closest reasonable ESLint equivalent.
8 lines (7 loc) • 354 B
TypeScript
/// <reference types="node" />
export type FileSystem = {
fileExists: (filePath: string) => Promise<boolean>;
directoryExists: (filePath: string) => Promise<boolean>;
readFile: (filePath: string) => Promise<NodeJS.ErrnoException | string>;
writeFile: (filePath: string, contents: string) => Promise<NodeJS.ErrnoException | undefined>;
};