diff --git a/update/src/update.ts b/update/src/update.ts index d79f9906..acafb7c6 100644 --- a/update/src/update.ts +++ b/update/src/update.ts @@ -313,7 +313,7 @@ async function updateFile(sourceFile: tsmorph.SourceFile): Promise { if (!hasRuntimeImport && newImports.runtime.size > 0) { sourceFile.addImportDeclaration({ moduleSpecifier: "fresh/runtime", - namedImports: Array.from(newImports.core), + namedImports: Array.from(newImports.runtime), }); } if (newImports.compat.size > 0) {