UNPKG

@lonu/stc

Version:

A tool for converting OpenApi/Swagger/Apifox into code.

20 lines 672 B
import type { GlobOptions } from "../_common/glob_to_reg_exp.js"; export type { GlobOptions }; /** * Like join(), but doesn't collapse "**\/.." when `globstar` is true. * * @example Usage * ```ts * import { joinGlobs } from "@std/path/posix/join-globs"; * import { assertEquals } from "@std/assert"; * * const path = joinGlobs(["foo", "bar", "**"], { globstar: true }); * assertEquals(path, "foo/bar/**"); * ``` * * @param globs The globs to join. * @param options The options to use. * @returns The joined path. */ export declare function joinGlobs(globs: string[], options?: Pick<GlobOptions, "globstar">): string; //# sourceMappingURL=join_globs.d.ts.map