@serenity-js/core
Version:
The core Serenity/JS framework, providing the Screenplay Pattern interfaces, as well as the test reporting and integration infrastructure
20 lines • 637 B
TypeScript
import { TinyType } from 'tiny-types';
export declare class Path extends TinyType {
private static readonly Separator;
readonly value: string;
static fromJSON(v: string): Path;
static fromFileURL(fileUrl: URL): Path;
static from(...segments: string[]): Path;
static fromSanitisedString(value: string): Path;
constructor(value: string);
join(another: Path): Path;
split(): string[];
resolve(another: Path): Path;
relative(another: Path): Path;
directory(): Path;
basename(): string;
isAbsolute(): boolean;
root(): Path;
toFileURL(): URL;
}
//# sourceMappingURL=Path.d.ts.map