Skip to content

Commit

Permalink
Update packages/kit/src/utils/fork.js
Browse files Browse the repository at this point in the history
Co-authored-by: Rich Harris <hello@rich-harris.dev>
  • Loading branch information
fernandolguevara and Rich-Harris authored May 13, 2023
1 parent fdd8c99 commit 333e7ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kit/src/utils/fork.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function forked(module, callback) {

worker.on(
'message',
/** @param {any} data */ async (data) => {
/** @param {any} data */ (data) => {
if (data?.type === 'ready' && data.module === module) {
worker.postMessage({
type: 'args',
Expand Down

0 comments on commit 333e7ed

Please sign in to comment.