UNPKG

@netlify/content-engine

Version:
18 lines 538 B
/** * Joins all given path segments and converts * @param paths A sequence of path segments */ export declare function joinPath(...paths: Array<string>): string; /** * Checks if the file name matches a node path * @param fileName File name */ export declare const isNodeInternalModulePath: (fileName: string) => boolean; /** * Convert Windows backslash paths to slash paths: foo\\bar ➔ foo/bar * * @param path * @return slashed path */ export declare function slash(path: string): string; //# sourceMappingURL=path.d.ts.map