UNPKG

476 BTypeScriptView Raw
1import { MinimalFS } from './cached-process-file';
2export interface File {
3 content: string;
4 mtime?: Date;
5}
6export interface MinimalFSSetup {
7 files: {
8 [absolutePath: string]: File;
9 };
10 trimWS?: boolean;
11}
12export declare function createMinimalFS({ files, trimWS }: MinimalFSSetup): {
13 fs: MinimalFS;
14 requireModule: (id: string) => any;
15 resolvePath: (_ctx: string, path: string) => string;
16};
17//# sourceMappingURL=memory-minimal-fs.d.ts.map
\No newline at end of file