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: src/compiler/diagnosticInformationMap.generated.ts
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -380,6 +380,8 @@ module ts {
380
380
Could_not_write_file_0_Colon_1: {code: 5033,category: DiagnosticCategory.Error,key: "Could not write file '{0}': {1}"},
381
381
Option_mapRoot_cannot_be_specified_without_specifying_sourcemap_option: {code: 5038,category: DiagnosticCategory.Error,key: "Option mapRoot cannot be specified without specifying sourcemap option."},
382
382
Option_sourceRoot_cannot_be_specified_without_specifying_sourcemap_option: {code: 5039,category: DiagnosticCategory.Error,key: "Option sourceRoot cannot be specified without specifying sourcemap option."},
383
+
Option_noEmit_cannot_be_specified_with_option_out_or_outDir: {code: 5040,category: DiagnosticCategory.Error,key: "Option noEmit cannot be specified with option out or outDir."},
384
+
Option_noEmit_cannot_be_specified_with_option_declaration: {code: 5041,category: DiagnosticCategory.Error,key: "Option noEmit cannot be specified with option declaration."},
383
385
Concatenate_and_emit_output_to_single_file: {code: 6001,category: DiagnosticCategory.Message,key: "Concatenate and emit output to single file."},
Specifies_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations: {code: 6003,category: DiagnosticCategory.Message,key: "Specifies the location where debugger should locate map files instead of generated locations."},
@@ -389,6 +391,7 @@ module ts {
389
391
Do_not_erase_const_enum_declarations_in_generated_code: {code: 6007,category: DiagnosticCategory.Message,key: "Do not erase const enum declarations in generated code."},
390
392
Do_not_emit_outputs_if_any_type_checking_errors_were_reported: {code: 6008,category: DiagnosticCategory.Message,key: "Do not emit outputs if any type checking errors were reported."},
391
393
Do_not_emit_comments_to_output: {code: 6009,category: DiagnosticCategory.Message,key: "Do not emit comments to output."},
394
+
Do_not_emit_outputs: {code: 6010,category: DiagnosticCategory.Message,key: "Do not emit outputs."},
Copy file name to clipboardExpand all lines: src/compiler/types.ts
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -974,7 +974,7 @@ module ts {
974
974
975
975
// Return code used by getEmitOutput function to indicate status of the function
976
976
exportenumEmitReturnStatus{
977
-
Succeeded=0,// All outputs generated as requested (.js, .map, .d.ts), no errors reported
977
+
Succeeded=0,// All outputs generated if requested (.js, .map, .d.ts), no errors reported
978
978
AllOutputGenerationSkipped=1,// No .js generated because of syntax errors, nothing generated
979
979
JSGeneratedWithSemanticErrors=2,// .js and .map generated with semantic errors
980
980
DeclarationGenerationSkipped=3,// .d.ts generation skipped because of semantic errors or declaration emitter specific errors; Output .js with semantic errors
tests/cases/compiler/contextualTypingWithFixedTypeParameters1.ts(2,22): error TS2339: Property 'foo' does not exist on type 'string'.
2
-
tests/cases/compiler/contextualTypingWithFixedTypeParameters1.ts(3,10): error TS2453: The type argument for type parameter 'T' cannot be inferred from the usage. Consider specifying the type arguments explicitly.
3
-
Type argument candidate 'string' is not a valid type argument because it is not a supertype of candidate 'number'.
0 commit comments