1 | import { MinimalFS } from './cached-process-file';
|
2 | export interface File {
|
3 | content: string;
|
4 | mtime?: Date;
|
5 | }
|
6 | export interface MinimalFSSetup {
|
7 | files: {
|
8 | [absolutePath: string]: File;
|
9 | };
|
10 | trimWS?: boolean;
|
11 | }
|
12 | export 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 |