summaryrefslogtreecommitdiff
path: root/ext/url/lib.deno_url.d.ts
diff options
context:
space:
mode:
authorLino Le Van <11367844+lino-levan@users.noreply.github.com>2023-03-14 13:28:33 -0700
committerGitHub <noreply@github.com>2023-03-14 20:28:33 +0000
commiteb990efcce1e5390e4ed76b858c05c6f9b3b6c11 (patch)
tree441a5d2f9430f354fb84a9be84e19e8844781982 /ext/url/lib.deno_url.d.ts
parent1930c09b04bbf2150a601c0fe47c44750d8c2b57 (diff)
feat(ext/url): URLSearchParams.size (#17884)
Diffstat (limited to 'ext/url/lib.deno_url.d.ts')
-rw-r--r--ext/url/lib.deno_url.d.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/url/lib.deno_url.d.ts b/ext/url/lib.deno_url.d.ts
index 329f5bf55..0181c6fb3 100644
--- a/ext/url/lib.deno_url.d.ts
+++ b/ext/url/lib.deno_url.d.ts
@@ -150,6 +150,14 @@ declare class URLSearchParams {
* ```
*/
toString(): string;
+
+ /** Contains the number of search parameters
+ *
+ * ```ts
+ * searchParams.size
+ * ```
+ */
+ size: number;
}
/** The URL interface represents an object providing static methods used for