-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
781 changed files
with
1,388 additions
and
3,303 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
...eferences/ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,20 @@ | ||
//// [ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.ts] | ||
import { _ as _class_call_check } from "@swc/helpers/_/_class_call_check"; | ||
var clodule1 = function clodule1() { | ||
"use strict"; | ||
_class_call_check(this, clodule1); | ||
}; | ||
clodule1 || (clodule1 = {}); | ||
var clodule2 = function clodule2() { | ||
"use strict"; | ||
_class_call_check(this, clodule2); | ||
}; | ||
clodule2 || (clodule2 = {}); | ||
var clodule3 = function clodule3() { | ||
"use strict"; | ||
_class_call_check(this, clodule3); | ||
}; | ||
(clodule3 || (clodule3 = {})).y = { | ||
id: T | ||
}; | ||
var clodule4 = function clodule4() { | ||
"use strict"; | ||
_class_call_check(this, clodule4); | ||
}; | ||
clodule4 || (clodule4 = {}); |
1 change: 0 additions & 1 deletion
1
...ithModulesExportedGenericFunctionAndGenericClassStaticFunctionOfTheSameName.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...ModulesExportedGenericFunctionAndNonGenericClassStaticFunctionOfTheSameName.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...AndModuleThatMergeWithModulesExportedStaticFunctionUsingClassPrivateStatics.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
...ences/ClassAndModuleThatMergeWithStaticVariableAndExportedVarThatShareAName.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
...es/ClassAndModuleThatMergeWithStaticVariableAndNonExportedVarThatShareAName.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 6 additions & 8 deletions
14
crates/swc/tests/tsc-references/ClassAndModuleWithSameNameAndCommonRootES6.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
crates/swc/tests/tsc-references/ES5For-ofTypeCheck10.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
crates/swc/tests/tsc-references/ES5SymbolProperty6.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 2 additions & 5 deletions
7
crates/swc/tests/tsc-references/EnumAndModuleWithSameNameAndCommonRoot.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
//// [EnumAndModuleWithSameNameAndCommonRoot.ts] | ||
var enumdule; | ||
var enumdule, enumdule1; | ||
import { _ as _class_call_check } from "@swc/helpers/_/_class_call_check"; | ||
!function(enumdule) { | ||
enumdule[enumdule.Red = 0] = "Red", enumdule[enumdule.Blue = 1] = "Blue"; | ||
}(enumdule || (enumdule = {})), (enumdule || (enumdule = {})).Point = function Point(x, y) { | ||
"use strict"; | ||
(enumdule1 = enumdule || (enumdule = {}))[enumdule1.Red = 0] = "Red", enumdule1[enumdule1.Blue = 1] = "Blue", (enumdule || (enumdule = {})).Point = function Point(x, y) { | ||
_class_call_check(this, Point), this.x = x, this.y = y; | ||
}, enumdule.Red, new enumdule.Point(0, 0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 9 additions & 11 deletions
20
...ssibleTypesInTypeParameterConstraintsClassHeritageListMemberTypeAnnotations.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
//// [ExportInterfaceWithAccessibleTypesInTypeParameterConstraintsClassHeritageListMemberTypeAnnotations.ts] | ||
var A; | ||
!function(A) { | ||
A.Origin = { | ||
x: 0, | ||
y: 0 | ||
}, A.Origin3d = { | ||
x: 0, | ||
y: 0, | ||
z: 0 | ||
}; | ||
}(A || (A = {})); | ||
var A, A1; | ||
(A1 = A || (A = {})).Origin = { | ||
x: 0, | ||
y: 0 | ||
}, A1.Origin3d = { | ||
x: 0, | ||
y: 0, | ||
z: 0 | ||
}; |
20 changes: 9 additions & 11 deletions
20
...tsc-references/ExportInterfaceWithInaccessibleTypeInTypeParameterConstraint.2.minified.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
//// [ExportInterfaceWithInaccessibleTypeInTypeParameterConstraint.ts] | ||
var A; | ||
!function(A) { | ||
A.Origin = { | ||
x: 0, | ||
y: 0 | ||
}, A.Origin3d = { | ||
x: 0, | ||
y: 0, | ||
z: 0 | ||
}; | ||
}(A || (A = {})); | ||
var A, A1; | ||
(A1 = A || (A = {})).Origin = { | ||
x: 0, | ||
y: 0 | ||
}, A1.Origin3d = { | ||
x: 0, | ||
y: 0, | ||
z: 0 | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.