typedoc
Version:
Create api documentation for TypeScript projects.
17 lines (16 loc) • 570 B
TypeScript
import { Minimatch } from "minimatch";
/**
* Convert array of glob patterns to array of minimatch instances.
*
* Handle a few Windows-Unix path gotchas.
*/
export declare function createMinimatch(patterns: string[]): Minimatch[];
export declare function matchesAny(patterns: readonly Minimatch[], path: string): boolean;
export declare function nicePath(absPath: string): string;
/**
* Normalize the given path.
*
* @param path The path that should be normalized.
* @returns The normalized path.
*/
export declare function normalizePath(path: string): string;