@anycli/config
Version:
base config object and standard interfaces for anycli components
15 lines (14 loc) • 521 B
TypeScript
export interface TSConfig {
compilerOptions: {
rootDirs?: string[];
outDir?: string;
target?: string;
};
}
/**
* convert a path from the compiled ./lib files to the ./src typescript source
* this is for developing typescript plugins/CLIs
* if there is a tsconfig and the original sources exist, it attempts to require ts-
*/
export declare function tsPath(root: string, orig: string): string;
export declare function tsPath(root: string, orig: string | undefined): string | undefined;