makeFsImporter.d.ts 377 B

12345678
  1. import type { Importer } from './index.js';
  2. import type FileState from '../FileState.js';
  3. interface FsImporterCache {
  4. parseCache: Map<string, FileState>;
  5. resolveCache: Map<string, string | null>;
  6. }
  7. export default function makeFsImporter(lookupModule?: (filename: string, basedir: string) => string, { parseCache, resolveCache }?: FsImporterCache): Importer;
  8. export {};