import-conductor
Version:
Automatically organize your Typescript import statements
20 lines (19 loc) • 469 B
TypeScript
export interface ImportCategories {
[key: string]: Map<string, string>;
}
export interface Config {
verbose: boolean;
dryRun: boolean;
staged: boolean;
autoAdd: boolean;
autoMerge: boolean;
source: string[];
separator: string;
ignore: string[];
userLibPrefixes: string[];
thirdPartyDependencies?: Set<string>;
groupOrder: string[];
}
export declare type CliConfig = Omit<Config, 'autoAdd'> & {
noAutoAdd: boolean;
};