Skip to content

Commit 2b087ef

Browse files
rootroot
authored andcommitted
fix error TS2749: 'MessagePort' refers to a value, but is being used as a type here. Did you mean 'typeof MessagePort'?
1 parent 0bdc3fd commit 2b087ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"module": "NodeNext",
55
"esModuleInterop": true,
66
"target": "ES2022",
7-
"lib": ["ES2022"],
7+
"lib": ["ES2022", "dom"],
88
"strict": true,
99
"noImplicitAny": true,
1010
"noImplicitThis": true,

0 commit comments

Comments
 (0)