about summary refs log tree commit diff stats
path: root/src/types/url.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/types/url.nim')
-rw-r--r--src/types/url.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/types/url.nim b/src/types/url.nim
index 968e642c..3eb6889c 100644
--- a/src/types/url.nim
+++ b/src/types/url.nim
@@ -60,6 +60,9 @@ type
     domain: Option[string]
   ]]
 
+jsDestructor(URL)
+jsDestructor(URLSearchParams)
+
 const EmptyPath = UrlPath(opaque: true, s: "")
 const EmptyHost = Host(domain: "").some