We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a02478c commit 9fb238eCopy full SHA for 9fb238e
src/fake_message_channel.ts
@@ -32,7 +32,7 @@ class FakeMessagePort {
32
}
33
34
35
-export class FakeMessageChannel {
+class FakeMessageChannel {
36
port1: FakeMessagePort;
37
port2: FakeMessagePort;
38
constructor() {
@@ -41,4 +41,8 @@ export class FakeMessageChannel {
41
this.port1._otherPort = this.port2;
42
this.port2._otherPort = this.port1;
43
44
-}
+};
45
+
46
+let FakeMessageChannel1 = FakeMessageChannel as unknown as typeof MessageChannel;
47
48
+export { FakeMessageChannel1 as FakeMessageChannel};
0 commit comments