From 98cf7d1bc83b74af71be53e4638622dc80650502 Mon Sep 17 00:00:00 2001 From: Homa Wong Date: Wed, 14 Dec 2016 10:13:36 -0800 Subject: [PATCH 1/2] Update systemjs-tests.ts --- systemjs/systemjs-tests.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/systemjs/systemjs-tests.ts b/systemjs/systemjs-tests.ts index 0f158d2af4..3c2f8ebadc 100644 --- a/systemjs/systemjs-tests.ts +++ b/systemjs/systemjs-tests.ts @@ -35,3 +35,5 @@ System.import('./app.js').then(function (m) { System.import('lodash').then(function (_) { console.log(_); }); + +const clonedSystemJS = new System.constructor(); From 1f010dd164a5fa3527e6a9453b776a5e41a888e3 Mon Sep 17 00:00:00 2001 From: Homa Wong Date: Wed, 14 Dec 2016 10:14:28 -0800 Subject: [PATCH 2/2] Update index.d.ts --- systemjs/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemjs/index.d.ts b/systemjs/index.d.ts index 80fcfd7240..77c0d96e3b 100644 --- a/systemjs/index.d.ts +++ b/systemjs/index.d.ts @@ -257,7 +257,7 @@ declare namespace SystemJSLoader { /** * This represents the System base class, which can be extended or reinstantiated to create a custom System instance. */ - constructor(): System; + constructor: new () => System; /** * Deletes a module from the registry by normalized name.