UNPKG

markdown-code-example-inserter

Version:
11 lines (10 loc) 391 B
import { ParsedCommandLine } from 'typescript'; export type PackageIndex = { replaceName: string | undefined; indexPath: string; }; export declare function guessPackageIndex(packageDir: string, /** For testing purposes. */ overrideTsConfig?: Partial<ParsedCommandLine>, /** For testing purposes. */ overridePackageJson?: Record<string, string | undefined>): Promise<PackageIndex>;