summaryrefslogtreecommitdiff
path: root/js/custom_event.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/custom_event.ts')
-rw-r--r--js/custom_event.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/custom_event.ts b/js/custom_event.ts
index 713794e28..5f9e413fb 100644
--- a/js/custom_event.ts
+++ b/js/custom_event.ts
@@ -52,6 +52,10 @@ export class CustomEvent extends event.Event implements domTypes.CustomEvent {
customEventAttributes.set(this, { detail });
}
+
+ get [Symbol.toStringTag](): string {
+ return "CustomEvent";
+ }
}
/** Built-in objects providing `get` methods for our