Merge pull request #13346 from unional/unional-systemjs

Unional systemjs
This commit is contained in:
Andy
2016-12-15 06:02:19 -08:00
committed by GitHub
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -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.
+2
View File
@@ -35,3 +35,5 @@ System.import('./app.js').then(function (m) {
System.import('lodash').then(function (_) {
console.log(_);
});
const clonedSystemJS = new System.constructor();