Sha256: afb75becf7075fc3673a6f1f7b669b5bb909ae67609284ce6548ec44d8038a61
Contents?: true
Size: 443 Bytes
Versions: 26
Compression:
Stored size: 443 Bytes
Contents
/** * Generates the permutation of all possible values that {@link pathMatch} the `path` parameter. * The array is in longest-to-shortest order. Useful when building custom {@link Store} implementations. * * @example * ``` * permutePath('/foo/bar/') * // ['/foo/bar/', '/foo/bar', '/foo', '/'] * ``` * * @param path - the path to generate permutations for * @public */ export declare function permutePath(path: string): string[];
Version data entries
26 entries across 26 versions & 1 rubygems