mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-02-24 11:10:18 +08:00
16 lines
341 B
TypeScript
16 lines
341 B
TypeScript
|
/**
|
||
|
* Helper class for parsing paths into segments
|
||
|
*/
|
||
|
export declare class Path {
|
||
|
segments: string[];
|
||
|
/**
|
||
|
* Constructs a Path
|
||
|
* @param itemPath Path or array of segments
|
||
|
*/
|
||
|
constructor(itemPath: string | string[]);
|
||
|
/**
|
||
|
* Converts the path to it's string representation
|
||
|
*/
|
||
|
toString(): string;
|
||
|
}
|