about summary refs log tree commit diff stats
path: root/src/js/intl.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/intl.nim')
-rw-r--r--src/js/intl.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/js/intl.nim b/src/js/intl.nim
index f37789ad..054e5d04 100644
--- a/src/js/intl.nim
+++ b/src/js/intl.nim
@@ -6,6 +6,8 @@ import js/javascript
 type
   NumberFormat = ref object
 
+jsDestructor(NumberFormat)
+
 #TODO ...yeah
 proc newNumberFormat(name: string = "en-US",
     options = none(JSValue)): NumberFormat {.jsctor.} =