Skip to content

Commit 2bbe082

Browse files
clydindgp1130
authored andcommitted
refactor(@schematics/angular): update vendored TypeScript to 3.8
1 parent d966906 commit 2bbe082

File tree

3 files changed

+20572
-15819
lines changed

3 files changed

+20572
-15819
lines changed

packages/schematics/angular/migrations/update-9/update-server-main-file.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export function updateServerMainFile(): Rule {
8080
// Add missing exports
8181
if (platformServerExports.length) {
8282
const { exportClause } = platformServerExports[0] as ts.ExportDeclaration;
83-
if (!exportClause) {
83+
if (!exportClause || ts.isNamespaceExport(exportClause)) {
8484
continue;
8585
}
8686

0 commit comments

Comments
 (0)