Skip to content

Commit

Permalink
publicize
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy-zhening-luo committed Jan 25, 2025
1 parent ed1138e commit 20f75b8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/lib/object/url.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
export default class Url {
protected readonly scheme: stringfully<"URL: scheme || host">;
protected readonly host: stringfully<"URL: scheme || host">;
protected readonly path: string;
protected readonly query: string;
protected readonly fragment: string;
public readonly scheme: stringfully<"URL: scheme || host">;
public readonly host: stringfully<"URL: scheme || host">;
public readonly path: string;
public readonly query: string;
public readonly fragment: string;

constructor(url: string) {
const parts = Url.parse(url) ?? Url.parse(`https://${url}`);
Expand Down

0 comments on commit 20f75b8

Please sign in to comment.