-
-
Notifications
You must be signed in to change notification settings - Fork 453
Closed
Description
Expected fragmentIdentifier:'' will remove fragment identifier since its type is string | undefined, but it didn't.
Expected Behavior
const url = queryString.stringifyUrl({
url: window.location.toString(),
query: { referrer: "share" },
fragmentIdentifier: "",
});How native URL behaves
const url = new URL("https://foo.bar/#top");
url.hash = "";
url.toString(); // -> https://foo.bar/Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels