You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bin/tsc.js
+18-2
Original file line number
Diff line number
Diff line change
@@ -1056,6 +1056,7 @@ var ts;
1056
1056
Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0: { code: 2455, category: 1 /* Error */, key: "Type argument candidate '{1}' is not a valid type argument because it is not a supertype of candidate '{0}'." },
Type_alias_name_cannot_be_0: { code: 2457, category: 1 /* Error */, key: "Type alias name cannot be '{0}'" },
1059
+
An_AMD_module_cannot_have_multiple_name_assignments: { code: 2458, category: 1 /* Error */, key: "An AMD module cannot have multiple name assignments." },
1059
1060
Import_declaration_0_is_using_private_name_1: { code: 4000, category: 1 /* Error */, key: "Import declaration '{0}' is using private name '{1}'." },
1060
1061
Type_parameter_0_of_exported_class_has_or_is_using_name_1_from_private_module_2: { code: 4001, category: 1 /* Error */, key: "Type parameter '{0}' of exported class has or is using name '{1}' from private module '{2}'." },
1061
1062
Type_parameter_0_of_exported_class_has_or_is_using_private_name_1: { code: 4002, category: 1 /* Error */, key: "Type parameter '{0}' of exported class has or is using private name '{1}'." },
@@ -5542,6 +5543,7 @@ var ts;
5542
5543
function processReferenceComments() {
5543
5544
var referencedFiles = [];
5544
5545
var amdDependencies = [];
5546
+
var amdModuleName;
5545
5547
commentRanges = [];
5546
5548
token = scanner.scan();
5547
5549
for (var i = 0; i < commentRanges.length; i++) {
@@ -5560,6 +5562,14 @@ var ts;
5560
5562
}
5561
5563
}
5562
5564
else {
5565
+
var amdModuleNameRegEx = /^\/\/\/\s*<amd-module\s+name\s*=\s*('|")(.+?)\1/gim;
5566
+
var amdModuleNameMatchResult = amdModuleNameRegEx.exec(comment);
Copy file name to clipboardExpand all lines: bin/typescriptServices.js
+18-2
Original file line number
Diff line number
Diff line change
@@ -861,6 +861,7 @@ var ts;
861
861
Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0: { code: 2455, category: 1 /* Error */, key: "Type argument candidate '{1}' is not a valid type argument because it is not a supertype of candidate '{0}'." },
Type_alias_name_cannot_be_0: { code: 2457, category: 1 /* Error */, key: "Type alias name cannot be '{0}'" },
864
+
An_AMD_module_cannot_have_multiple_name_assignments: { code: 2458, category: 1 /* Error */, key: "An AMD module cannot have multiple name assignments." },
864
865
Import_declaration_0_is_using_private_name_1: { code: 4000, category: 1 /* Error */, key: "Import declaration '{0}' is using private name '{1}'." },
865
866
Type_parameter_0_of_exported_class_has_or_is_using_name_1_from_private_module_2: { code: 4001, category: 1 /* Error */, key: "Type parameter '{0}' of exported class has or is using name '{1}' from private module '{2}'." },
866
867
Type_parameter_0_of_exported_class_has_or_is_using_private_name_1: { code: 4002, category: 1 /* Error */, key: "Type parameter '{0}' of exported class has or is using private name '{1}'." },
@@ -5347,6 +5348,7 @@ var ts;
5347
5348
function processReferenceComments() {
5348
5349
var referencedFiles = [];
5349
5350
var amdDependencies = [];
5351
+
var amdModuleName;
5350
5352
commentRanges = [];
5351
5353
token = scanner.scan();
5352
5354
for (var i = 0; i < commentRanges.length; i++) {
@@ -5365,6 +5367,14 @@ var ts;
5365
5367
}
5366
5368
}
5367
5369
else {
5370
+
var amdModuleNameRegEx = /^\/\/\/\s*<amd-module\s+name\s*=\s*('|")(.+?)\1/gim;
5371
+
var amdModuleNameMatchResult = amdModuleNameRegEx.exec(comment);
Copy file name to clipboardExpand all lines: src/compiler/diagnosticInformationMap.generated.ts
+1
Original file line number
Diff line number
Diff line change
@@ -273,6 +273,7 @@ module ts {
273
273
Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0: {code: 2455,category: DiagnosticCategory.Error,key: "Type argument candidate '{1}' is not a valid type argument because it is not a supertype of candidate '{0}'."},
274
274
Type_alias_0_circularly_references_itself: {code: 2456,category: DiagnosticCategory.Error,key: "Type alias '{0}' circularly references itself."},
275
275
Type_alias_name_cannot_be_0: {code: 2457,category: DiagnosticCategory.Error,key: "Type alias name cannot be '{0}'"},
276
+
An_AMD_module_cannot_have_multiple_name_assignments: {code: 2458,category: DiagnosticCategory.Error,key: "An AMD module cannot have multiple name assignments."},
276
277
Import_declaration_0_is_using_private_name_1: {code: 4000,category: DiagnosticCategory.Error,key: "Import declaration '{0}' is using private name '{1}'."},
277
278
Type_parameter_0_of_exported_class_has_or_is_using_name_1_from_private_module_2: {code: 4001,category: DiagnosticCategory.Error,key: "Type parameter '{0}' of exported class has or is using name '{1}' from private module '{2}'."},
278
279
Type_parameter_0_of_exported_class_has_or_is_using_private_name_1: {code: 4002,category: DiagnosticCategory.Error,key: "Type parameter '{0}' of exported class has or is using private name '{1}'."},
0 commit comments