From d858b09eb752d90710b40226f7841609fc664300 Mon Sep 17 00:00:00 2001 From: Krisantus Wanandi Date: Sat, 21 Sep 2024 07:53:55 +0700 Subject: [PATCH] fix types (#406) --- .../src/root-config/templates/src/root-config.ejs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/generator-single-spa/src/root-config/templates/src/root-config.ejs b/packages/generator-single-spa/src/root-config/templates/src/root-config.ejs index 885489c..253975d 100644 --- a/packages/generator-single-spa/src/root-config/templates/src/root-config.ejs +++ b/packages/generator-single-spa/src/root-config/templates/src/root-config.ejs @@ -11,8 +11,11 @@ registerApplication({ // registerApplication({ // name: "@<%- orgName %>/navbar", -// app: () => System.import("@<%- orgName %>/navbar"), -// activeWhen: ["/"] +// app: () => +// System.import<% if (typescript) {%><% } %>( +// "@<%- orgName %>/navbar" +// ), +// activeWhen: ["/"], // }); start({