mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 05:20:25 +00:00
add __moduleName to SystemJS typedefs
This commit is contained in:
Vendored
+5
-3
@@ -12,7 +12,7 @@ declare namespace SystemJSLoader {
|
||||
|
||||
/**
|
||||
* The following module formats are supported:
|
||||
*
|
||||
*
|
||||
* - esm: ECMAScript Module (previously referred to as es6)
|
||||
* - cjs: CommonJS
|
||||
* - amd: Asynchronous Module Definition
|
||||
@@ -101,7 +101,7 @@ declare namespace SystemJSLoader {
|
||||
* Use this option to disable this iteration and copying of the exports.
|
||||
*/
|
||||
esmExports?: boolean;
|
||||
|
||||
|
||||
/**
|
||||
* To ignore resources that shouldn't be traced as part of the build.
|
||||
* Use with the SystemJS Builder. (https://github.com/systemjs/builder#ignore-resources)
|
||||
@@ -218,7 +218,7 @@ declare namespace SystemJSLoader {
|
||||
* Sets the module name of the transpiler to be used for loading ES6 modules.
|
||||
*/
|
||||
transpiler?: Transpiler;
|
||||
|
||||
|
||||
trace?: boolean;
|
||||
|
||||
/**
|
||||
@@ -325,6 +325,8 @@ declare namespace SystemJSLoader {
|
||||
|
||||
declare var SystemJS: SystemJSLoader.System;
|
||||
|
||||
declare var __moduleName: string;
|
||||
|
||||
/**
|
||||
* @deprecated use SystemJS https://github.com/systemjs/systemjs/releases/tag/0.19.10
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user