From 1cf47bd2fb38f735f4cefdadeae7b01f443ff7d3 Mon Sep 17 00:00:00 2001 From: Akash Kava <39438041+ackava@users.noreply.github.com> Date: Tue, 17 Dec 2024 18:47:16 +0530 Subject: [PATCH] wip --- umd/src/System.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/umd/src/System.ts b/umd/src/System.ts index 1834808..c6e5fa8 100644 --- a/umd/src/System.ts +++ b/umd/src/System.ts @@ -169,7 +169,10 @@ class System { const set = setters[index++]; - const setP = this.import(iterator).then(set); + const setP = this.import(iterator).then((x) => { + set(x); + return x; + }); if (iterator.isDependentOn(module)) { isCircularDependency = true;