diff --git a/systemjs/index.d.ts b/systemjs/index.d.ts
index 428e303442..4dc975ced7 100644
--- a/systemjs/index.d.ts
+++ b/systemjs/index.d.ts
@@ -1,4 +1,4 @@
-// Type definitions for SystemJS 0.19.29
+// Type definitions for SystemJS 0.20.5
// Project: https://github.com/systemjs/systemjs
// Definitions by: Ludovic HENIN , Nathan Walker , Giedrius Grabauskas
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -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: new () => System;
+ constructor: new() => System;
/**
* Deletes a module from the registry by normalized name.
@@ -270,6 +270,11 @@ declare namespace SystemJSLoader {
get(moduleName: string): any;
get(moduleName: string): TModule;
+ /**
+ * Returns a clone of the internal SystemJS configuration in use.
+ */
+ getConfig(): Config
+
/**
* Returns whether a given module exists in the registry by normalized module name.
*/
@@ -282,6 +287,12 @@ declare namespace SystemJSLoader {
import(moduleName: string, normalizedParentName?: string): Promise;
import(moduleName: string, normalizedParentName?: string): Promise;
+ /**
+ * Given any object, returns true if the object is either a SystemJS module or native JavaScript module object, and false otherwise.
+ * Useful for interop scenarios.
+ */
+ isModule(object: any): boolean;
+
/**
* Given a plain JavaScript object, return an equivalent Module object.
* Useful when writing a custom instantiate hook or using System.set.
@@ -320,7 +331,6 @@ declare namespace SystemJSLoader {
*/
loads: PackageList;
}
-
}
declare var SystemJS: SystemJSLoader.System;