summaryrefslogtreecommitdiff
path: root/ext/broadcast_channel/lib.deno_broadcast_channel.d.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2022-08-17 13:12:24 +1000
committerGitHub <noreply@github.com>2022-08-17 13:12:24 +1000
commita2ab5eee015b1dafc1a18cd2bc5f5c5756123d74 (patch)
tree1efd7d79208fee44cc05c71c18c7d9e6759ed8c3 /ext/broadcast_channel/lib.deno_broadcast_channel.d.ts
parent868c7e38bfc9a09b5cfeae30ea5a2345a6d700d7 (diff)
docs: add category tag for built-in APIs (#15480)
Diffstat (limited to 'ext/broadcast_channel/lib.deno_broadcast_channel.d.ts')
-rw-r--r--ext/broadcast_channel/lib.deno_broadcast_channel.d.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/broadcast_channel/lib.deno_broadcast_channel.d.ts b/ext/broadcast_channel/lib.deno_broadcast_channel.d.ts
index 31df18363..ea415b30a 100644
--- a/ext/broadcast_channel/lib.deno_broadcast_channel.d.ts
+++ b/ext/broadcast_channel/lib.deno_broadcast_channel.d.ts
@@ -5,11 +5,13 @@
/// <reference no-default-lib="true" />
/// <reference lib="esnext" />
+/** @category Broadcast Channel */
interface BroadcastChannelEventMap {
"message": MessageEvent;
"messageerror": MessageEvent;
}
+/** @category Broadcast Channel */
interface BroadcastChannel extends EventTarget {
/**
* Returns the channel name (as passed to the constructor).
@@ -49,6 +51,7 @@ interface BroadcastChannel extends EventTarget {
): void;
}
+/** @category Broadcast Channel */
declare var BroadcastChannel: {
prototype: BroadcastChannel;
new (name: string): BroadcastChannel;