Skip to content

Commit a059c83

Browse files
committed
chore: fix type issue
1 parent 2c2f4a8 commit a059c83

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

packages/webpack-bundler-runtime/src/getSharedFallbackGetter.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,12 @@ export const getSharedFallbackGetter = ({
4444
`Failed to load fallback entry for shareKey: ${shareKey} and version: ${version}`,
4545
);
4646
}
47-
//@ts-expect-error shareEntry.init expect instance and bundlerRuntime
48-
return shareEntry
49-
.init(instance, bundlerRuntime)
50-
.then(() => shareEntry.get());
47+
return (
48+
shareEntry
49+
//@ts-expect-error shareEntry.init expect instance and bundlerRuntime
50+
.init(instance, bundlerRuntime)
51+
//@ts-expect-error shareEntry.init expect instance and bundlerRuntime
52+
.then(() => shareEntry.get())
53+
);
5154
});
5255
};

0 commit comments

Comments
 (0)