Skip to content

Commit 3f57f01

Browse files
author
Kanchalai Tanglertsampan
committed
Update baselines
1 parent a8db366 commit 3f57f01

File tree

316 files changed

+431
-99
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

316 files changed

+431
-99
lines changed

tests/baselines/reference/ExportAssignment7.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ var C = (function () {
1212
return C;
1313
}());
1414
module.exports = B;
15+
exports.__esModule = true;

tests/baselines/reference/ExportAssignment8.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ var C = (function () {
1212
return C;
1313
}());
1414
module.exports = B;
15+
exports.__esModule = true;

tests/baselines/reference/aliasUsedAsNameValue.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export var a = function () {
2020

2121
//// [aliasUsedAsNameValue_0.js]
2222
"use strict";
23+
exports.__esModule = true;
2324
//// [aliasUsedAsNameValue_1.js]
2425
"use strict";
2526
function b(a) { return null; }

tests/baselines/reference/classMemberInitializerWithLamdaScoping4.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export class Test1 {
1717

1818
//// [classMemberInitializerWithLamdaScoping3_0.js]
1919
"use strict";
20+
exports.__esModule = true;
2021
//// [classMemberInitializerWithLamdaScoping3_1.js]
2122
"use strict";
2223
var Test1 = (function () {

tests/baselines/reference/commentsBeforeVariableStatement1.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ export var b: number;
66
//// [commentsBeforeVariableStatement1.js]
77
define(["require", "exports"], function (require, exports) {
88
"use strict";
9+
exports.__esModule = true;
910
});

tests/baselines/reference/declFileAccessors.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ var c1 = (function () {
185185
return c1;
186186
}());
187187
exports.c1 = c1;
188+
Object.defineProperty(exports, "__esModule", { value: true });
188189
//// [declFileAccessors_1.js]
189190
/** This is comment for c2 - the global class*/
190191
var c2 = (function () {

tests/baselines/reference/declFileAliasUseBeforeDeclaration.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ var Foo = (function () {
1616
return Foo;
1717
}());
1818
exports.Foo = Foo;
19+
exports.__esModule = true;
1920
//// [declFileAliasUseBeforeDeclaration_test.js]
2021
"use strict";
2122
function bar(a) { }
2223
exports.bar = bar;
24+
exports.__esModule = true;
2325

2426

2527
//// [declFileAliasUseBeforeDeclaration_foo.d.ts]

tests/baselines/reference/declFileAmbientExternalModuleWithSingleExportedModule.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export var x: SubModule.m.m3.c;
2121
//// [declFileAmbientExternalModuleWithSingleExportedModule_0.js]
2222
//// [declFileAmbientExternalModuleWithSingleExportedModule_1.js]
2323
"use strict";
24+
exports.__esModule = true;
2425

2526

2627
//// [declFileAmbientExternalModuleWithSingleExportedModule_0.d.ts]

tests/baselines/reference/declFileClassWithStaticMethodReturningConstructor.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ var Enhancement = (function () {
1717
return Enhancement;
1818
}());
1919
exports.Enhancement = Enhancement;
20+
exports.__esModule = true;
2021

2122

2223
//// [declFileClassWithStaticMethodReturningConstructor.d.ts]

tests/baselines/reference/declFileConstructors.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ var ConstructorWithParameterInitializer = (function () {
162162
return ConstructorWithParameterInitializer;
163163
}());
164164
exports.ConstructorWithParameterInitializer = ConstructorWithParameterInitializer;
165+
Object.defineProperty(exports, "__esModule", { value: true });
165166
//// [declFileConstructors_1.js]
166167
var GlobalSimpleConstructor = (function () {
167168
/** This comment should appear for foo*/

0 commit comments

Comments
 (0)