Skip to content

Commit b8f7f94

Browse files
MattiasBuelensjakearchibald
authored andcommitted
Use empty export list instead of unused export (#4)
1 parent b345290 commit b8f7f94

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/dedicated-worker/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
// This fixes `self`'s type.
55
declare var self: DedicatedWorkerGlobalScope;
6-
export type unused = 'unused';
6+
export {};
77

88
const helloMessage = {
99
hello: 'world',

src/service-worker/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
// This fixes `self`'s type.
55
declare var self: ServiceWorkerGlobalScope;
6-
export type unused = 'unused';
6+
export {};
77

88
console.log(self.clients);
99

0 commit comments

Comments
 (0)