@speckle/shared
Version:
Shared code between various Speckle JS packages
20 lines • 579 B
TypeScript
/**
* Similar to URL, except without the requirement of having a valid origin/baseUrl
*/
export declare class RelativeURL extends URL {
constructor(url: string);
get host(): string;
get hostname(): string;
get href(): string;
get origin(): string;
get password(): string;
get protocol(): string;
get port(): string;
get username(): string;
toJSON(): string;
toString(): string;
static canParse(url: string | URL): boolean;
static parse(url: string | URL): RelativeURL | null;
}
//# sourceMappingURL=url.d.ts.map