Skip to content

Commit eb63a33

Browse files
committed
OffscreenCanvas was already a type.
1 parent 10a4a2b commit eb63a33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/worker-thread/WorkerDOMGlobalScope.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export interface GlobalScope {
110110
// implementation to enable setting readonly properties like currentTarget.
111111
Event: typeof WorkerDOMEvent;
112112
MutationObserver: typeof MutationObserver;
113-
OffscreenCanvas?: typeof OffscreenCanvas;
113+
OffscreenCanvas?: OffscreenCanvas; // Refers to the type defined in lib.webworker.d.ts
114114
ImageBitmap?: typeof ImageBitmap;
115115
requestAnimationFrame: typeof requestAnimationFrame;
116116
cancelAnimationFrame: typeof cancelAnimationFrame;

0 commit comments

Comments
 (0)