mirror of
https://gitlab.com/KevinRoebert/ClearUrls
synced 2025-12-16 22:25:36 +07:00
Fixed #191
Used first code snippets from ClearURLs v2: https://gitlab.com/ClearURLs/core/-/blob/master/src/utils/URLHashParams.ts
This commit is contained in:
13
core_js/utils/URLHashParams.d.ts
vendored
Normal file
13
core_js/utils/URLHashParams.d.ts
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Models a hash parameter of a given {@link URL}.
|
||||
*/
|
||||
export default class URLHashParams {
|
||||
private _params;
|
||||
constructor(url: URL);
|
||||
append(name: string, value?: string | null): void;
|
||||
delete(name: string): void;
|
||||
get(name: string): string | null;
|
||||
getAll(name: string): Set<string | null>;
|
||||
keys(): IterableIterator<string>;
|
||||
toString(): string;
|
||||
}
|
||||
Reference in New Issue
Block a user