Skip to content

Commit 70f4373

Browse files
committed
remove unnecessary Array.from
1 parent bd8d01c commit 70f4373

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/language-server/src/plugins/typescript/module-loader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ export function createSvelteModuleLoader(
371371
});
372372

373373
if (toRemoves.length) {
374-
moduleCache.deleteByValues(Array.from(toRemoves));
374+
moduleCache.deleteByValues(toRemoves);
375375
resolutionWithFailedLookup.forEach((r) => {
376376
if (toRemoves.includes(r)) {
377377
resolutionWithFailedLookup.delete(r);

0 commit comments

Comments
 (0)