Dwi Siswanto 1fe2ce2532
feat: cache the bin (#8)
* feat: cache the bin

Signed-off-by: Dwi Siswanto <me@dw1.io>

* feat: print error while get cache

Signed-off-by: Dwi Siswanto <me@dw1.io>

---------

Signed-off-by: Dwi Siswanto <me@dw1.io>
2024-03-22 00:19:33 +07:00

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;
}