@wessberg/cjs-to-esm-transformer
Version:
A Custom Transformer for Typescript that transforms Node-style CommonJS to tree-shakeable ES Modules
17 lines • 532 B
TypeScript
import { existsSync, readFileSync, writeFileSync, mkdirSync } from "fs";
import { Loggable } from "./loggable-c6c4135d";
import { TS } from "./type-8c3839f0";
interface FileSystem {
writeFileSync: typeof writeFileSync;
readFileSync: typeof readFileSync;
existsSync: typeof existsSync;
mkdirSync: typeof mkdirSync;
}
interface TaskOptions {
root: string;
logger: Loggable;
fs: FileSystem;
typescript: typeof TS;
}
export { FileSystem, TaskOptions };
//# sourceMappingURL=task-options-702cf0be.d.ts.map