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
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -506,6 +506,22 @@ module ts {
506
506
Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions: {code: 7024,category: DiagnosticCategory.Error,key: "Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."},
507
507
You_cannot_rename_this_element: {code: 8000,category: DiagnosticCategory.Error,key: "You cannot rename this element."},
508
508
You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library: {code: 8001,category: DiagnosticCategory.Error,key: "You cannot rename elements that are defined in the standard TypeScript library."},
509
+
import_can_only_be_used_in_a_ts_file: {code: 8002,category: DiagnosticCategory.Error,key: "'import ... =' can only be used in a .ts file."},
510
+
export_can_only_be_used_in_a_ts_file: {code: 8003,category: DiagnosticCategory.Error,key: "'export=' can only be used in a .ts file."},
511
+
type_parameter_declarations_can_only_be_used_in_a_ts_file: {code: 8004,category: DiagnosticCategory.Error,key: "'type parameter declarations' can only be used in a .ts file."},
512
+
implements_clauses_can_only_be_used_in_a_ts_file: {code: 8005,category: DiagnosticCategory.Error,key: "'implements clauses' can only be used in a .ts file."},
513
+
interface_declarations_can_only_be_used_in_a_ts_file: {code: 8006,category: DiagnosticCategory.Error,key: "'interface declarations' can only be used in a .ts file."},
514
+
module_declarations_can_only_be_used_in_a_ts_file: {code: 8007,category: DiagnosticCategory.Error,key: "'module declarations' can only be used in a .ts file."},
515
+
type_aliases_can_only_be_used_in_a_ts_file: {code: 8008,category: DiagnosticCategory.Error,key: "'type aliases' can only be used in a .ts file."},
516
+
_0_can_only_be_used_in_a_ts_file: {code: 8009,category: DiagnosticCategory.Error,key: "'{0}' can only be used in a .ts file."},
517
+
types_can_only_be_used_in_a_ts_file: {code: 8010,category: DiagnosticCategory.Error,key: "'types' can only be used in a .ts file."},
518
+
type_arguments_can_only_be_used_in_a_ts_file: {code: 8011,category: DiagnosticCategory.Error,key: "'type arguments' can only be used in a .ts file."},
519
+
parameter_modifiers_can_only_be_used_in_a_ts_file: {code: 8012,category: DiagnosticCategory.Error,key: "'parameter modifiers' can only be used in a .ts file."},
520
+
can_only_be_used_in_a_ts_file: {code: 8013,category: DiagnosticCategory.Error,key: "'?' can only be used in a .ts file."},
521
+
property_declarations_can_only_be_used_in_a_ts_file: {code: 8014,category: DiagnosticCategory.Error,key: "'property declarations' can only be used in a .ts file."},
522
+
enum_declarations_can_only_be_used_in_a_ts_file: {code: 8015,category: DiagnosticCategory.Error,key: "'enum declarations' can only be used in a .ts file."},
523
+
type_assertion_expressions_can_only_be_used_in_a_ts_file: {code: 8016,category: DiagnosticCategory.Error,key: "'type assertion expressions' can only be used in a .ts file."},
524
+
decorators_can_only_be_used_in_a_ts_file: {code: 8017,category: DiagnosticCategory.Error,key: "'decorators' can only be used in a .ts file."},
509
525
yield_expressions_are_not_currently_supported: {code: 9000,category: DiagnosticCategory.Error,key: "'yield' expressions are not currently supported."},
510
526
Generators_are_not_currently_supported: {code: 9001,category: DiagnosticCategory.Error,key: "Generators are not currently supported."},
511
527
Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_class_extends_clauses: {code: 9002,category: DiagnosticCategory.Error,key: "Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clauses."},
// Name of testcase metadata including ts.CompilerOptions properties that will be used by globalOptions
116
117
// To add additional option, add property into the testOptMetadataNames, refer the property in either globalMetadataNames or fileMetadataNames
117
118
// Add cases into convertGlobalOptionsToCompilationsSettings function for the compiler to acknowledge such option from meta data
118
-
vartestOptMetadataNames={
119
+
varmetadataOptionNames={
119
120
baselineFile: 'BaselineFile',
120
121
declaration: 'declaration',
121
122
emitThisFile: 'emitThisFile',// This flag is used for testing getEmitOutput feature. It allows test-cases to indicate what file to be output in multiple files project
@@ -126,28 +127,32 @@ module FourSlash {
126
127
outDir: 'outDir',
127
128
sourceMap: 'sourceMap',
128
129
sourceRoot: 'sourceRoot',
130
+
allowNonTsExtensions: 'allowNonTsExtensions',
129
131
resolveReference: 'ResolveReference',// This flag is used to specify entry file for resolve file references. The flag is only allow once per test file
0 commit comments