Skip to content

Commit

Permalink
link reset
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy-zhening-luo committed Jan 25, 2025
1 parent edd204a commit a36d492
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/interface/link/setting.d.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
import type url from "../../lib/object/url";
import type Url from "../../lib/object/url";

export interface LinkSetting {
hosts: {
preserve: readonly ReturnType<typeof url>["host"][];
swap: Endomap<ReturnType<typeof url>["host"]>;
preserve: readonly Url["host"][];
swap: Endomap<Url["host"]>;
};
queries: {
remove: readonly ReturnType<typeof url>["host"][];
remove: readonly Url["host"][];
} & Record<
| "include"
| "exclude",
Record<
ReturnType<typeof url>["host"],
Url["host"],
readonly string[]
>
>;
fragments: {
trim: readonly ReturnType<typeof url>["host"][];
trim: readonly Url["host"][];
};
}

0 comments on commit a36d492

Please sign in to comment.