@baseplate-dev/sync
Version:
Library for syncing Baseplate descriptions
18 lines • 657 B
TypeScript
/**
* The canonical path is the output relative path to a file that can be used as both an import
* or file destination. It is of the form '@/src/path/file.ts'.
*/
export declare function isCanonicalPath(path: string): boolean;
/**
* Normalizes a path to a output path.
* @param path The path to normalize
* @returns The normalized path
*/
export declare function normalizePathToOutputPath(path: string): string;
/**
* Converts a output relative path to a canonical path.
* @param path The path to convert
* @returns The canonical path
*/
export declare function toCanonicalPath(path: string): string;
//# sourceMappingURL=canonical-path.d.ts.map