react-docgen
Version:
A library to extract information from React components for documentation generation.
9 lines (8 loc) • 377 B
TypeScript
import type { Importer } from './index.js';
import type FileState from '../FileState.js';
interface FsImporterCache {
parseCache: Map<string, FileState>;
resolveCache: Map<string, string | null>;
}
export default function makeFsImporter(lookupModule?: (filename: string, basedir: string) => string, { parseCache, resolveCache }?: FsImporterCache): Importer;
export {};