Skip to content

Commit

Permalink
Fix type issue on polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Dec 13, 2024
1 parent a3f8658 commit f17f508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/react/ssr/__tests__/messageChannel-polyfill.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { MessageChannel as MC } from "node:worker_threads";
const messageChannels: MC[] = [];

afterEach(() => {
let mc: MC;
let mc: MC | undefined;
while ((mc = messageChannels.pop())) {
mc.port1.close();
mc.port2.close();
Expand Down

0 comments on commit f17f508

Please sign in to comment.