Skip to content

Commit

Permalink
Fix layering problem
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdima committed Oct 25, 2021
1 parent 3fc735d commit 75d2f6d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
loader([moduleId], function (ws: any) {
setTimeout(() => {

const messageHandler = ws.create((msg: any, transfer?: Transferable[]) => {
const messageHandler = ws.create((msg: any, transfer?: ArrayBuffer[]) => {
parentPort.postMessage(msg, transfer);
}, null);
parentPort.off('message', initialMessageHandler);
Expand Down

0 comments on commit 75d2f6d

Please sign in to comment.