knip
Version:
Find and fix unused dependencies, exports and files in your TypeScript and JavaScript projects
11 lines (10 loc) • 439 B
TypeScript
export declare const toExtendedIgnorePattern: (pattern: string) => string;
export declare const expandIgnorePatterns: (patterns: Iterable<string>) => string[];
export declare const convertGitignoreToPicomatchIgnorePatterns: (pattern: string) => {
negated: boolean;
pattern: string;
};
export declare const parseAndConvertGitignorePatterns: (patterns: string, ancestor?: string) => {
negated: boolean;
pattern: string;
}[];