UNPKG

t-comm

Version:

专业、稳定、纯粹的工具库

13 lines (12 loc) 268 B
/** * 格式化路径 * @param path 文件路径,或目录路径 * @returns 格式化后的路径 * @example * ```ts * normalizePath('xxx/xxx/xxx'); * * normalizePath('xxx\\xxx\\xxx'); * ``` */ export declare const normalizePath: (path: string) => string;