Skip to content

Commit

Permalink
Add type cast
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasBuelens committed Feb 5, 2019
1 parent 6476d36 commit b859164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rollup/index.ts
Expand Up @@ -360,7 +360,7 @@ function createOutput(outputBundle: Record<string, OutputChunk | OutputAsset>):
const fileTypeB = getSortingFileType(outputFileB);
if (fileTypeA === fileTypeB) return 0;
return fileTypeA < fileTypeB ? -1 : 1;
})
}) as [OutputChunk, ...(OutputChunk | OutputAsset)[]]
};
}

Expand Down

0 comments on commit b859164

Please sign in to comment.