mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Added Global SystemJS, @deprecated System, added plugin-* and boolean to type Transpiler
This commit is contained in:
Vendored
+6
-2
@@ -27,8 +27,7 @@ declare namespace SystemJSLoader {
|
||||
* Represents a module name for System.import that must resolve to either Traceur, Babel or TypeScript.
|
||||
* When set to traceur, babel or typescript, loading will be automatically configured as far as possible.
|
||||
*/
|
||||
type Transpiler = "traceur" | "babel" | "typescript";
|
||||
|
||||
type Transpiler = "plugin-traceur" | "plugin-babel" | "plugin-typescript" | "traceur" | "babel" | "typescript" | boolean;
|
||||
|
||||
type ConfigMap = PackageList<string>;
|
||||
|
||||
@@ -318,6 +317,11 @@ declare namespace SystemJSLoader {
|
||||
|
||||
}
|
||||
|
||||
declare var SystemJS: SystemJSLoader.System;
|
||||
|
||||
/**
|
||||
* @deprecated use SystemJS https://github.com/systemjs/systemjs/releases/tag/0.19.10
|
||||
*/
|
||||
declare var System: SystemJSLoader.System;
|
||||
|
||||
declare module "systemjs" {
|
||||
|
||||
Reference in New Issue
Block a user