We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac858e7 commit ace2d5fCopy full SHA for ace2d5f
packages/plugin-assets-retry/src/runtime/asyncChunkRetry.ts
@@ -324,12 +324,12 @@ function ensureChunk(chunkId: string): Promise<unknown> {
324
325
function loadScript() {
326
// biome-ignore lint/style/noArguments: allowed
327
- const args = Array.prototype.slice.call(arguments);
+ const args = Array.prototype.slice.call(arguments) as Parameters<LoadScript>;
328
const retry = globalCurrRetrying[args[3]];
329
if (retry) {
330
args[0] = retry.nextRetryUrl;
331
}
332
- return originalLoadScript.apply(null, args as Parameters<LoadScript>);
+ return originalLoadScript.apply(null, args);
333
334
335
function registerAsyncChunkRetry() {
0 commit comments