mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-10 18:04:18 -05:00
Fixed minor difference in string literal emit for AMD modules
This commit is contained in:
@@ -29,6 +29,6 @@ var n: number;
|
||||
//// [consumer.js]
|
||||
"use strict";
|
||||
// Ambient external module members are always exported with or without export keyword when module lacks export assignment
|
||||
var imp3 = require("equ2");
|
||||
var imp3 = require('equ2');
|
||||
var n = imp3.x;
|
||||
var n;
|
||||
|
||||
@@ -20,7 +20,7 @@ var c = new A();
|
||||
|
||||
//// [ambientExternalModuleWithInternalImportDeclaration_0.js]
|
||||
//// [ambientExternalModuleWithInternalImportDeclaration_1.js]
|
||||
define(["require", "exports", "M"], function (require, exports, A) {
|
||||
define(["require", "exports", 'M'], function (require, exports, A) {
|
||||
"use strict";
|
||||
var c = new A();
|
||||
});
|
||||
|
||||
@@ -19,7 +19,7 @@ var c = new A();
|
||||
|
||||
//// [ambientExternalModuleWithoutInternalImportDeclaration_0.js]
|
||||
//// [ambientExternalModuleWithoutInternalImportDeclaration_1.js]
|
||||
define(["require", "exports", "M"], function (require, exports, A) {
|
||||
define(["require", "exports", 'M'], function (require, exports, A) {
|
||||
"use strict";
|
||||
var c = new A();
|
||||
});
|
||||
|
||||
@@ -10,7 +10,7 @@ export {n2}
|
||||
export {n2 as n3}
|
||||
|
||||
//// [systemModule10.js]
|
||||
System.register(["file1", "file2"], function (exports_1, context_1) {
|
||||
System.register(['file1', 'file2'], function (exports_1, context_1) {
|
||||
"use strict";
|
||||
var __moduleName = context_1 && context_1.id;
|
||||
var file1_1, n2;
|
||||
|
||||
@@ -10,7 +10,7 @@ export {n2}
|
||||
export {n2 as n3}
|
||||
|
||||
//// [systemModule10_ES5.js]
|
||||
System.register(["file1", "file2"], function (exports_1, context_1) {
|
||||
System.register(['file1', 'file2'], function (exports_1, context_1) {
|
||||
"use strict";
|
||||
var __moduleName = context_1 && context_1.id;
|
||||
var file1_1, n2;
|
||||
|
||||
Reference in New Issue
Block a user