Skip to content

Commit 5a5afa5

Browse files
MatthiasKunnensandersn
authored andcommitted
Document URLSearchParams.toString() (#799)
1 parent 93fe0f1 commit 5a5afa5

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

baselines/dom.generated.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16100,6 +16100,9 @@ interface URLSearchParams {
1610016100
*/
1610116101
set(name: string, value: string): void;
1610216102
sort(): void;
16103+
/**
16104+
* Returns a string containing a query string suitable for use in a URL. Does not include the question mark.
16105+
*/
1610316106
toString(): string;
1610416107
forEach(callbackfn: (value: string, key: string, parent: URLSearchParams) => void, thisArg?: any): void;
1610516108
}

baselines/webworker.generated.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3260,6 +3260,9 @@ interface URLSearchParams {
32603260
*/
32613261
set(name: string, value: string): void;
32623262
sort(): void;
3263+
/**
3264+
* Returns a string containing a query string suitable for use in a URL. Does not include the question mark.
3265+
*/
32633266
toString(): string;
32643267
forEach(callbackfn: (value: string, key: string, parent: URLSearchParams) => void, thisArg?: any): void;
32653268
}

inputfiles/comments.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1840,6 +1840,9 @@
18401840
},
18411841
"set": {
18421842
"comment": "/**\n * Sets the value associated to a given search parameter to the given value. If there were several values, delete the others.\n */"
1843+
},
1844+
"toString": {
1845+
"comment": "/**\n * Returns a string containing a query string suitable for use in a URL. Does not include the question mark.\n */"
18431846
}
18441847
},
18451848
"constructor": "/**\n * Constructor returning a URLSearchParams object.\n */"

0 commit comments

Comments
 (0)