mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-07 23:08:20 -06:00
Update LKG.
This commit is contained in:
parent
0c526fd362
commit
eec3a3ee34
@ -373,6 +373,7 @@
|
||||
"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126": "Není zadaný obsažený soubor a nedá se určit kořenový adresář – přeskakuje se vyhledávání ve složce node_modules.",
|
||||
"Containing_function_is_not_an_arrow_function_95128": "Obsahující funkce není funkcí šipky.",
|
||||
"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352": "Převod typu {0} na typ {1} může být chyba, protože ani jeden z těchto typů se s tím druhým dostatečně nepřekrývá. Pokud je to záměr, převeďte nejdříve výraz na unknown.",
|
||||
"Convert_0_to_1_in_0_95003": "Převést {0} na {1} v {0}",
|
||||
"Convert_0_to_mapped_object_type_95055": "Převést {0} na typ mapovaného objektu",
|
||||
"Convert_all_constructor_functions_to_classes_95045": "Převést všechny funkce konstruktoru na třídy",
|
||||
"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374": "Převést všechny importy, které se nepoužívají jako hodnota, na importy, při kterých se importují jen typy.",
|
||||
@ -382,6 +383,7 @@
|
||||
"Convert_all_to_async_functions_95066": "Převést vše na asynchronní funkce",
|
||||
"Convert_all_to_bigint_numeric_literals_95092": "Převést vše na číselné literály bigint",
|
||||
"Convert_all_to_default_imports_95035": "Převést vše na výchozí importy",
|
||||
"Convert_all_type_literals_to_mapped_type_95021": "Převést všechny literály typů na namapovaný typ",
|
||||
"Convert_arrow_function_or_function_expression_95122": "Převést funkci šipky nebo výraz funkce",
|
||||
"Convert_const_to_let_95093": "Převést const na let",
|
||||
"Convert_default_export_to_named_export_95061": "Převést výchozí export na pojmenovaný export",
|
||||
@ -611,6 +613,7 @@
|
||||
"Generate_get_and_set_accessors_for_all_overriding_properties_95119": "Generovat přístupové objekty get a set pro všechny přepisující vlastnosti",
|
||||
"Generates_a_CPU_profile_6223": "Vygeneruje profil procesoru.",
|
||||
"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000": "Pro každý odpovídající soubor .d.ts vygeneruje sourcemap.",
|
||||
"Generates_an_event_trace_and_a_list_of_types_6237": "Generates an event trace and a list of types.",
|
||||
"Generates_corresponding_d_ts_file_6002": "Generuje odpovídající soubor .d.ts.",
|
||||
"Generates_corresponding_map_file_6043": "Generuje odpovídající soubor .map.",
|
||||
"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025": "Generátor má implicitně typ yield {0}, protože nevydává žádné hodnoty. Zvažte možnost přidat anotaci návratového typu.",
|
||||
@ -655,6 +658,7 @@
|
||||
"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066": "Inicializátor členu v deklaracích ambientního výčtu musí být konstantní výraz.",
|
||||
"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432": "Ve výčtu s víc deklaracemi může být jenom u jedné deklarace vynechaný inicializátor u prvního elementu výčtu.",
|
||||
"Include_modules_imported_with_json_extension_6197": "Zahrnout moduly importované s příponou .json",
|
||||
"Include_undefined_in_index_signature_results_6800": "Include 'undefined' in index signature results",
|
||||
"Index_signature_in_type_0_only_permits_reading_2542": "Signatura indexu v typu {0} povoluje jen čtení.",
|
||||
"Index_signature_is_missing_in_type_0_2329": "V typu {0} chybí signatura indexu.",
|
||||
"Index_signatures_are_incompatible_2330": "Signatury indexu jsou nekompatibilní.",
|
||||
@ -785,6 +789,7 @@
|
||||
"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515": "Neabstraktní třída {0} neimplementuje zděděného abstraktního člena {1} ze třídy {2}.",
|
||||
"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653": "Výraz neabstraktní třídy neimplementuje zděděný abstraktní člen {0} z třídy {1}.",
|
||||
"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013": "Kontrolní výrazy jiné než null se dají používat jen v typescriptových souborech.",
|
||||
"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090": "Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?",
|
||||
"Non_simple_parameter_declared_here_1348": "Deklaroval se tady parametr, který není jednoduchý.",
|
||||
"Not_all_code_paths_return_a_value_7030": "Ne všechny cesty kódu vracejí hodnotu.",
|
||||
"Not_all_constituents_of_type_0_are_callable_2756": "Ne všichni konstituenti typu {0} se dají zavolat.",
|
||||
@ -820,6 +825,7 @@
|
||||
"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230": "Možnost {0} jde zadat jenom v souboru tsconfig.json nebo nastavit na příkazovém řádku na hodnotu false nebo null.",
|
||||
"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064": "Možnost {0} jde zadat jenom v souboru tsconfig.json nebo nastavit na příkazovém řádku na hodnotu null.",
|
||||
"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051": "Možnost {0} jde použít jenom při zadání možnosti --inlineSourceMap nebo možnosti --sourceMap.",
|
||||
"Option_0_cannot_be_specified_when_option_jsx_is_1_5089": "Option '{0}' cannot be specified when option 'jsx' is '{1}'.",
|
||||
"Option_0_cannot_be_specified_when_option_target_is_ES3_5048": "Když je možnost target nastavená na ES3, možnost {0} se nedá zadat.",
|
||||
"Option_0_cannot_be_specified_with_option_1_5053": "Možnosti {0} a {1} nejde zadat zároveň.",
|
||||
"Option_0_cannot_be_specified_without_specifying_option_1_5052": "Možnost {0} nejde zadat bez možnosti {1}.",
|
||||
@ -828,7 +834,6 @@
|
||||
"Option_build_must_be_the_first_command_line_argument_6369": "Možnost --build musí být prvním argumentem příkazového řádku.",
|
||||
"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074": "Možnost --incremental se dá zadat jen pomocí tsconfig, při generování do jednoho souboru nebo když se zadá možnost --tsBuildInfoFile.",
|
||||
"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047": "Možnost isolatedModules jde použít jenom v případě, že je poskytnutá možnost --module nebo že možnost target je ES2015 nebo vyšší verze.",
|
||||
"Option_paths_cannot_be_used_without_specifying_baseUrl_option_5060": "Možnost paths se nedá použít bez zadání možnosti --baseUrl.",
|
||||
"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042": "Možnost project se na příkazovém řádku nedá kombinovat se zdrojovým souborem.",
|
||||
"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071": "Možnost --resolveJsonModule se dá zadat jen v případě, že generování kódu modulu je commonjs, amd, es2015 nebo esNext.",
|
||||
"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070": "Možnost --resolveJsonModule se nedá zadat bez strategie překladu modulu node.",
|
||||
@ -949,6 +954,7 @@
|
||||
"Property_or_signature_expected_1131": "Očekává se vlastnost nebo podpis.",
|
||||
"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328": "Hodnota vlastnosti může být jenom řetězcový literál, číselný literál, true, false, null, literál objektu nebo literál pole.",
|
||||
"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179": "Při cílení na ES5 nebo ES3 poskytněte plnou podporu iterovatelných proměnných ve for-of, rozšíření a destrukturování.",
|
||||
"Provides_a_root_package_name_when_using_outFile_with_declarations_1390": "Provides a root package name when using outFile with declarations.",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098": "Veřejná metoda {0} z exportované třídy má nebo používá název {1} z externího modulu {2}, ale nedá se pojmenovat.",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099": "Veřejná metoda {0} z exportované třídy má nebo používá název {1} z privátního modulu {2}.",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100": "Veřejná metoda {0} z exportované třídy má nebo používá privátní název {1}.",
|
||||
@ -1075,6 +1081,7 @@
|
||||
"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060": "Zdejte sekvenci konce řádku, která se má použít při generování souborů: CRLF (dos) nebo LF (unix).",
|
||||
"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004": "Zadejte umístění, ve kterém by měl ladicí program najít soubory TypeScript namísto umístění zdroje.",
|
||||
"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6003": "Zadejte umístění, ve kterém by měl ladicí program najít soubory mapy namísto generovaných umístění.",
|
||||
"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238": "Specify the module specifier to be used to import the `jsx` and `jsxs` factory functions from. eg, react",
|
||||
"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058": "Zadejte kořenový adresář vstupních souborů. Slouží ke kontrole struktury výstupního adresáře pomocí --outDir.",
|
||||
"Split_all_invalid_type_only_imports_1367": "Rozdělit všechny neplatné importy, při kterých se importují jen typy",
|
||||
"Split_into_two_separate_import_declarations_1366": "Rozdělit na dvě samostatné deklarace importu",
|
||||
@ -1107,6 +1114,7 @@
|
||||
"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358": "Označené výrazy šablony se v nepovinném řetězu nepovolují.",
|
||||
"Target_allows_only_0_element_s_but_source_may_have_more_2621": "Cíl povoluje jen určitý počet elementů ({0}), ale zdroj jich může mít více.",
|
||||
"Target_requires_0_element_s_but_source_may_have_fewer_2620": "Cíl vyžaduje určitý počet elementů ({0}), ale zdroj jich může mít méně.",
|
||||
"Template_literal_type_argument_0_is_not_literal_type_or_a_generic_type_2793": "Template literal type argument '{0}' is not literal type or a generic type.",
|
||||
"The_0_modifier_can_only_be_used_in_TypeScript_files_8009": "Modifikátor {0} se dá používat jen v typescriptových souborech.",
|
||||
"The_0_operator_cannot_be_applied_to_type_symbol_2469": "Operátor {0} nejde použít u typu symbol.",
|
||||
"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447": "Operátor {0} není u logických typů povolený. Můžete ale použít {1}.",
|
||||
@ -1116,6 +1124,7 @@
|
||||
"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496": "Funkce šipky v ES3 a ES5 nemůže odkazovat na objekt arguments. Zvažte použití standardního výrazu funkce.",
|
||||
"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522": "V ES3 a ES5 se na objekt arguments nedá odkazovat v asynchronní funkci nebo metodě. Zvažte možnost použít standardní funkci nebo metodu.",
|
||||
"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313": "Tělo příkazu if nemůže být prázdný příkaz.",
|
||||
"The_bundledPackageName_option_must_be_provided_when_using_outFile_and_node_module_resolution_with_de_1391": "The `bundledPackageName` option must be provided when using outFile and node module resolution with declaration emit.",
|
||||
"The_character_set_of_the_input_files_6163": "Znaková sada vstupních souborů",
|
||||
"The_containing_arrow_function_captures_the_global_value_of_this_7041": "Obsahující funkce šipky zachytává globální hodnotu pro this.",
|
||||
"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563": "Text obsahující funkce nebo modulu je pro analýzu toku řízení příliš dlouhý.",
|
||||
|
||||
@ -373,6 +373,7 @@
|
||||
"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126": "Die enthaltene Datei wird nicht angegeben, und das Stammverzeichnis kann nicht ermittelt werden. Die Suche im Ordner \"node_modules\" wird übersprungen.",
|
||||
"Containing_function_is_not_an_arrow_function_95128": "Die enthaltende Funktion ist keine Pfeilfunktion.",
|
||||
"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352": "Die Konvertierung des Typs \"{0}\" in den Typ \"{1}\" kann ein Fehler sein, weil die Typen keine ausreichende Überschneidung aufweisen. Wenn dies beabsichtigt war, konvertieren Sie den Ausdruck zuerst in \"unknown\".",
|
||||
"Convert_0_to_1_in_0_95003": "\"{0}\" in \"{1} in {0}\" konvertieren",
|
||||
"Convert_0_to_mapped_object_type_95055": "\"{0}\" in zugeordneten Objekttyp konvertieren",
|
||||
"Convert_all_constructor_functions_to_classes_95045": "Alle Konstruktorfunktionen in Klassen konvertieren",
|
||||
"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374": "Alle nicht als Wert verwendeten Importe in reine Typenimporte konvertieren",
|
||||
@ -382,6 +383,7 @@
|
||||
"Convert_all_to_async_functions_95066": "Alle in asynchrone Funktionen konvertieren",
|
||||
"Convert_all_to_bigint_numeric_literals_95092": "Alle in numerische bigint-Literale konvertieren",
|
||||
"Convert_all_to_default_imports_95035": "Alle in Standardimporte konvertieren",
|
||||
"Convert_all_type_literals_to_mapped_type_95021": "Alle Typliterale in einen zugeordneten Typ konvertieren",
|
||||
"Convert_arrow_function_or_function_expression_95122": "Pfeilfunktion oder Funktionsausdruck konvertieren",
|
||||
"Convert_const_to_let_95093": "\"const\" in \"let\" konvertieren",
|
||||
"Convert_default_export_to_named_export_95061": "Standardexport in benannten Export konvertieren",
|
||||
@ -611,6 +613,7 @@
|
||||
"Generate_get_and_set_accessors_for_all_overriding_properties_95119": "get- und set-Zugriffsmethoden für alle überschreibenden Eigenschaften generieren",
|
||||
"Generates_a_CPU_profile_6223": "Generiert ein CPU-Profil.",
|
||||
"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000": "Generiert eine sourcemap für jede entsprechende .d.ts-Datei.",
|
||||
"Generates_an_event_trace_and_a_list_of_types_6237": "Generates an event trace and a list of types.",
|
||||
"Generates_corresponding_d_ts_file_6002": "Generiert die entsprechende .d.ts-Datei.",
|
||||
"Generates_corresponding_map_file_6043": "Generiert die entsprechende MAP-Datei.",
|
||||
"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025": "Der Generator weist implizit den yield-Typ \"{0}\" auf, weil er keine Werte ausgibt. Erwägen Sie die Angabe einer Rückgabetypanmerkung.",
|
||||
@ -655,6 +658,7 @@
|
||||
"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066": "In Umgebungsenumerationsdeklarationen muss der Memberinitialisierer ein konstanter Ausdruck sein.",
|
||||
"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432": "In einer Enumeration mit mehreren Deklarationen kann nur eine Deklaration einen Initialisierer für das erste Enumerationselement ausgeben.",
|
||||
"Include_modules_imported_with_json_extension_6197": "Importierte Module mit der Erweiterung \"JSON\" einschließen",
|
||||
"Include_undefined_in_index_signature_results_6800": "Include 'undefined' in index signature results",
|
||||
"Index_signature_in_type_0_only_permits_reading_2542": "Die Indexsignatur in Typ \"{0}\" lässt nur Lesevorgänge zu.",
|
||||
"Index_signature_is_missing_in_type_0_2329": "Die Indexsignatur fehlt im Typ \"{0}\".",
|
||||
"Index_signatures_are_incompatible_2330": "Die Indexsignaturen sind nicht kompatibel.",
|
||||
@ -785,6 +789,7 @@
|
||||
"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515": "Die nicht abstrakte Klasse \"{0}\" implementiert nicht den geerbten abstrakten Member \"{1}\" aus der Klasse \"{2}\".",
|
||||
"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653": "Der nicht abstrakte Ausdruck implementiert nicht den geerbten abstrakten Member \"{0}\" aus der Klasse \"{1}\".",
|
||||
"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013": "Assertionen ungleich NULL können nur in TypeScript-Dateien verwendet werden.",
|
||||
"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090": "Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?",
|
||||
"Non_simple_parameter_declared_here_1348": "Hier wurde ein nicht einfacher Parameter deklariert.",
|
||||
"Not_all_code_paths_return_a_value_7030": "Nicht alle Codepfade geben einen Wert zurück.",
|
||||
"Not_all_constituents_of_type_0_are_callable_2756": "Nicht alle Bestandteile vom Typ \"{0}\" können aufgerufen werden.",
|
||||
@ -820,6 +825,7 @@
|
||||
"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230": "Die Option \"{0}\" kann nur in der Datei \"tsconfig.json\" angegeben oder in der Befehlszeile auf FALSE oder NULL festgelegt werden.",
|
||||
"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064": "Die Option \"{0}\" kann nur in der Datei \"tsconfig.json\" angegeben oder in der Befehlszeile auf NULL festgelegt werden.",
|
||||
"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051": "Die Option \"{0}\" kann nur verwendet werden, wenn die Option \"-inlineSourceMap\" oder \"-sourceMap\" angegeben wird.",
|
||||
"Option_0_cannot_be_specified_when_option_jsx_is_1_5089": "Option '{0}' cannot be specified when option 'jsx' is '{1}'.",
|
||||
"Option_0_cannot_be_specified_when_option_target_is_ES3_5048": "Die Option \"{0}\" kann nicht angegeben werden, wenn die Option \"target\" den Wert \"ES3\" aufweist.",
|
||||
"Option_0_cannot_be_specified_with_option_1_5053": "Die Option \"{0}\" darf nicht zusammen mit der Option \"{1}\" angegeben werden.",
|
||||
"Option_0_cannot_be_specified_without_specifying_option_1_5052": "Die Option \"{0}\" darf nicht ohne die Option \"{1}\" angegeben werden.",
|
||||
@ -828,7 +834,6 @@
|
||||
"Option_build_must_be_the_first_command_line_argument_6369": "Die Option \"--build\" muss das erste Befehlszeilenargument sein.",
|
||||
"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074": "Die Option \"--incremental\" kann nur mit \"tsconfig\" und bei Ausgabe in eine einzelne Datei oder bei Festlegung der Option \"--tsBuildInfoFile\" angegeben werden.",
|
||||
"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047": "Die Option \"isolatedModules\" kann nur verwendet werden, wenn entweder die Option \"--module\" angegeben ist oder die Option \"target\" den Wert \"ES2015\" oder höher aufweist.",
|
||||
"Option_paths_cannot_be_used_without_specifying_baseUrl_option_5060": "Die \"path\"-Option kann nicht ohne Angabe der \"-baseUrl\"-Option angegeben werden.",
|
||||
"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042": "Die Option \"project\" darf nicht mit Quelldateien in einer Befehlszeile kombiniert werden.",
|
||||
"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071": "Die Option \"--resolveJsonModule\" kann nur angegeben werden, wenn die Modulcodegenerierung \"commonjs\", \"amd\", \"es2015\" oder \"esNext\" lautet.",
|
||||
"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070": "Die Option \"--resolveJsonModule\" kann nicht ohne die Modulauflösungsstrategie \"node\" angegeben werden.",
|
||||
@ -949,6 +954,7 @@
|
||||
"Property_or_signature_expected_1131": "Eine Eigenschaft oder Signatur wurde erwartet.",
|
||||
"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328": "Der Eigenschaftswert kann nur ein Zeichenfolgenliteral, ein numerisches Literal, \"true\", \"false\", \"NULL\", ein Objektliteral oder ein Arrayliteral sein.",
|
||||
"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179": "Bieten Sie vollständige Unterstützung für Iterablen in \"for-of\", Verteilung und Destrukturierung mit dem Ziel \"ES5\" oder \"ES3\".",
|
||||
"Provides_a_root_package_name_when_using_outFile_with_declarations_1390": "Provides a root package name when using outFile with declarations.",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098": "Die öffentliche Methode \"{0}\" der exportierten Klasse besitzt oder verwendet den Namen \"{1}\" aus dem externen Modul \"{2}\", kann aber nicht benannt werden.",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099": "Die öffentliche Methode \"{0}\" der exportierten Klasse besitzt oder verwendet den Namen \"{1}\" aus dem privaten Modul \"{2}\".",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100": "Die öffentliche Methode \"{0}\" der exportierten Klasse besitzt oder verwendet den privaten Namen \"{1}\".",
|
||||
@ -1075,6 +1081,7 @@
|
||||
"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060": "Geben Sie die Zeilenendesequenz an, die beim Ausgeben von Dateien verwendet werden soll: \"CRLF\" (DOS) oder \"LF\" (Unix).",
|
||||
"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004": "Geben Sie den Speicherort an, an dem der Debugger TypeScript-Dateien ermitteln soll, anstatt Quellspeicherorte zu verwenden.",
|
||||
"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6003": "Geben Sie den Speicherort an, an dem der Debugger Zuordnungsdateien ermitteln soll, anstatt generierte Speicherorte zu verwenden.",
|
||||
"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238": "Specify the module specifier to be used to import the `jsx` and `jsxs` factory functions from. eg, react",
|
||||
"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058": "Geben Sie das Stammverzeichnis der Eingabedateien an. Verwenden Sie diese Angabe, um die Ausgabeverzeichnisstruktur mithilfe von \"-outDir\" zu steuern.",
|
||||
"Split_all_invalid_type_only_imports_1367": "Alle ungültigen reinen Typenimporte teilen",
|
||||
"Split_into_two_separate_import_declarations_1366": "In zwei separate Importdeklarationen teilen",
|
||||
@ -1107,6 +1114,7 @@
|
||||
"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358": "Mit Tags versehene Vorlagenausdrücke sind in einer optionalen Kette nicht zulässig.",
|
||||
"Target_allows_only_0_element_s_but_source_may_have_more_2621": "Das Ziel erlaubt nur {0} Element(e), aber die Quelle kann mehr aufweisen.",
|
||||
"Target_requires_0_element_s_but_source_may_have_fewer_2620": "Das Ziel erfordert {0} Element(e), aber die Quelle kann weniger aufweisen.",
|
||||
"Template_literal_type_argument_0_is_not_literal_type_or_a_generic_type_2793": "Template literal type argument '{0}' is not literal type or a generic type.",
|
||||
"The_0_modifier_can_only_be_used_in_TypeScript_files_8009": "Der Modifizierer \"{0}\" kann nur in TypeScript-Dateien verwendet werden.",
|
||||
"The_0_operator_cannot_be_applied_to_type_symbol_2469": "Der Operator \"{0}\" darf nicht den Typ \"symbol\" angewendet werden.",
|
||||
"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447": "Der Operator \"{0}\" ist für boolesche Typen unzulässig. Verwenden Sie stattdessen ggf. \"{1}\".",
|
||||
@ -1116,6 +1124,7 @@
|
||||
"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496": "Auf das Objekt \"arguments\" darf in einer Pfeilfunktion in ES3 und ES5 nicht verwiesen werden. Verwenden Sie ggf. einen Standardfunktionsausdruck.",
|
||||
"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522": "Auf das Objekt \"arguments\" darf in einer asynchronen Funktion oder Methode in ES3 und ES5 nicht verwiesen werden. Verwenden Sie ggf. eine Standardfunktion oder -methode.",
|
||||
"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313": "Der Text einer \"if\"-Anweisung kann keine leere Anweisung sein.",
|
||||
"The_bundledPackageName_option_must_be_provided_when_using_outFile_and_node_module_resolution_with_de_1391": "The `bundledPackageName` option must be provided when using outFile and node module resolution with declaration emit.",
|
||||
"The_character_set_of_the_input_files_6163": "Der Zeichensatz der Eingabedateien.",
|
||||
"The_containing_arrow_function_captures_the_global_value_of_this_7041": "Die enthaltende Pfeilfunktion erfasst den globalen Wert von \"this\".",
|
||||
"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563": "Der beinhaltende Funktions- oder Modulkörper ist zu groß für eine Ablaufsteuerungsanalyse.",
|
||||
|
||||
@ -373,6 +373,7 @@
|
||||
"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126": "El archivo contenedor no se ha especificado y no se puede determinar el directorio raíz. Se omitirá la búsqueda en la carpeta 'node_modules'.",
|
||||
"Containing_function_is_not_an_arrow_function_95128": "La función contenedora no es una función de flecha",
|
||||
"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352": "La conversión del tipo \"{0}\" al tipo \"{1}\" puede ser un error, porque ninguno de los tipos se superpone suficientemente al otro. Si esto era intencionado, convierta primero la expresión en \"unknown\".",
|
||||
"Convert_0_to_1_in_0_95003": "Convertir \"{0}\" en \"{1} en \"{0}\"",
|
||||
"Convert_0_to_mapped_object_type_95055": "Convertir \"{0}\" en el tipo de objeto asignado",
|
||||
"Convert_all_constructor_functions_to_classes_95045": "Convertir todas las funciones de constructor en clases",
|
||||
"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374": "Convertir todas las importaciones no usadas como valor para las importaciones solo de tipo",
|
||||
@ -382,6 +383,7 @@
|
||||
"Convert_all_to_async_functions_95066": "Convertir todo en funciones asincrónicas",
|
||||
"Convert_all_to_bigint_numeric_literals_95092": "Convertir todo en literales numéricos bigint",
|
||||
"Convert_all_to_default_imports_95035": "Convertir todo en importaciones predeterminadas",
|
||||
"Convert_all_type_literals_to_mapped_type_95021": "Convertir todos los literales de tipo en un tipo asignado",
|
||||
"Convert_arrow_function_or_function_expression_95122": "Convertir una función de flecha o una expresión de función",
|
||||
"Convert_const_to_let_95093": "Convertir \"const\" en \"let\"",
|
||||
"Convert_default_export_to_named_export_95061": "Convertir una exportación predeterminada en exportación con nombre",
|
||||
@ -485,7 +487,7 @@
|
||||
"Duplicate_number_index_signature_2375": "Signatura de índice de número duplicada.",
|
||||
"Duplicate_property_0_2718": "Propiedad \"{0}\" duplicada.",
|
||||
"Duplicate_string_index_signature_2374": "Signatura de índice de cadena duplicada.",
|
||||
"Dynamic_import_cannot_have_type_arguments_1326": "La importación dinámica no puede tener argumentos de tipo",
|
||||
"Dynamic_import_cannot_have_type_arguments_1326": "La importación dinámica no puede tener argumentos de tipo.",
|
||||
"Dynamic_import_must_have_one_specifier_as_an_argument_1324": "La importación dinámica debe tener un especificador como argumento.",
|
||||
"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036": "El especificador de la importación dinámica debe ser de tipo \"string\", pero aquí tiene el tipo \"{0}\".",
|
||||
"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system__1323": "Las importaciones dinámicas solo se admiten cuando la marca \"--module\" se establece en \"es2020\", \"esnext\", \"commonjs\", \"amd\", \"system\" o \"umd\".",
|
||||
@ -611,6 +613,7 @@
|
||||
"Generate_get_and_set_accessors_for_all_overriding_properties_95119": "Generar los descriptores de acceso \"get\" y \"set\" para todas las propiedades de reemplazo",
|
||||
"Generates_a_CPU_profile_6223": "Genera un perfil de CPU.",
|
||||
"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000": "Genera un mapa de origen para cada archivo \".d.ts\" correspondiente.",
|
||||
"Generates_an_event_trace_and_a_list_of_types_6237": "Generates an event trace and a list of types.",
|
||||
"Generates_corresponding_d_ts_file_6002": "Genera el archivo \".d.ts\" correspondiente.",
|
||||
"Generates_corresponding_map_file_6043": "Genera el archivo \".map\" correspondiente.",
|
||||
"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025": "El generador tiene el tipo yield \"{0}\" implícitamente porque no produce ningún valor. Considere la posibilidad de proporcionar una anotación de tipo de valor devuelto.",
|
||||
@ -655,6 +658,7 @@
|
||||
"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066": "En las declaraciones de enumeración de ambiente, el inicializador de miembro debe ser una expresión constante.",
|
||||
"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432": "En una enumeración con varias declaraciones, solo una declaración puede omitir un inicializador para el primer elemento de la enumeración.",
|
||||
"Include_modules_imported_with_json_extension_6197": "Incluir módulos importados con la extensión \".json\"",
|
||||
"Include_undefined_in_index_signature_results_6800": "Include 'undefined' in index signature results",
|
||||
"Index_signature_in_type_0_only_permits_reading_2542": "La signatura de índice del tipo '{0}' solo permite lectura.",
|
||||
"Index_signature_is_missing_in_type_0_2329": "Falta la signatura de índice en el tipo '{0}'.",
|
||||
"Index_signatures_are_incompatible_2330": "Las signaturas de índice no son compatibles.",
|
||||
@ -785,6 +789,7 @@
|
||||
"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515": "La clase '{0}' no abstracta no implementa el miembro abstracto heredado '{1}' de la clase '{2}'.",
|
||||
"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653": "Una expresión de clase no abstracta no implementa el miembro abstracto heredado '{0}' de la clase '{1}'.",
|
||||
"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013": "Las aserciones no nulas solo se pueden usar en los archivos TypeScript.",
|
||||
"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090": "Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?",
|
||||
"Non_simple_parameter_declared_here_1348": "Se ha declarado un parámetro no simple aquí.",
|
||||
"Not_all_code_paths_return_a_value_7030": "No todas las rutas de acceso de código devuelven un valor.",
|
||||
"Not_all_constituents_of_type_0_are_callable_2756": "No se puede llamar a todos los constituyentes del tipo \"{0}\".",
|
||||
@ -820,6 +825,7 @@
|
||||
"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230": "La opción \"{0}\" solo puede especificarse en el archivo \"tsconfig.json\" o establecerse en \"false\" o \"null\" en la línea de comandos.",
|
||||
"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064": "La opción \"{0}\" solo puede especificarse en el archivo \"tsconfig.json\" o establecerse en \"null\" en la línea de comandos.",
|
||||
"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051": "La opción '{0}' solo se puede usar cuando se proporciona '--inlineSourceMap' o '--sourceMap'.",
|
||||
"Option_0_cannot_be_specified_when_option_jsx_is_1_5089": "Option '{0}' cannot be specified when option 'jsx' is '{1}'.",
|
||||
"Option_0_cannot_be_specified_when_option_target_is_ES3_5048": "No se puede especificar la opción \"{0}\" cuando la opción \"target\" es \"ES3\".",
|
||||
"Option_0_cannot_be_specified_with_option_1_5053": "La opción '{0}' no se puede especificar con la opción '{1}'.",
|
||||
"Option_0_cannot_be_specified_without_specifying_option_1_5052": "La opción '{0}' no se puede especificar sin la opción '{1}'.",
|
||||
@ -828,7 +834,6 @@
|
||||
"Option_build_must_be_the_first_command_line_argument_6369": "La opción \"--build\" debe ser el primer argumento de la línea de comandos.",
|
||||
"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074": "La opción \"--incremental\" solo puede especificarse si se usa tsconfig, se emite en un solo archivo o se especifica la opción \"--tsBuildInfoFile\".",
|
||||
"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047": "La opción \"isolatedModules\" solo se puede usar cuando se proporciona la opción \"--module\" o si la opción \"target\" es \"ES2015\" o una versión posterior.",
|
||||
"Option_paths_cannot_be_used_without_specifying_baseUrl_option_5060": "La opción 'paths' no se puede usar sin especificar la opción '--baseUrl'.",
|
||||
"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042": "La opción \"project\" no se puede combinar con archivos de origen en una línea de comandos.",
|
||||
"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071": "La opción \"--resolveJsonModule\" solo puede especificarse cuando la generación de código del módulo es \"commonjs\", \"amd\", \"es2015\" o \"esNext\".",
|
||||
"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070": "No se puede especificar la opción \"--resolveJsonModule\" sin la estrategia de resolución de módulos \"node\".",
|
||||
@ -949,6 +954,7 @@
|
||||
"Property_or_signature_expected_1131": "Se esperaba una propiedad o una signatura.",
|
||||
"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328": "El valor de la propiedad puede ser solo un literal de cadena, literal numérico, 'true', 'false', 'null', literal de objeto o literal de matriz.",
|
||||
"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179": "Proporcionar compatibilidad total con objetos iterables en \"for-of\", propagaciones y desestructuraciones cuando el destino es \"ES5\" o \"ES3\".",
|
||||
"Provides_a_root_package_name_when_using_outFile_with_declarations_1390": "Provides a root package name when using outFile with declarations.",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098": "El método público \"{0}\" de la clase exportada tiene o usa el nombre \"{1}\" del módulo externo {2}, pero no puede tener nombre.",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099": "El método público \"{0}\" de la clase exportada tiene o usa el nombre \"{1}\" del módulo privado \"{2}\".",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100": "El método público \"{0}\" de la clase exportada tiene o usa el nombre privado \"{1}\".",
|
||||
@ -1075,6 +1081,7 @@
|
||||
"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060": "Especifique la secuencia de final de línea que debe usarse para emitir archivos: 'CRLF' (Dos) o 'LF' (Unix).",
|
||||
"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004": "Especifique la ubicación donde el depurador debe colocar los archivos de TypeScript en lugar de sus ubicaciones de origen.",
|
||||
"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6003": "Especifique la ubicación donde el depurador debe colocar los archivos de asignaciones en lugar de las ubicaciones generadas.",
|
||||
"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238": "Specify the module specifier to be used to import the `jsx` and `jsxs` factory functions from. eg, react",
|
||||
"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058": "Especifique el directorio raíz de los archivos de entrada. Úselo para controlar la estructura del directorio de salida con --outDir.",
|
||||
"Split_all_invalid_type_only_imports_1367": "Dividir todas las importaciones solo de tipo no válidas",
|
||||
"Split_into_two_separate_import_declarations_1366": "Dividir en dos declaraciones de importación independientes",
|
||||
@ -1107,6 +1114,7 @@
|
||||
"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358": "No se permiten expresiones de plantilla con etiquetas en una cadena opcional.",
|
||||
"Target_allows_only_0_element_s_but_source_may_have_more_2621": "El destino solo permite {0} elemento(s), pero el origen puede tener más.",
|
||||
"Target_requires_0_element_s_but_source_may_have_fewer_2620": "El destino requiere {0} elemento(s), pero el origen puede tener menos.",
|
||||
"Template_literal_type_argument_0_is_not_literal_type_or_a_generic_type_2793": "Template literal type argument '{0}' is not literal type or a generic type.",
|
||||
"The_0_modifier_can_only_be_used_in_TypeScript_files_8009": "El modificador \"{0}\" solo se puede usar en los archivos TypeScript.",
|
||||
"The_0_operator_cannot_be_applied_to_type_symbol_2469": "El operador '{0}' no se puede aplicar al tipo \"symbol\".",
|
||||
"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447": "No se permite usar el operador '{0}' para los tipos booleanos. Como alternativa, puede usar '{1}'.",
|
||||
@ -1116,6 +1124,7 @@
|
||||
"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496": "No se puede hacer referencia al objeto \"arguments\" en una función de flecha en ES3 ni ES5. Considere la posibilidad de usar una expresión de función estándar.",
|
||||
"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522": "No se puede hacer referencia al objeto \"arguments\" en una función o método asincrónico en ES3 ni ES5. Considere la posibilidad de usar un método o función estándar.",
|
||||
"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313": "El cuerpo de una instrucción \"if\" no puede ser la instrucción vacía.",
|
||||
"The_bundledPackageName_option_must_be_provided_when_using_outFile_and_node_module_resolution_with_de_1391": "The `bundledPackageName` option must be provided when using outFile and node module resolution with declaration emit.",
|
||||
"The_character_set_of_the_input_files_6163": "Conjunto de caracteres de los archivos de entrada.",
|
||||
"The_containing_arrow_function_captures_the_global_value_of_this_7041": "La función de flecha contenedora captura el valor global de \"this\".",
|
||||
"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563": "El cuerpo de la función o del módulo contenedor es demasiado grande para realizar un análisis de flujo de control.",
|
||||
|
||||
@ -373,6 +373,7 @@
|
||||
"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126": "Fichier conteneur non spécifié et répertoire racine impossible à déterminer. Recherche ignorée dans le dossier 'node_modules'.",
|
||||
"Containing_function_is_not_an_arrow_function_95128": "La fonction conteneur n'est pas une fonction arrow",
|
||||
"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352": "La conversion du type '{0}' en type '{1}' est peut-être une erreur, car aucun type ne chevauche suffisamment l'autre. Si cela est intentionnel, convertissez d'abord l'expression en 'unknown'.",
|
||||
"Convert_0_to_1_in_0_95003": "Convert '{0}' to '{1} in {0}'",
|
||||
"Convert_0_to_mapped_object_type_95055": "Convertir '{0}' en type d'objet mappé",
|
||||
"Convert_all_constructor_functions_to_classes_95045": "Convertir toutes les fonctions de constructeur en classes",
|
||||
"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374": "Convertir toutes les importations non utilisées en tant que valeur en importations de types uniquement",
|
||||
@ -382,6 +383,7 @@
|
||||
"Convert_all_to_async_functions_95066": "Tout convertir en fonctions asynchrones",
|
||||
"Convert_all_to_bigint_numeric_literals_95092": "Tout convertir en littéraux numériques bigint",
|
||||
"Convert_all_to_default_imports_95035": "Convertir tout en importations par défaut",
|
||||
"Convert_all_type_literals_to_mapped_type_95021": "Convertir tous les littéraux de type en type mappé",
|
||||
"Convert_arrow_function_or_function_expression_95122": "Convertir une fonction arrow ou une expression de fonction",
|
||||
"Convert_const_to_let_95093": "Convertir 'const' en 'let'",
|
||||
"Convert_default_export_to_named_export_95061": "Convertir l'exportation par défaut en exportation nommée",
|
||||
@ -611,6 +613,7 @@
|
||||
"Generate_get_and_set_accessors_for_all_overriding_properties_95119": "Générer des accesseurs 'get' et 'set' pour toutes les propriétés de remplacement",
|
||||
"Generates_a_CPU_profile_6223": "Génère un profil de processeur.",
|
||||
"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000": "Génère un mappage de source pour chaque fichier '.d.ts' correspondant.",
|
||||
"Generates_an_event_trace_and_a_list_of_types_6237": "Generates an event trace and a list of types.",
|
||||
"Generates_corresponding_d_ts_file_6002": "Génère le fichier '.d.ts' correspondant.",
|
||||
"Generates_corresponding_map_file_6043": "Génère le fichier '.map' correspondant.",
|
||||
"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025": "Le générateur a implicitement le type '{0}', car il ne génère aucune valeur. Indiquez une annotation de type de retour.",
|
||||
@ -655,6 +658,7 @@
|
||||
"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066": "Dans les déclarations d'enums ambiants, l'initialiseur de membre doit être une expression constante.",
|
||||
"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432": "Dans un enum avec plusieurs déclarations, seule une déclaration peut omettre un initialiseur pour son premier élément d'enum.",
|
||||
"Include_modules_imported_with_json_extension_6197": "Inclure les modules importés avec l'extension '.json'",
|
||||
"Include_undefined_in_index_signature_results_6800": "Include 'undefined' in index signature results",
|
||||
"Index_signature_in_type_0_only_permits_reading_2542": "La signature d'index du type '{0}' autorise uniquement la lecture.",
|
||||
"Index_signature_is_missing_in_type_0_2329": "Signature d'index manquante dans le type '{0}'.",
|
||||
"Index_signatures_are_incompatible_2330": "Les signatures d'index sont incompatibles.",
|
||||
@ -785,6 +789,7 @@
|
||||
"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515": "La classe non abstraite '{0}' n'implémente pas le membre abstrait '{1}' hérité de la classe '{2}'.",
|
||||
"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653": "L'expression de classe non abstraite '{0}' n'implémente pas le membre abstrait hérité '{0}' de la classe '{1}'.",
|
||||
"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013": "Les assertions non null peuvent uniquement être utilisées dans les fichiers TypeScript.",
|
||||
"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090": "Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?",
|
||||
"Non_simple_parameter_declared_here_1348": "Paramètre non simple déclaré ici.",
|
||||
"Not_all_code_paths_return_a_value_7030": "Les chemins du code ne retournent pas tous une valeur.",
|
||||
"Not_all_constituents_of_type_0_are_callable_2756": "Tous les constituants de type '{0}' ne peuvent pas être appelés.",
|
||||
@ -820,6 +825,7 @@
|
||||
"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230": "Vous pouvez spécifier l'option '{0}' uniquement dans le fichier 'tsconfig.json', ou lui affecter la valeur 'false' ou 'null' sur la ligne de commande.",
|
||||
"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064": "Vous pouvez spécifier l'option '{0}' uniquement dans le fichier 'tsconfig.json', ou lui affecter la valeur 'null' sur la ligne de commande.",
|
||||
"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051": "L'option '{0}' peut être utilisée uniquement quand l'option '--inlineSourceMap' ou l'option '--sourceMap' est spécifiée.",
|
||||
"Option_0_cannot_be_specified_when_option_jsx_is_1_5089": "Option '{0}' cannot be specified when option 'jsx' is '{1}'.",
|
||||
"Option_0_cannot_be_specified_when_option_target_is_ES3_5048": "Impossible de spécifier l'option '{0}' quand l'option 'target' est 'ES3'.",
|
||||
"Option_0_cannot_be_specified_with_option_1_5053": "Impossible de spécifier l'option '{0}' avec l'option '{1}'.",
|
||||
"Option_0_cannot_be_specified_without_specifying_option_1_5052": "Impossible de spécifier l'option '{0}' sans spécifier l'option '{1}'.",
|
||||
@ -828,7 +834,6 @@
|
||||
"Option_build_must_be_the_first_command_line_argument_6369": "L'option '--build' doit être le premier argument de ligne de commande.",
|
||||
"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074": "L'option '--incremental' peut uniquement être spécifiée à l'aide de tsconfig, en cas d'émission vers un seul fichier ou quand l'option '--tsBuildInfoFile' est spécifiée.",
|
||||
"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047": "L'option 'isolatedModules' peut être utilisée seulement quand l'option '--module' est spécifiée, ou quand l'option 'target' a la valeur 'ES2015' ou une version supérieure.",
|
||||
"Option_paths_cannot_be_used_without_specifying_baseUrl_option_5060": "Impossible d'utiliser l'option 'paths' sans spécifier l'option '--baseUrl'.",
|
||||
"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042": "Impossible d'associer l'option 'project' à des fichiers sources sur une ligne de commande.",
|
||||
"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071": "L'option '--resolveJsonModule' peut uniquement être spécifiée quand la génération du code de module est 'commonjs', 'amd', 'es2015' ou 'esNext'.",
|
||||
"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070": "Impossible de spécifier l'option '--resolveJsonModule' sans la stratégie de résolution de module 'node'.",
|
||||
@ -949,6 +954,7 @@
|
||||
"Property_or_signature_expected_1131": "Propriété ou signature attendue.",
|
||||
"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328": "La valeur de la propriété peut être uniquement un littéral de chaîne, un littéral numérique, 'true', 'false', 'null', un littéral d'objet ou un littéral de tableau.",
|
||||
"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179": "Fournissez une prise en charge complète des éléments pouvant faire l'objet d'une itération dans 'for-of', de l'opérateur spread et de la déstructuration durant le ciblage d''ES5' ou 'ES3'.",
|
||||
"Provides_a_root_package_name_when_using_outFile_with_declarations_1390": "Provides a root package name when using outFile with declarations.",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098": "La méthode publique '{0}' de la classe exportée comporte ou utilise le nom '{1}' du module externe {2} mais ne peut pas être nommée.",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099": "La méthode publique '{0}' de la classe exportée comporte ou utilise le nom '{1}' du module privé '{2}'.",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100": "La méthode publique '{0}' de la classe exportée comporte ou utilise le nom privé '{1}'.",
|
||||
@ -1075,6 +1081,7 @@
|
||||
"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060": "Spécifiez la séquence de fin de ligne à utiliser durant l'émission des fichiers : 'CRLF' (Dos) ou 'LF' (Unix).",
|
||||
"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004": "Spécifiez l'emplacement dans lequel le débogueur doit localiser les fichiers TypeScript au lieu des emplacements sources.",
|
||||
"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6003": "Spécifiez l'emplacement dans lequel le débogueur doit localiser les fichiers de mappage au lieu des emplacements générés.",
|
||||
"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238": "Specify the module specifier to be used to import the `jsx` and `jsxs` factory functions from. eg, react",
|
||||
"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058": "Spécifiez le répertoire racine des fichiers d'entrée. Contrôlez la structure des répertoires de sortie avec --outDir.",
|
||||
"Split_all_invalid_type_only_imports_1367": "Diviser toutes les importations de type uniquement non valides",
|
||||
"Split_into_two_separate_import_declarations_1366": "Diviser en deux déclarations import distinctes",
|
||||
@ -1107,6 +1114,7 @@
|
||||
"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358": "Les expressions de modèle étiquetées ne sont pas autorisées dans une chaîne facultative.",
|
||||
"Target_allows_only_0_element_s_but_source_may_have_more_2621": "La cible autorise uniquement {0} élément(s) mais la source peut en avoir plus.",
|
||||
"Target_requires_0_element_s_but_source_may_have_fewer_2620": "La cible nécessite {0} élément(s) mais la source peut en avoir moins.",
|
||||
"Template_literal_type_argument_0_is_not_literal_type_or_a_generic_type_2793": "Template literal type argument '{0}' is not literal type or a generic type.",
|
||||
"The_0_modifier_can_only_be_used_in_TypeScript_files_8009": "Le modificateur '{0}' peut uniquement être utilisé dans les fichiers TypeScript.",
|
||||
"The_0_operator_cannot_be_applied_to_type_symbol_2469": "Impossible d'appliquer l'opérateur '{0}' au type 'symbol'.",
|
||||
"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447": "L'opérateur '{0}' n'est pas autorisé pour les types booléens. Utilisez '{1}' à la place.",
|
||||
@ -1116,6 +1124,7 @@
|
||||
"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496": "Impossible de référencer l'objet 'arguments' dans une fonction arrow dans ES3 et ES5. Utilisez plutôt une expression de fonction standard.",
|
||||
"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522": "Les objets 'arguments' ne peuvent pas être référencés dans une fonction ou méthode async en ES3 et ES5. Utilisez une fonction ou méthode standard.",
|
||||
"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313": "Le corps d'une instruction 'if' ne peut pas être l'instruction vide.",
|
||||
"The_bundledPackageName_option_must_be_provided_when_using_outFile_and_node_module_resolution_with_de_1391": "The `bundledPackageName` option must be provided when using outFile and node module resolution with declaration emit.",
|
||||
"The_character_set_of_the_input_files_6163": "Jeu de caractères des fichiers d'entrée.",
|
||||
"The_containing_arrow_function_captures_the_global_value_of_this_7041": "La fonction arrow conteneur capture la valeur globale de 'this'.",
|
||||
"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563": "Le corps de la fonction ou du module conteneur est trop grand pour l'analyse du flux de contrôle.",
|
||||
|
||||
@ -373,6 +373,7 @@
|
||||
"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126": "Il file contenitore non è specificato e non è possibile determinare la directory radice. La ricerca nella cartella 'node_modules' verrà ignorata.",
|
||||
"Containing_function_is_not_an_arrow_function_95128": "La funzione contenitore non è una funzione arrow",
|
||||
"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352": "La conversione del tipo '{0}' nel tipo '{1}' può essere un errore perché nessuno dei due tipi si sovrappone sufficientemente all'altro. Se questa opzione è intenzionale, convertire prima l'espressione in 'unknown'.",
|
||||
"Convert_0_to_1_in_0_95003": "Convertire '{0}' in '{1} in {0}'",
|
||||
"Convert_0_to_mapped_object_type_95055": "Convertire '{0}' nel tipo di oggetto con mapping",
|
||||
"Convert_all_constructor_functions_to_classes_95045": "Convertire tutte le funzioni di costruttore in classi",
|
||||
"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374": "Convertire tutte le importazioni non usate come valore in importazioni solo di tipi",
|
||||
@ -382,6 +383,7 @@
|
||||
"Convert_all_to_async_functions_95066": "Convertire tutto in funzioni asincrone",
|
||||
"Convert_all_to_bigint_numeric_literals_95092": "Convertire tutto in valori letterali numerici bigint",
|
||||
"Convert_all_to_default_imports_95035": "Convertire tutte le impostazioni predefinite",
|
||||
"Convert_all_type_literals_to_mapped_type_95021": "Convertire tutti i valori letterali di tipo nel tipo di cui è stato eseguito il mapping",
|
||||
"Convert_arrow_function_or_function_expression_95122": "Convertire la funzione arrow o l'espressione di funzione",
|
||||
"Convert_const_to_let_95093": "Convertire 'const' in 'let'",
|
||||
"Convert_default_export_to_named_export_95061": "Convertire l'esportazione predefinita nell'esportazione denominata",
|
||||
@ -611,6 +613,7 @@
|
||||
"Generate_get_and_set_accessors_for_all_overriding_properties_95119": "Generare le funzioni di accesso 'get' e 'set' per tutte le proprietà di sostituzione",
|
||||
"Generates_a_CPU_profile_6223": "Genera un profilo CPU.",
|
||||
"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000": "Genera un mapping di origine per ogni file '.d.ts' corrispondente.",
|
||||
"Generates_an_event_trace_and_a_list_of_types_6237": "Genera una traccia eventi e un elenco di tipi.",
|
||||
"Generates_corresponding_d_ts_file_6002": "Genera il file '.d.ts' corrispondente.",
|
||||
"Generates_corresponding_map_file_6043": "Genera il file '.map' corrispondente.",
|
||||
"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025": "Al generatore è assegnato in modo implicito il tipo yield '{0}' perché non contiene alcun valore. Provare a specificare un'annotazione di tipo restituito.",
|
||||
@ -655,6 +658,7 @@
|
||||
"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066": "Nelle dichiarazioni di enumerazione dell'ambiente l'inizializzatore di membro deve essere un'espressione costante.",
|
||||
"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432": "In un'enumerazione con più dichiarazioni solo una di queste può omettere un inizializzatore per il primo elemento dell'enumerazione.",
|
||||
"Include_modules_imported_with_json_extension_6197": "Includere i moduli importati con estensione '.json'",
|
||||
"Include_undefined_in_index_signature_results_6800": "Includere 'undefined' nei risultati della firma dell'indice",
|
||||
"Index_signature_in_type_0_only_permits_reading_2542": "La firma dell'indice nel tipo '{0}' consente solo la lettura.",
|
||||
"Index_signature_is_missing_in_type_0_2329": "Nel tipo '{0}' manca la firma dell'indice.",
|
||||
"Index_signatures_are_incompatible_2330": "Le firme dell'indice sono incompatibili.",
|
||||
@ -785,6 +789,7 @@
|
||||
"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515": "La classe non astratta '{0}' non implementa il membro astratto ereditato '{1}' della classe '{2}'.",
|
||||
"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653": "L'espressione di classe non astratta non implementa il membro astratto ereditato '{0}' dalla classe '{1}'.",
|
||||
"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013": "Le asserzioni non Null possono essere usate solo in file TypeScript.",
|
||||
"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090": "I percorsi non relativi non sono consentiti quando 'baseUrl' non è impostato. Si è dimenticato di aggiungere './' all'inizio?",
|
||||
"Non_simple_parameter_declared_here_1348": "In questo punto è dichiarato un parametro non semplice.",
|
||||
"Not_all_code_paths_return_a_value_7030": "Non tutti i percorsi del codice restituiscono un valore.",
|
||||
"Not_all_constituents_of_type_0_are_callable_2756": "Non tutti i costituenti di tipo '{0}' possono essere chiamati.",
|
||||
@ -820,6 +825,7 @@
|
||||
"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230": "L'opzione '{0}' può essere specificata solo nel file 'tsconfig.json' oppure impostata su 'false' o 'null' sulla riga di comando.",
|
||||
"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064": "L'opzione '{0}' può essere specificata solo nel file 'tsconfig.json' oppure impostata su 'null' sulla riga di comando.",
|
||||
"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051": "L'opzione '{0}' può essere usata solo quando si specifica l'opzione '--inlineSourceMap' o '--sourceMap'.",
|
||||
"Option_0_cannot_be_specified_when_option_jsx_is_1_5089": "Non è possibile specificare l'opzione '{0}' quando l'opzione 'jsx' è '{1}'.",
|
||||
"Option_0_cannot_be_specified_when_option_target_is_ES3_5048": "Non è possibile specificare l'opzione '{0}' quando l'opzione 'target' è 'ES3'.",
|
||||
"Option_0_cannot_be_specified_with_option_1_5053": "Non è possibile specificare l'opzione '{0}' insieme all'opzione '{1}'.",
|
||||
"Option_0_cannot_be_specified_without_specifying_option_1_5052": "Non è possibile specificare l'opzione '{0}' senza l'opzione '{1}'.",
|
||||
@ -828,7 +834,6 @@
|
||||
"Option_build_must_be_the_first_command_line_argument_6369": "L'opzione '--build' deve essere il primo argomento della riga di comando.",
|
||||
"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074": "È possibile specificare l'opzione '--incremental' solo se si usa tsconfig, si crea un singolo file o si specifica l'opzione `--tsBuildInfoFile`.",
|
||||
"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047": "L'opzione 'isolatedModules' può essere usata solo quando si specifica l'opzione '--module' oppure il valore dell'opzione 'target' è 'ES2015' o maggiore.",
|
||||
"Option_paths_cannot_be_used_without_specifying_baseUrl_option_5060": "Non è possibile usare l'opzione 'paths' senza specificare l'opzione '--baseUrl'.",
|
||||
"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042": "Non è possibile combinare l'opzione 'project' con file di origine in una riga di comando.",
|
||||
"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071": "È possibile specificare l'opzione '--resolveJsonModule' solo quando la generazione del codice del modulo è impostata su 'commonjs', 'amd', 'es2015' o 'esNext'.",
|
||||
"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070": "Non è possibile specificare l'opzione '--resolveJsonModule' senza la strategia di risoluzione del modulo 'node'.",
|
||||
@ -949,6 +954,7 @@
|
||||
"Property_or_signature_expected_1131": "È prevista la proprietà o la firma.",
|
||||
"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328": "Il valore della proprietà può essere solo un valore letterale stringa, un valore letterale numerico, 'true', 'false', 'null', un valore letterale di oggetto o un valore letterale di matrice.",
|
||||
"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179": "Fornisce supporto completo per elementi iterabili in 'for-of', spread e destrutturazione quando la destinazione è 'ES5' o 'ES3'.",
|
||||
"Provides_a_root_package_name_when_using_outFile_with_declarations_1390": "Fornisce un nome di pacchetto radice quando si usa outFile con le dichiarazioni.",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098": "Il metodo pubblico '{0}' della classe esportata ha o usa il nome '{1}' del modulo esterno {2} ma non può essere rinominato.",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099": "Il metodo pubblico '{0}' della classe esportata ha o usa il nome '{1}' del modulo privato '{2}'.",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100": "Il metodo pubblico '{0}' della classe esportata ha o usa il nome privato '{1}'.",
|
||||
@ -1075,6 +1081,7 @@
|
||||
"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060": "Specifica la sequenza di fine riga da usare per la creazione dei file, ovvero 'CRLF' (in DOS) o 'LF' (in UNIX).",
|
||||
"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004": "Specifica il percorso in cui il debugger deve trovare i file TypeScript invece dei percorsi di origine.",
|
||||
"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6003": "Specifica il percorso in cui il debugger deve trovare i file map invece dei percorsi generati.",
|
||||
"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238": "Specificare l'identificatore di modulo da usare da cui importare le funzioni di factory `jsx` e `jsxs`, ad esempio react",
|
||||
"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058": "Specifica la directory radice dei file di input. Usare per controllare la struttura della directory di output con --outDir.",
|
||||
"Split_all_invalid_type_only_imports_1367": "Dividere tutte le importazioni solo di tipi non valide",
|
||||
"Split_into_two_separate_import_declarations_1366": "Dividere in due dichiarazioni di importazione separate",
|
||||
@ -1107,6 +1114,7 @@
|
||||
"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358": "Le espressioni di modello con tag non sono consentite in una catena facoltativa.",
|
||||
"Target_allows_only_0_element_s_but_source_may_have_more_2621": "La destinazione consente solo {0} elemento/i ma l'origine potrebbe contenerne di più.",
|
||||
"Target_requires_0_element_s_but_source_may_have_fewer_2620": "La destinazione richiede {0} elemento/i ma l'origine potrebbe contenerne di meno.",
|
||||
"Template_literal_type_argument_0_is_not_literal_type_or_a_generic_type_2793": "L'argomento '{0}' del tipo di valore letterale del modello non è un tipo di valore letterale o generico.",
|
||||
"The_0_modifier_can_only_be_used_in_TypeScript_files_8009": "Il modificatore '{0}' può essere usato solo in file TypeScript.",
|
||||
"The_0_operator_cannot_be_applied_to_type_symbol_2469": "Non è possibile applicare l'operatore '{0}' al tipo 'symbol'.",
|
||||
"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447": "L'operatore '{0}' non è consentito per i tipi booleani. Provare a usare '{1}'.",
|
||||
@ -1116,6 +1124,7 @@
|
||||
"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496": "Non è possibile fare riferimento all'oggetto 'arguments' in una funzione arrow in ES3 e ES5. Provare a usare un'espressione di funzione standard.",
|
||||
"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522": "Non è possibile fare riferimento all'oggetto 'arguments' in un metodo o una funzione asincrona in ES3 e ES5. Provare a usare un metodo o una funzione standard.",
|
||||
"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313": "Il corpo di un'istruzione 'if' non può essere l'istruzione vuota.",
|
||||
"The_bundledPackageName_option_must_be_provided_when_using_outFile_and_node_module_resolution_with_de_1391": "Non è necessario specificare l'opzione `bundledPackageName` quando si usa la risoluzione dei moduli outFile e node con la creazione di dichiarazioni.",
|
||||
"The_character_set_of_the_input_files_6163": "Set di caratteri dei file di input.",
|
||||
"The_containing_arrow_function_captures_the_global_value_of_this_7041": "La funzione arrow contenitore acquisisce il valore globale di 'this'.",
|
||||
"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563": "Il corpo del modulo o la funzione che contiene è troppo grande per l'analisi del flusso di controllo.",
|
||||
|
||||
@ -159,7 +159,7 @@
|
||||
"All_declarations_of_an_abstract_method_must_be_consecutive_2516": "抽象メソッドの宣言はすべて連続している必要があります。",
|
||||
"All_destructured_elements_are_unused_6198": "非構造化要素はいずれも使用されていません。",
|
||||
"All_imports_in_import_declaration_are_unused_6192": "インポート宣言内のインポートはすべて未使用です。",
|
||||
"All_type_parameters_are_unused_6205": "すべての型パラメーターが使用されていません",
|
||||
"All_type_parameters_are_unused_6205": "すべての型パラメーターが使用されていません。",
|
||||
"All_variables_are_unused_6199": "すべての変数は未使用です。",
|
||||
"Allow_accessing_UMD_globals_from_modules_95076": "モジュールから UMD グローバルへのアクセスを許可します。",
|
||||
"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011": "既定のエクスポートがないモジュールからの既定のインポートを許可します。これは、型チェックのみのため、コード生成には影響を与えません。",
|
||||
@ -191,7 +191,7 @@
|
||||
"An_export_assignment_cannot_have_modifiers_1120": "エクスポートの代入に修飾子を指定することはできません。",
|
||||
"An_export_declaration_can_only_be_used_in_a_module_1233": "エクスポート宣言はモジュールでのみ使用可能です。",
|
||||
"An_export_declaration_cannot_have_modifiers_1193": "エクスポート宣言に修飾子を指定することはできません。",
|
||||
"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345": "'void' 型の式は、真実性をテストできません",
|
||||
"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345": "'void' 型の式は、真実性をテストできません。",
|
||||
"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198": "拡張された Unicode エスケープ値は 0x0 と 0x10FFFF の間 (両端を含む) でなければなりません。",
|
||||
"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351": "識別子またはキーワードを数値リテラルのすぐ後に指定することはできません。",
|
||||
"An_implementation_cannot_be_declared_in_ambient_contexts_1183": "実装は環境コンテキストでは宣言できません。",
|
||||
@ -282,7 +282,7 @@
|
||||
"Cannot_find_global_value_0_2468": "グローバル値 '{0}' が見つかりません。",
|
||||
"Cannot_find_lib_definition_for_0_2726": "'{0}' のライブラリ定義が見つかりません。",
|
||||
"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727": "'{0}' のライブラリ定義が見つかりません。'{1}' ですか?",
|
||||
"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732": "モジュール '{0}' が見つかりません。'--resolveJsonModule ' を使用して'.json' 拡張子を持つモジュールをインポートすることを検討してください",
|
||||
"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732": "モジュール '{0}' が見つかりません。'--resolveJsonModule' を使用して '.json' 拡張子を持つモジュールをインポートすることをご検討ください。",
|
||||
"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_th_2792": "モジュール '{0}' が見つかりません。'moduleResolution' オプションを 'node' に設定することか、'paths' オプションにエイリアスを追加することを意図していましたか?",
|
||||
"Cannot_find_module_0_or_its_corresponding_type_declarations_2307": "モジュール '{0}' またはそれに対応する型宣言が見つかりません。",
|
||||
"Cannot_find_name_0_2304": "名前 '{0}' が見つかりません。",
|
||||
@ -373,6 +373,7 @@
|
||||
"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126": "包含するファイルが指定されていないため、ルート ディレクトリを決定できません。'node_modules' フォルダーのルックアップをスキップします。",
|
||||
"Containing_function_is_not_an_arrow_function_95128": "含まれている関数はアロー関数ではありません",
|
||||
"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352": "型 '{0}' から型 '{1}' への変換は、互いに十分に重複できないため間違っている可能性があります。意図的にそうする場合は、まず式を 'unknown' に変換してください。",
|
||||
"Convert_0_to_1_in_0_95003": "'{0}' で '{0}' を '{1}' に変換します",
|
||||
"Convert_0_to_mapped_object_type_95055": "'{0}' をマップされたオブジェクト型に変換する",
|
||||
"Convert_all_constructor_functions_to_classes_95045": "すべてのコンストラクター関数をクラスに変換します",
|
||||
"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374": "値として使用されていないすべてのインポートを型のみのインポートに変換する",
|
||||
@ -382,6 +383,7 @@
|
||||
"Convert_all_to_async_functions_95066": "すべてを非同期関数に変換する",
|
||||
"Convert_all_to_bigint_numeric_literals_95092": "すべてを bigint 数値リテラルに変換する",
|
||||
"Convert_all_to_default_imports_95035": "すべてを既定のインポートに変換します",
|
||||
"Convert_all_type_literals_to_mapped_type_95021": "すべての型リテラルをマップされた型に変換します",
|
||||
"Convert_arrow_function_or_function_expression_95122": "アロー関数または関数式を変換する",
|
||||
"Convert_const_to_let_95093": "'const' を 'let' に変換する",
|
||||
"Convert_default_export_to_named_export_95061": "既定のエクスポートを名前付きエクスポートに変換する",
|
||||
@ -485,7 +487,7 @@
|
||||
"Duplicate_number_index_signature_2375": "number インデックス シグネチャが重複しています。",
|
||||
"Duplicate_property_0_2718": "プロパティ '{0}' が重複しています。",
|
||||
"Duplicate_string_index_signature_2374": "string インデックス シグネチャが重複しています。",
|
||||
"Dynamic_import_cannot_have_type_arguments_1326": "動的インポートには型引数を指定することはできません",
|
||||
"Dynamic_import_cannot_have_type_arguments_1326": "動的インポートに型引数を指定することはできません。",
|
||||
"Dynamic_import_must_have_one_specifier_as_an_argument_1324": "動的インポートには、引数として 1 つの指定子を指定する必要があります。",
|
||||
"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036": "動的インポートの指定子の型は 'string' である必要がありますが、ここでは型 '{0}' が指定されています。",
|
||||
"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system__1323": "動的インポートは、'--module' フラグが 'es2020'、'esnext'、'commonjs'、'amd'、'system'、'umd' に設定されている場合にのみサポートされます。",
|
||||
@ -611,6 +613,7 @@
|
||||
"Generate_get_and_set_accessors_for_all_overriding_properties_95119": "すべてのオーバーライドするプロパティに対して 'get' および 'set' アクセサーを生成します",
|
||||
"Generates_a_CPU_profile_6223": "CPU プロファイルを生成します。",
|
||||
"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000": "対応する各 '.d.ts' ファイルにソースマップを生成します。",
|
||||
"Generates_an_event_trace_and_a_list_of_types_6237": "Generates an event trace and a list of types.",
|
||||
"Generates_corresponding_d_ts_file_6002": "対応する '.d.ts' ファイルを生成します。",
|
||||
"Generates_corresponding_map_file_6043": "対応する '.map' ファイルを生成します。",
|
||||
"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025": "ジェネレーターは値を生成しないため、暗黙的に yield 型 '{0}' になります。戻り値の型の注釈を指定することを検討してください。",
|
||||
@ -655,6 +658,7 @@
|
||||
"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066": "アンビエント列挙型の宣言では、メンバー初期化子は定数式である必要があります。",
|
||||
"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432": "複数の宣言がある列挙型で、最初の列挙要素の初期化子を省略できる宣言は 1 つのみです。",
|
||||
"Include_modules_imported_with_json_extension_6197": "'.json' 拡張子付きのインポートされたモジュールを含める",
|
||||
"Include_undefined_in_index_signature_results_6800": "Include 'undefined' in index signature results",
|
||||
"Index_signature_in_type_0_only_permits_reading_2542": "型 '{0}' のインデックス シグネチャは、読み取りのみを許可します。",
|
||||
"Index_signature_is_missing_in_type_0_2329": "型 '{0}' のインデックス シグネチャがありません。",
|
||||
"Index_signatures_are_incompatible_2330": "インデックスの署名に互換性がありません。",
|
||||
@ -785,6 +789,7 @@
|
||||
"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515": "非抽象クラス '{0}' はクラス '{2}' からの継承抽象メンバー '{1}' を実装しません。",
|
||||
"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653": "非抽象クラスの式はクラス '{1}' からの継承抽象メンバー '{0}' を実装しません。",
|
||||
"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013": "non-null アサーションは、TypeScript ファイルでのみ使用できます。",
|
||||
"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090": "Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?",
|
||||
"Non_simple_parameter_declared_here_1348": "ここでは複雑なパラメーターが宣言されています。",
|
||||
"Not_all_code_paths_return_a_value_7030": "一部のコード パスは値を返しません。",
|
||||
"Not_all_constituents_of_type_0_are_callable_2756": "型 '{0}' のすべての構成要素が呼び出し可能なわけではありません。",
|
||||
@ -820,6 +825,7 @@
|
||||
"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230": "オプション '{0}' は、'tsconfig.json' ファイルで指定することか、コマンド ラインで 'false' または 'null' に設定することしかできません。",
|
||||
"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064": "オプション '{0}' は、'tsconfig.json' ファイルで指定することか、コマンド ラインで 'null' に設定することしかできません。",
|
||||
"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051": "オプション '{0} を使用できるのは、オプション '--inlineSourceMap' またはオプション '--sourceMap' のいずれかを指定した場合のみです。",
|
||||
"Option_0_cannot_be_specified_when_option_jsx_is_1_5089": "Option '{0}' cannot be specified when option 'jsx' is '{1}'.",
|
||||
"Option_0_cannot_be_specified_when_option_target_is_ES3_5048": "オプション 'target' が 'ES3' の場合、オプション '{0}' を指定することはできません。",
|
||||
"Option_0_cannot_be_specified_with_option_1_5053": "オプション '{0}' をオプション '{1}' とともに指定することはできません。",
|
||||
"Option_0_cannot_be_specified_without_specifying_option_1_5052": "オプション '{1}' を指定せずに、オプション '{0}' を指定することはできません。",
|
||||
@ -828,7 +834,6 @@
|
||||
"Option_build_must_be_the_first_command_line_argument_6369": "オプション '--build' は最初のコマンド ライン引数である必要があります。",
|
||||
"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074": "オプション '--incremental' は、tsconfig を使用して指定して単一ファイルに出力するか、オプション `--tsBuildInfoFile` が指定された場合にのみ指定することができます。",
|
||||
"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047": "オプション 'isolatedModules' は、オプション '--module' が指定されているか、オプション 'target' が 'ES2015' 以上であるかのいずれかの場合でのみ使用できます。",
|
||||
"Option_paths_cannot_be_used_without_specifying_baseUrl_option_5060": "オプション 'paths' は、'--baseUrl' オプションを指定せずに使用できません。",
|
||||
"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042": "オプション 'project' をコマンド ライン上でソース ファイルと一緒に指定することはできません。",
|
||||
"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071": "オプション '--resolveJsonModule' は、モジュール コードの生成が 'commonjs'、'amd'、'es2015'、'esNext' である場合にのみ指定できます。",
|
||||
"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070": "'node' モジュールの解決方法を使用せずにオプション '--resolveJsonModule' を指定することはできません。",
|
||||
@ -894,7 +899,7 @@
|
||||
"Private_identifiers_are_not_allowed_in_variable_declarations_18029": "変数宣言では、private 識別子は許可されていません。",
|
||||
"Private_identifiers_are_not_allowed_outside_class_bodies_18016": "private 識別子は、クラス本体の外では許可されていません。",
|
||||
"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028": "private 識別子は ECMAScript 2015 以上をターゲットにする場合にのみ使用できます。",
|
||||
"Private_identifiers_cannot_be_used_as_parameters_18009": "private 識別子はパラメーターとして使用できません",
|
||||
"Private_identifiers_cannot_be_used_as_parameters_18009": "private 識別子はパラメーターとして使用できません。",
|
||||
"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105": "private または protected メンバー '{0}' には、型パラメーターではアクセスできません。",
|
||||
"Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363": "プロジェクト '{0}' はその依存関係 '{1}' にエラーがあるためビルドできません",
|
||||
"Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383": "依存関係 '{1}' がビルドされていないため、プロジェクト '{0}' はビルドできません",
|
||||
@ -920,7 +925,7 @@
|
||||
"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416": "型 '{1}' のプロパティ '{0}' を基本データ型 '{2}' の同じプロパティに割り当てることはできません。",
|
||||
"Property_0_in_type_1_is_not_assignable_to_type_2_2603": "型 '{1}' のプロパティ '{0}' を型 '{2}' に割り当てることはできません。",
|
||||
"Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2_18015": "型 '{1}' のプロパティ '{0}' は、型 '{2}' 内からアクセスできない別のメンバーを参照しています。",
|
||||
"Property_0_is_a_static_member_of_type_1_2576": "プロパティ '{0}' は型 '{1}' の静的メンバーです",
|
||||
"Property_0_is_a_static_member_of_type_1_2576": "プロパティ '{0}' は型 '{1}' の静的メンバーです。",
|
||||
"Property_0_is_declared_but_its_value_is_never_read_6138": "プロパティ '{0}' が宣言されていますが、その値が読み取られることはありません。",
|
||||
"Property_0_is_incompatible_with_index_signature_2530": "プロパティ '{0}' はインデックス シグネチャと互換性がありません。",
|
||||
"Property_0_is_incompatible_with_rest_element_type_2573": "プロパティ '{0}' は rest 要素の型と互換性がありません。",
|
||||
@ -949,6 +954,7 @@
|
||||
"Property_or_signature_expected_1131": "プロパティまたはシグネチャが必要です。",
|
||||
"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328": "プロパティ値には、文字列リテラル、数値リテラル、'true'、'false'、'null'、オブジェクト リテラルまたは配列リテラルのみ使用できます。",
|
||||
"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179": "'for-of' の iterable、spread、'ES5' や 'ES3' をターゲットとする場合は destructuring に対してフル サポートを提供します。",
|
||||
"Provides_a_root_package_name_when_using_outFile_with_declarations_1390": "Provides a root package name when using outFile with declarations.",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098": "エクスポートされたクラスのパブリック メソッド '{0}' が外部モジュール {2} の名前 '{1}' を持っているか使用していますが、名前を指定することはできません。",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099": "エクスポートされたクラスのパブリック メソッド '{0}' が、プライベート モジュール '{2}' の名前 '{1}' を持っているか、使用しています。",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100": "エクスポートされたクラスのパブリック メソッド '{0}' がプライベート名 '{1}' を持っているか、使用しています。",
|
||||
@ -1075,6 +1081,7 @@
|
||||
"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060": "ファイルの生成時に使用する行シーケンスの末尾を指定します: 'CRLF' (dos) または 'LF' (unix)。",
|
||||
"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004": "デバッガーがソースの場所の代わりに TypeScript ファイルを検索する必要のある場所を指定します。",
|
||||
"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6003": "デバッガーが、生成された場所の代わりにマップ ファイルを検索する必要のある場所を指定します。",
|
||||
"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238": "Specify the module specifier to be used to import the `jsx` and `jsxs` factory functions from. eg, react",
|
||||
"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058": "入力ファイルのルート ディレクトリを指定します。--outDir とともに、出力ディレクトリ構造の制御に使用します。",
|
||||
"Split_all_invalid_type_only_imports_1367": "無効な型のみのインポートをすべて分割する",
|
||||
"Split_into_two_separate_import_declarations_1366": "2 つの別個のインポート宣言に分割する",
|
||||
@ -1107,6 +1114,7 @@
|
||||
"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358": "タグ付きテンプレート式は、省略可能なチェーンでは許可されていません。",
|
||||
"Target_allows_only_0_element_s_but_source_may_have_more_2621": "ターゲットには {0} 個の要素のみを使用できますが、ソースにはそれより多くを指定できます。",
|
||||
"Target_requires_0_element_s_but_source_may_have_fewer_2620": "ターゲットには {0} 個の要素が必要ですが、ソースに指定する数はそれより少なくても構いません。",
|
||||
"Template_literal_type_argument_0_is_not_literal_type_or_a_generic_type_2793": "Template literal type argument '{0}' is not literal type or a generic type.",
|
||||
"The_0_modifier_can_only_be_used_in_TypeScript_files_8009": "'{0}' 修飾子は TypeScript ファイルでのみ使用できます。",
|
||||
"The_0_operator_cannot_be_applied_to_type_symbol_2469": "'{0}' 演算子を 'symbol' 型に適用することはできません。",
|
||||
"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447": "'{0}' 演算子はブール型には使用できません。代わりに '{1}' を使用してください。",
|
||||
@ -1116,6 +1124,7 @@
|
||||
"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496": "'arguments' オブジェクトは、ES3 および ES5 のアロー関数で参照することはできません。標準の関数式の使用を考慮してください。",
|
||||
"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522": "'arguments' オブジェクトは、ES3 および ES5 の非同期関数またはメソッドで参照することはできません。標準の関数またはメソッドを使用することを検討してください。",
|
||||
"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313": "'if' ステートメントの本文を空のステートメントにすることはできません。",
|
||||
"The_bundledPackageName_option_must_be_provided_when_using_outFile_and_node_module_resolution_with_de_1391": "The `bundledPackageName` option must be provided when using outFile and node module resolution with declaration emit.",
|
||||
"The_character_set_of_the_input_files_6163": "入力ファイルの文字セット。",
|
||||
"The_containing_arrow_function_captures_the_global_value_of_this_7041": "含まれているアロー関数は、'this' のグローバル値をキャプチャします。",
|
||||
"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563": "含まれている関数またはモジュールの本体は、制御フロー解析には大きすぎます。",
|
||||
@ -1398,7 +1407,7 @@
|
||||
"_0_modifier_cannot_be_used_in_an_ambient_context_1040": "'{0}' 修飾子は環境コンテキストでは使用できません。",
|
||||
"_0_modifier_cannot_be_used_with_1_modifier_1243": "'{0}' 修飾子と '{1}' 修飾子は同時に使用できません。",
|
||||
"_0_modifier_cannot_be_used_with_a_class_declaration_1041": "'{0}' 修飾子とクラス宣言は同時に使用できません。",
|
||||
"_0_modifier_cannot_be_used_with_a_private_identifier_18019": "'{0}' 修飾子を private 識別子とともに使用することはできません",
|
||||
"_0_modifier_cannot_be_used_with_a_private_identifier_18019": "'{0}' 修飾子を private 識別子とともに使用することはできません。",
|
||||
"_0_modifier_must_precede_1_modifier_1029": "'{0}' 修飾子は '{1}' 修飾子の前に指定する必要があります。",
|
||||
"_0_needs_an_explicit_type_annotation_2782": "'{0}' には、明示的な型の注釈が必要です。",
|
||||
"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702": "'{0}' は型のみを参照しますが、ここで名前空間として使用されています。",
|
||||
|
||||
@ -373,6 +373,7 @@
|
||||
"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126": "포함 파일이 지정되지 않았고 루트 디렉터리를 확인할 수 없어 'node_modules' 폴더 조회를 건너뜁니다.",
|
||||
"Containing_function_is_not_an_arrow_function_95128": "포함 함수가 화살표 함수가 아닙니다.",
|
||||
"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352": "'{0}' 형식을 '{1}' 형식으로 변환한 작업은 실수일 수 있습니다. 두 형식이 서로 충분히 겹치지 않기 때문입니다. 의도적으로 변환한 경우에는 먼저 'unknown'으로 식을 변환합니다.",
|
||||
"Convert_0_to_1_in_0_95003": "'{0}'을(를) '{0}의 {1}'(으)로 변환",
|
||||
"Convert_0_to_mapped_object_type_95055": "'{0}'을(를) 매핑된 개체 형식으로 변환",
|
||||
"Convert_all_constructor_functions_to_classes_95045": "모든 생성자 함수를 클래스로 변환",
|
||||
"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374": "값으로 사용되지 않는 모든 가져오기를 형식 전용 가져오기로 변환",
|
||||
@ -382,6 +383,7 @@
|
||||
"Convert_all_to_async_functions_95066": "모두 비동기 함수로 변환",
|
||||
"Convert_all_to_bigint_numeric_literals_95092": "모두 bigint 숫자 리터럴로 변환",
|
||||
"Convert_all_to_default_imports_95035": "모든 항목을 기본 가져오기로 변환",
|
||||
"Convert_all_type_literals_to_mapped_type_95021": "모든 형식 리터럴을 매핑된 형식으로 변환",
|
||||
"Convert_arrow_function_or_function_expression_95122": "화살표 함수 또는 함수 식 변환",
|
||||
"Convert_const_to_let_95093": "'const'를 'let'으로 변환",
|
||||
"Convert_default_export_to_named_export_95061": "기본 내보내기를 명명된 내보내기로 변환",
|
||||
@ -611,6 +613,7 @@
|
||||
"Generate_get_and_set_accessors_for_all_overriding_properties_95119": "모든 재정의 속성에 대한 'get' 및 'set' 접근자를 생성합니다.",
|
||||
"Generates_a_CPU_profile_6223": "CPU 프로필을 생성합니다.",
|
||||
"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000": "해당하는 각 '.d.ts' 파일에 sourcemap을 생성합니다.",
|
||||
"Generates_an_event_trace_and_a_list_of_types_6237": "Generates an event trace and a list of types.",
|
||||
"Generates_corresponding_d_ts_file_6002": "해당 '.d.ts' 파일을 생성합니다.",
|
||||
"Generates_corresponding_map_file_6043": "해당 '.map' 파일을 생성합니다.",
|
||||
"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025": "생성기는 값을 생성하지 않으므로 암시적으로 yield 형식 '{0}'입니다. 반환 형식 주석을 제공하는 것이 좋습니다.",
|
||||
@ -655,6 +658,7 @@
|
||||
"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066": "앰비언트 열거형 선언에서 멤버 이니셜라이저는 상수 식이어야 합니다.",
|
||||
"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432": "다중 선언이 포함된 열거형에서는 하나의 선언만 첫 번째 열거형 요소에 대한 이니셜라이저를 생략할 수 있습니다.",
|
||||
"Include_modules_imported_with_json_extension_6197": "'.json' 확장을 사용하여 가져온 모듈을 포함합니다.",
|
||||
"Include_undefined_in_index_signature_results_6800": "Include 'undefined' in index signature results",
|
||||
"Index_signature_in_type_0_only_permits_reading_2542": "'{0}' 형식의 인덱스 시그니처는 읽기만 허용됩니다.",
|
||||
"Index_signature_is_missing_in_type_0_2329": "'{0}' 형식에 인덱스 시그니처가 없습니다.",
|
||||
"Index_signatures_are_incompatible_2330": "인덱스 시그니처가 호환되지 않습니다.",
|
||||
@ -785,6 +789,7 @@
|
||||
"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515": "비추상 클래스 '{0}'은(는) '{2}' 클래스에서 상속된 추상 멤버 '{1}'을(를) 구현하지 않습니다.",
|
||||
"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653": "비추상 클래스 식은 '{1}' 클래스에서 상속된 추상 멤버 '{0}'을(를) 구현하지 않습니다.",
|
||||
"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013": "null이 아닌 어설션은 TypeScript 파일에서만 사용할 수 있습니다.",
|
||||
"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090": "Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?",
|
||||
"Non_simple_parameter_declared_here_1348": "여기서 단순하지 않은 매개 변수가 선언되었습니다.",
|
||||
"Not_all_code_paths_return_a_value_7030": "일부 코드 경로가 값을 반환하지 않습니다.",
|
||||
"Not_all_constituents_of_type_0_are_callable_2756": "'{0}' 형식의 일부 구성원을 호출할 수 없습니다.",
|
||||
@ -820,6 +825,7 @@
|
||||
"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230": "'{0}' 옵션은 'tsconfig. json' 파일에만 지정하거나 명령줄에서 'false' 또는 'null'로 설정할 수 있습니다.",
|
||||
"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064": "'{0}' 옵션은 'tsconfig. json' 파일에만 지정하거나 명령줄에서 'null'로 설정할 수 있습니다.",
|
||||
"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051": "'{0}' 옵션은 '--inlineSourceMap' 옵션 또는 '--sourceMap' 옵션이 제공되는 경우에만 사용할 수 있습니다.",
|
||||
"Option_0_cannot_be_specified_when_option_jsx_is_1_5089": "Option '{0}' cannot be specified when option 'jsx' is '{1}'.",
|
||||
"Option_0_cannot_be_specified_when_option_target_is_ES3_5048": "'target' 옵션이 'ES3'인 경우 '{0}' 옵션을 지정할 수 없습니다.",
|
||||
"Option_0_cannot_be_specified_with_option_1_5053": "'{0}' 옵션은 '{1}' 옵션과 함께 지정할 수 없습니다.",
|
||||
"Option_0_cannot_be_specified_without_specifying_option_1_5052": "'{1}' 옵션을 지정하지 않고 '{0}' 옵션을 지정할 수 없습니다.",
|
||||
@ -828,7 +834,6 @@
|
||||
"Option_build_must_be_the_first_command_line_argument_6369": "'--build' 옵션은 첫 번째 명령줄 인수여야 합니다.",
|
||||
"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074": "'--incremental' 옵션은 tsconfig를 사용하거나 단일 파일로 내보내서 지정하거나 '--tsBuildInfoFile' 옵션을 지정할 때만 지정할 수 있습니다.",
|
||||
"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047": "'isolatedModules' 옵션은 '--module' 옵션을 지정하거나 'target' 옵션이 'ES2015' 이상인 경우에만 사용할 수 있습니다.",
|
||||
"Option_paths_cannot_be_used_without_specifying_baseUrl_option_5060": "'paths' 옵션은 '--baseUrl' 옵션을 지정하지 않고 사용할 수 없습니다.",
|
||||
"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042": "명령줄에서 'project' 옵션을 원본 파일과 혼합하여 사용할 수 없습니다.",
|
||||
"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071": "'--resolveJsonModule' 옵션은 모듈 코드 생성이 'commonjs', 'amd', 'es2015' 또는 'esNext'일 경우에만 지정할 수 있습니다.",
|
||||
"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070": "'node' 모듈 확인 전략 없이 '--resolveJsonModule' 옵션을 지정할 수 없습니다.",
|
||||
@ -920,7 +925,7 @@
|
||||
"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416": "'{1}' 형식의 '{0}' 속성을 기본 형식 '{2}'의 동일한 속성에 할당할 수 없습니다.",
|
||||
"Property_0_in_type_1_is_not_assignable_to_type_2_2603": "'{1}' 형식의 '{0}' 속성을 '{2}' 형식에 할당할 수 없습니다.",
|
||||
"Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2_18015": "'{1}' 형식의 '{0}' 속성이 '{2}' 형식 내에서 액세스할 수 없는 다른 멤버를 참조합니다.",
|
||||
"Property_0_is_a_static_member_of_type_1_2576": "'{0}' 속성이 '{1}' 형식의 정적 멤버가 아님",
|
||||
"Property_0_is_a_static_member_of_type_1_2576": "'{0}' 속성이 '{1}' 형식의 정적 멤버가 아닙니다.",
|
||||
"Property_0_is_declared_but_its_value_is_never_read_6138": "속성 '{0}'이(가) 선언은 되었지만 해당 값이 읽히지는 않았습니다.",
|
||||
"Property_0_is_incompatible_with_index_signature_2530": "'{0}' 속성이 인덱스 시그니처와 호환되지 않습니다.",
|
||||
"Property_0_is_incompatible_with_rest_element_type_2573": "'{0}' 속성이 rest 요소 형식과 호환되지 않습니다.",
|
||||
@ -949,6 +954,7 @@
|
||||
"Property_or_signature_expected_1131": "속성 또는 서명이 필요합니다.",
|
||||
"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328": "속성 값은 문자열 리터럴, 숫자 리터럴, 'true', 'false', 'null', 개체 리터럴 또는 배열 리터럴이어야 합니다.",
|
||||
"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179": "'ES5' 또는 'ES3'을 대상으로 할 경우 'for-of', spread 및 소멸의 반복 가능한 개체를 완벽히 지원합니다.",
|
||||
"Provides_a_root_package_name_when_using_outFile_with_declarations_1390": "Provides a root package name when using outFile with declarations.",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098": "내보낸 클래스의 공용 메서드 '{0}'이(가) 외부 모듈 {2}의 '{1}' 이름을 가지고 있거나 사용 중이지만 명명할 수 없습니다.",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099": "내보낸 클래스의 공용 메서드 '{0}'이(가) 프라이빗 모듈 '{2}'의 '{1}' 이름을 가지고 있거나 사용 중입니다.",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100": "내보낸 클래스의 공용 메서드의 '{0}'이(가) 프라이빗 이름 '{1}'을(를) 가지고 있거나 사용 중입니다.",
|
||||
@ -1075,6 +1081,7 @@
|
||||
"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060": "파일을 내보낼 때 사용할 줄 시퀀스의 끝 지정: 'CRLF'(dos) 또는 'LF'(unix).",
|
||||
"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004": "소스 위치 대신 디버거가 TypeScript 파일을 찾아야 하는 위치를 지정하세요.",
|
||||
"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6003": "생성된 위치 대신 디버거가 맵 파일을 찾아야 하는 위치를 지정하세요.",
|
||||
"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238": "Specify the module specifier to be used to import the `jsx` and `jsxs` factory functions from. eg, react",
|
||||
"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058": "입력 파일의 루트 디렉터리를 지정하세요. --outDir이 포함된 출력 디렉터리 구조를 제어하는 데 사용됩니다.",
|
||||
"Split_all_invalid_type_only_imports_1367": "잘못된 형식 전용 가져오기 모두 분할",
|
||||
"Split_into_two_separate_import_declarations_1366": "두 개의 개별 가져오기 선언으로 분할",
|
||||
@ -1107,6 +1114,7 @@
|
||||
"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358": "태그가 지정된 템플릿 식은 선택적 체인에서 사용할 수 없습니다.",
|
||||
"Target_allows_only_0_element_s_but_source_may_have_more_2621": "대상에서 {0}개 요소만 허용하지만, 소스에 더 많이 있을 수 있습니다.",
|
||||
"Target_requires_0_element_s_but_source_may_have_fewer_2620": "대상에 {0}개 요소가 필요하지만, 소스에 더 적게 있을 수 있습니다.",
|
||||
"Template_literal_type_argument_0_is_not_literal_type_or_a_generic_type_2793": "Template literal type argument '{0}' is not literal type or a generic type.",
|
||||
"The_0_modifier_can_only_be_used_in_TypeScript_files_8009": "'{0}' 한정자는 TypeScript 파일에서만 사용할 수 있습니다.",
|
||||
"The_0_operator_cannot_be_applied_to_type_symbol_2469": "'{0}' 연산자는 'symbol' 유형에 적용될 수 없습니다.",
|
||||
"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447": "'{0}' 연산자는 부울 형식에 사용할 수 없습니다. 대신 '{1}'을(를) 사용하세요.",
|
||||
@ -1116,6 +1124,7 @@
|
||||
"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496": "'arguments' 개체는 ES3 및 ES5의 화살표 함수에서 참조할 수 없습니다. 표준 함수 식을 사용해 보세요.",
|
||||
"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522": "'arguments' 개체는 ES3 및 ES5의 비동기 함수 또는 메서드에서 참조할 수 없습니다. 표준 함수 또는 메서드를 사용해 보세요.",
|
||||
"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313": "'if' 문의 본문이 빈 문이면 안 됩니다.",
|
||||
"The_bundledPackageName_option_must_be_provided_when_using_outFile_and_node_module_resolution_with_de_1391": "The `bundledPackageName` option must be provided when using outFile and node module resolution with declaration emit.",
|
||||
"The_character_set_of_the_input_files_6163": "입력 파일의 문자 집합입니다.",
|
||||
"The_containing_arrow_function_captures_the_global_value_of_this_7041": "포함하는 화살표 함수는 'this'의 전역 값을 캡처합니다.",
|
||||
"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563": "제어 흐름 분석에 대해 포함된 함수 또는 모듈 본문이 너무 큽니다.",
|
||||
|
||||
@ -373,6 +373,7 @@
|
||||
"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126": "Nie podano pliku zawierającego i nie można określić katalogu głównego. Pomijanie wyszukiwania w folderze „node_modules”.",
|
||||
"Containing_function_is_not_an_arrow_function_95128": "Funkcja zawierająca nie jest funkcją strzałki",
|
||||
"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352": "Konwersja typu „{0}” na typ „{1}” może być błędem, ponieważ żaden z tych typów nie pokrywa się w wystarczającym stopniu z drugim. Jeśli było to zamierzone, najpierw przekonwertuj wyrażenie na typ „unknown”.",
|
||||
"Convert_0_to_1_in_0_95003": "Konwertuj element „{0}” na element „{1} w {0}”.",
|
||||
"Convert_0_to_mapped_object_type_95055": "Konwertuj element „{0}” na zamapowany typ obiektu",
|
||||
"Convert_all_constructor_functions_to_classes_95045": "Przekonwertuj wszystkie funkcje konstruktora na klasy",
|
||||
"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374": "Konwertuj wszystkie importy nieużywane jako wartość na importy dotyczące tylko typu",
|
||||
@ -382,6 +383,7 @@
|
||||
"Convert_all_to_async_functions_95066": "Konwertuj wszystko na funkcje asynchroniczne",
|
||||
"Convert_all_to_bigint_numeric_literals_95092": "Konwertuj wszystko na literały liczbowe typu bigint",
|
||||
"Convert_all_to_default_imports_95035": "Przekonwertuj wszystko na domyślne importowanie",
|
||||
"Convert_all_type_literals_to_mapped_type_95021": "Konwertuj wszystkie literały typu na typ zamapowany",
|
||||
"Convert_arrow_function_or_function_expression_95122": "Konwertuj funkcję strzałki lub wyrażenie funkcji",
|
||||
"Convert_const_to_let_95093": "Konwertuj zmienne „const” na „let”",
|
||||
"Convert_default_export_to_named_export_95061": "Konwertuj eksport domyślny na nazwany eksport",
|
||||
@ -611,6 +613,7 @@
|
||||
"Generate_get_and_set_accessors_for_all_overriding_properties_95119": "Generuj metody dostępu „get” i „set” dla wszystkich właściwości przesłaniających",
|
||||
"Generates_a_CPU_profile_6223": "Generuje profil procesora CPU.",
|
||||
"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000": "Generuje mapę źródła dla poszczególnych plików „.d.ts”.",
|
||||
"Generates_an_event_trace_and_a_list_of_types_6237": "Generates an event trace and a list of types.",
|
||||
"Generates_corresponding_d_ts_file_6002": "Generuje odpowiadający plik „d.ts”.",
|
||||
"Generates_corresponding_map_file_6043": "Generuje odpowiadający plik „map”.",
|
||||
"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025": "Dla generatora niejawnie określono zwracany typ „{0}”, ponieważ nie zwraca on żadnych wartości. Rozważ podanie adnotacji zwracanego typu.",
|
||||
@ -655,6 +658,7 @@
|
||||
"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066": "W deklaracjach wyliczenia otoczenia inicjator składowej musi być wyrażeniem stałym.",
|
||||
"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432": "W przypadku wyliczenia z wieloma deklaracjami tylko jedna deklaracja może pominąć inicjator dla pierwszego elementu wyliczenia.",
|
||||
"Include_modules_imported_with_json_extension_6197": "Uwzględnij moduły zaimportowane z rozszerzeniem „json”",
|
||||
"Include_undefined_in_index_signature_results_6800": "Include 'undefined' in index signature results",
|
||||
"Index_signature_in_type_0_only_permits_reading_2542": "Sygnatura indeksu w typie „{0}” zezwala tylko na odczytywanie.",
|
||||
"Index_signature_is_missing_in_type_0_2329": "Brak sygnatury indeksu w typie „{0}”.",
|
||||
"Index_signatures_are_incompatible_2330": "Sygnatury indeksów są niezgodne.",
|
||||
@ -785,6 +789,7 @@
|
||||
"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515": "Klasa nieabstrakcyjna „{0}” nie implementuje odziedziczonej abstrakcyjnej składowej „{1}” z klasy „{2}”.",
|
||||
"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653": "Wyrażenie klasy nieabstrakcyjnej nie implementuje odziedziczonej abstrakcyjnej składowej „{0}” z klasy „{1}”.",
|
||||
"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013": "Asercji o wartości innej niż null można używać tylko w plikach TypeScript.",
|
||||
"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090": "Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?",
|
||||
"Non_simple_parameter_declared_here_1348": "W tym miejscu zadeklarowano parametr inny niż prosty.",
|
||||
"Not_all_code_paths_return_a_value_7030": "Nie wszystkie ścieżki w kodzie zwracają wartość.",
|
||||
"Not_all_constituents_of_type_0_are_callable_2756": "Nie wszystkie składowe typu „{0}” są wywoływalne.",
|
||||
@ -820,6 +825,7 @@
|
||||
"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230": "Opcję „{0}” można określić tylko w pliku „tsconfig.json” albo ustawić na wartość „false” lub „null” w wierszu polecenia.",
|
||||
"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064": "Opcję „{0}” można określić tylko w pliku „tsconfig.json” albo ustawić na wartość „null” w wierszu polecenia.",
|
||||
"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051": "Opcja „{0}” może być używana tylko w przypadku podania opcji „--inlineSourceMap” lub „--sourceMap”.",
|
||||
"Option_0_cannot_be_specified_when_option_jsx_is_1_5089": "Option '{0}' cannot be specified when option 'jsx' is '{1}'.",
|
||||
"Option_0_cannot_be_specified_when_option_target_is_ES3_5048": "Nie można określić opcji „{0}”, jeśli opcja „target” ma wartość „ES3”.",
|
||||
"Option_0_cannot_be_specified_with_option_1_5053": "Opcji „{0}” nie można określić razem z opcją „{1}”.",
|
||||
"Option_0_cannot_be_specified_without_specifying_option_1_5052": "Opcji „{0}” nie można określić bez opcji „{1}”.",
|
||||
@ -828,7 +834,6 @@
|
||||
"Option_build_must_be_the_first_command_line_argument_6369": "Opcja „--build” musi być pierwszym argumentem wiersza polecenia.",
|
||||
"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074": "Opcję „--incremental” można określić tylko za pomocą pliku tsconfig, emitując do pojedynczego pliku lub gdy określono opcję „--tsBuildInfoFile”.",
|
||||
"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047": "Opcji „isolatedModules” można użyć tylko wtedy, gdy podano opcję „--module” lub opcja „target” określa cel „ES2015” lub wyższy.",
|
||||
"Option_paths_cannot_be_used_without_specifying_baseUrl_option_5060": "Opcji „paths” nie można użyć bez podawania opcji „--baseUrl”.",
|
||||
"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042": "Nie można mieszać opcji „project” z plikami źródłowymi w wierszu polecenia.",
|
||||
"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071": "Opcję „--resolveJsonModule” można określić tylko wtedy, gdy generacja kodu modułu to „commonjs”, „amd”, „es2015” lub „esNext”.",
|
||||
"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070": "Nie można określić opcji „--resolveJsonModule” bez strategii rozpoznawania modułów „node”.",
|
||||
@ -949,6 +954,7 @@
|
||||
"Property_or_signature_expected_1131": "Oczekiwano właściwości lub sygnatury.",
|
||||
"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328": "Wartością właściwości może być jedynie literał ciągu, literał numeryczny, wartości „true”, „false” i „null”, literał obiektu i literał tablicy.",
|
||||
"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179": "Udostępnij pełne wsparcie dla elementów iterowanych w elementach „for-of”, rozpiętości i usuwania, gdy elementem docelowym jest „ES5” lub „ES3”.",
|
||||
"Provides_a_root_package_name_when_using_outFile_with_declarations_1390": "Provides a root package name when using outFile with declarations.",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098": "Metoda publiczna „{0}” wyeksportowanej klasy ma nazwę „{1}” z modułu zewnętrznego {2} lub używa tej nazwy, ale nie można jej nazwać.",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099": "Metoda publiczna „{0}” wyeksportowanej klasy ma nazwę „{1}” z modułu prywatnego „{2}” lub używa tej nazwy.",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100": "Metoda publiczna „{0}” wyeksportowanej klasy ma nazwę prywatną „{1}” lub używa tej nazwy.",
|
||||
@ -1075,6 +1081,7 @@
|
||||
"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060": "Określ sekwencję końca wiersza, która ma być używana podczas emitowania plików: „CRLF” (dos) lub „LF” (unix).",
|
||||
"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004": "Określ lokalizację, w której debuger ma szukać plików TypeScript zamiast szukania w lokalizacjach źródłowych.",
|
||||
"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6003": "Określ lokalizację, w której debuger ma szukać plików map zamiast szukania w wygenerowanych lokalizacjach.",
|
||||
"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238": "Specify the module specifier to be used to import the `jsx` and `jsxs` factory functions from. eg, react",
|
||||
"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058": "Określ katalog główny plików wejściowych. Strukturą katalogów wyjściowych można sterować przy użyciu opcji --outDir.",
|
||||
"Split_all_invalid_type_only_imports_1367": "Podziel wszystkie nieprawidłowe importy dotyczące tylko typu",
|
||||
"Split_into_two_separate_import_declarations_1366": "Podziel na dwie osobne deklaracje importu",
|
||||
@ -1107,6 +1114,7 @@
|
||||
"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358": "Oznakowane wyrażenia szablonu nie są dozwolone w opcjonalnym łańcuchu.",
|
||||
"Target_allows_only_0_element_s_but_source_may_have_more_2621": "Liczba elementów dozwolonych przez element docelowy to {0}, ale źródło może mieć ich więcej.",
|
||||
"Target_requires_0_element_s_but_source_may_have_fewer_2620": "Liczba elementów wymaganych przez element docelowy to {0}, ale źródło może mieć ich mniej.",
|
||||
"Template_literal_type_argument_0_is_not_literal_type_or_a_generic_type_2793": "Template literal type argument '{0}' is not literal type or a generic type.",
|
||||
"The_0_modifier_can_only_be_used_in_TypeScript_files_8009": "Modyfikatora „{0}” można używać tylko w plikach TypeScript.",
|
||||
"The_0_operator_cannot_be_applied_to_type_symbol_2469": "Nie można zastosować operatora „{0}” do typu „symbol”.",
|
||||
"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447": "Operator „{0}” nie jest dozwolony w przypadku typów logicznych. Zamiast tego rozważ użycie operatora „{1}”.",
|
||||
@ -1116,6 +1124,7 @@
|
||||
"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496": "Obiekt „arguments” nie może być przywoływany w funkcji strzałkowej w językach ES3 i ES5. Rozważ użycie standardowego wyrażenia funkcji.",
|
||||
"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522": "Obiekt „arguments” nie może być przywoływany w asynchronicznej funkcji lub metodzie w języku ES3 i ES5. Rozważ użycie standardowej funkcji lub metody.",
|
||||
"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313": "Treść instrukcji „if” nie może być pustą instrukcją.",
|
||||
"The_bundledPackageName_option_must_be_provided_when_using_outFile_and_node_module_resolution_with_de_1391": "The `bundledPackageName` option must be provided when using outFile and node module resolution with declaration emit.",
|
||||
"The_character_set_of_the_input_files_6163": "Zestaw znaków plików wejściowych.",
|
||||
"The_containing_arrow_function_captures_the_global_value_of_this_7041": "Zawierająca funkcja strzałki przechwytuje wartość globalną parametru „this”.",
|
||||
"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563": "Treść zawierającej funkcji lub modułu jest za duża do analizy przepływu sterowania.",
|
||||
|
||||
@ -159,7 +159,7 @@
|
||||
"All_declarations_of_an_abstract_method_must_be_consecutive_2516": "Все объявления абстрактных методов должны быть последовательными.",
|
||||
"All_destructured_elements_are_unused_6198": "Все деструктурированные элементы не используются.",
|
||||
"All_imports_in_import_declaration_are_unused_6192": "Ни один из импортов в объявлении импорта не используется.",
|
||||
"All_type_parameters_are_unused_6205": "Все параметры типа не используются",
|
||||
"All_type_parameters_are_unused_6205": "Ни один из параметров типа не используется.",
|
||||
"All_variables_are_unused_6199": "Ни одна переменная не используется.",
|
||||
"Allow_accessing_UMD_globals_from_modules_95076": "Разрешение обращения к глобальным значениям UMD из модулей.",
|
||||
"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011": "Разрешить импорт по умолчанию из модулей без экспорта по умолчанию. Это не повлияет на выведение кода — только на проверку типов.",
|
||||
@ -191,7 +191,7 @@
|
||||
"An_export_assignment_cannot_have_modifiers_1120": "Назначение экспорта не может иметь модификаторы.",
|
||||
"An_export_declaration_can_only_be_used_in_a_module_1233": "Объявление экспорта может быть использовано только в модуле.",
|
||||
"An_export_declaration_cannot_have_modifiers_1193": "Объявление экспорта не может иметь модификаторы.",
|
||||
"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345": "Выражение типа \"void\" не может быть проверено на истинность",
|
||||
"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345": "Выражение типа \"void\" не может быть проверено на истинность.",
|
||||
"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198": "Расширенное escape-значение в Юникоде должно быть в пределах от 0x0 до 0x10FFFF включительно.",
|
||||
"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351": "Идентификатор или ключевое слово не может следовать непосредственно за числовым литералом.",
|
||||
"An_implementation_cannot_be_declared_in_ambient_contexts_1183": "Реализацию невозможно объявить в окружающих контекстах.",
|
||||
@ -282,7 +282,7 @@
|
||||
"Cannot_find_global_value_0_2468": "Не удается найти глобальное значение \"{0}\".",
|
||||
"Cannot_find_lib_definition_for_0_2726": "Не удается найти определение lib для \"{0}\".",
|
||||
"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727": "Не удается найти определение lib для \"{0}\". Вы имели в виду \"{1}\"?",
|
||||
"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732": "Не удается найти модуль \"{0}\". Рекомендуется использовать \"--resolveJsonModule\" для импорта модуля с расширением \".json\".",
|
||||
"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732": "Не удается найти модуль \"{0}\". Рекомендуется использовать параметр \"--resolveJsonModule\" для импорта модуля с расширением \".json\".",
|
||||
"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_th_2792": "Не найден модуль \"{0}\". Хотели ли вы задать значение \"node\" для параметра \"moduleResolution\" или добавить псевдонимы в параметр \"paths\"?",
|
||||
"Cannot_find_module_0_or_its_corresponding_type_declarations_2307": "Не удается найти модуль \"{0}\" или связанные с ним объявления типов.",
|
||||
"Cannot_find_name_0_2304": "Не удается найти имя \"{0}\".",
|
||||
@ -373,6 +373,7 @@
|
||||
"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126": "Содержащий файл не указан, корневой каталог невозможно определить. Выполняется пропуск поиска в папке node_modules.",
|
||||
"Containing_function_is_not_an_arrow_function_95128": "Содержащая функция не является стрелочной",
|
||||
"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352": "Преобразование типа \"{0}\" в тип \"{1}\" может привести к ошибке, так как ни один из типов не перекрывается с другим в достаточной степени. Если это сделано намеренно, сначала преобразуйте выражение в \"unknown\".",
|
||||
"Convert_0_to_1_in_0_95003": "Преобразовать \"{0}\" в \"{1} в {0}\"",
|
||||
"Convert_0_to_mapped_object_type_95055": "Преобразовать \"{0}\" в тип сопоставленного объекта",
|
||||
"Convert_all_constructor_functions_to_classes_95045": "Преобразовать все функции конструктора в классы",
|
||||
"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374": "Преобразовать все импорты, не используемые в качестве значения, в импорты, затрагивающие только тип",
|
||||
@ -382,6 +383,7 @@
|
||||
"Convert_all_to_async_functions_95066": "Преобразовать все в асинхронные функции",
|
||||
"Convert_all_to_bigint_numeric_literals_95092": "Преобразовать все в числовые литералы типа bigint",
|
||||
"Convert_all_to_default_imports_95035": "Преобразовать все в импорт по умолчанию",
|
||||
"Convert_all_type_literals_to_mapped_type_95021": "Преобразовать все литералы типов в сопоставленный тип",
|
||||
"Convert_arrow_function_or_function_expression_95122": "Преобразовать стрелочную функцию или выражение функции",
|
||||
"Convert_const_to_let_95093": "Преобразовать \"const\" в \"let\"",
|
||||
"Convert_default_export_to_named_export_95061": "Преобразовать экспорт по умолчанию в именованный экспорт",
|
||||
@ -485,7 +487,7 @@
|
||||
"Duplicate_number_index_signature_2375": "Повторяющаяся сигнатура числового индекса.",
|
||||
"Duplicate_property_0_2718": "Повторяющееся свойство \"{0}\".",
|
||||
"Duplicate_string_index_signature_2374": "Повторяющаяся сигнатура строкового индекса.",
|
||||
"Dynamic_import_cannot_have_type_arguments_1326": "При динамическом импорте не могут использоваться аргументы типов",
|
||||
"Dynamic_import_cannot_have_type_arguments_1326": "При динамическом импорте не могут использоваться аргументы типов.",
|
||||
"Dynamic_import_must_have_one_specifier_as_an_argument_1324": "При динамическом импорте необходимо указать один описатель в качестве аргумента.",
|
||||
"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036": "Описатель динамического импорта должен иметь тип \"string\", но имеет тип \"{0}\".",
|
||||
"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system__1323": "Динамические импорты поддерживаются только в том случае, если флаг \"--module\" имеет значение \"es2020\", \"esnext\", \"commonjs\", \"amd\", \"system\" или \"umd\".",
|
||||
@ -611,6 +613,7 @@
|
||||
"Generate_get_and_set_accessors_for_all_overriding_properties_95119": "Создать методы доступа get и set для всех переопределяемых свойств",
|
||||
"Generates_a_CPU_profile_6223": "Создает профиль ЦП.",
|
||||
"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000": "Создает сопоставитель с исходным кодом для каждого соответствующего файла \".d.ts\".",
|
||||
"Generates_an_event_trace_and_a_list_of_types_6237": "Generates an event trace and a list of types.",
|
||||
"Generates_corresponding_d_ts_file_6002": "Создает соответствующий D.TS-файл.",
|
||||
"Generates_corresponding_map_file_6043": "Создает соответствующий файл с расширением \".map\".",
|
||||
"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025": "Генератор неявно имеет тип yield \"{0}\", так как он не предоставляет никаких значений. Рекомендуется указать заметку с типом возвращаемого значения.",
|
||||
@ -655,6 +658,7 @@
|
||||
"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066": "Во внешних объявлениях перечислений инициализатор элемента должен быть константным выражением.",
|
||||
"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432": "В перечислении с несколькими объявлениями только одно объявление может опустить инициализатор для своего первого элемента перечисления.",
|
||||
"Include_modules_imported_with_json_extension_6197": "Включать модули, импортированные с расширением .json",
|
||||
"Include_undefined_in_index_signature_results_6800": "Include 'undefined' in index signature results",
|
||||
"Index_signature_in_type_0_only_permits_reading_2542": "Сигнатура индекса в типе \"{0}\" разрешает только чтение.",
|
||||
"Index_signature_is_missing_in_type_0_2329": "В типе \"{0}\" отсутствует сигнатура индекса.",
|
||||
"Index_signatures_are_incompatible_2330": "Сигнатуры индекса несовместимы.",
|
||||
@ -785,6 +789,7 @@
|
||||
"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515": "Класс \"{0}\", не являющийся абстрактным, не реализует наследуемый абстрактный элемент \"{1}\" класса \"{2}\".",
|
||||
"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653": "Выражение неабстрактного класса не реализует унаследованный абстрактный элемент \"{0}\" класса \"{1}\".",
|
||||
"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013": "Утверждения, отличные от NULL, можно использовать только в файлах TypeScript.",
|
||||
"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090": "Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?",
|
||||
"Non_simple_parameter_declared_here_1348": "Здесь объявлен не простой параметр.",
|
||||
"Not_all_code_paths_return_a_value_7030": "Не все пути к коду возвращают значение.",
|
||||
"Not_all_constituents_of_type_0_are_callable_2756": "Не все составляющие типа \"{0}\" можно вызвать.",
|
||||
@ -820,6 +825,7 @@
|
||||
"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230": "Параметр \"{0}\" можно указать только в файле \"tsconfig.json\" либо задать значение \"false\" или \"null\" для этого параметра в командной строке.",
|
||||
"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064": "Параметр \"{0}\" можно указать только в файле \"tsconfig.json\" либо задать значение \"null\" для этого параметра в командной строке.",
|
||||
"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051": "Параметр \"{0}\" можно использовать только при указании \"--inlineSourceMap\" или \"--sourceMap\".",
|
||||
"Option_0_cannot_be_specified_when_option_jsx_is_1_5089": "Option '{0}' cannot be specified when option 'jsx' is '{1}'.",
|
||||
"Option_0_cannot_be_specified_when_option_target_is_ES3_5048": "Параметр \"{0}\" не может быть указан, если параметр \"target\" имеет значение \"ES3\".",
|
||||
"Option_0_cannot_be_specified_with_option_1_5053": "Параметр \"{0}\" невозможно указать с помощью параметра \"{1}\".",
|
||||
"Option_0_cannot_be_specified_without_specifying_option_1_5052": "Параметр \"{0}\" невозможно указать без указания параметра \"{1}\".",
|
||||
@ -828,7 +834,6 @@
|
||||
"Option_build_must_be_the_first_command_line_argument_6369": "Параметр \"--build\" должен быть первым аргументом командной строки.",
|
||||
"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074": "Параметр \"--incremental\" можно указать только с помощью tsconfig, выполнив вывод в отдельный файл, либо когда параметр \"--tsBuildInfoFile\".",
|
||||
"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047": "Параметр isolatedModules можно использовать, только если указан параметр --module или если параметр target — ES2015 или выше.",
|
||||
"Option_paths_cannot_be_used_without_specifying_baseUrl_option_5060": "Параметр paths невозможно использовать без указания параметра \"--baseUrl\".",
|
||||
"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042": "Параметр project не может быть указан вместе с исходными файлами в командной строке.",
|
||||
"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071": "Параметр \"--resolveJsonModule\" можно указывать, только когда для создания кода модуля указано значение \"commonjs\", \"amd\", \"es2015\" или \"esNext\".",
|
||||
"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070": "Параметр \"--resolveJsonModule\" нельзя указать без стратегии разрешения модуля node.",
|
||||
@ -894,7 +899,7 @@
|
||||
"Private_identifiers_are_not_allowed_in_variable_declarations_18029": "Закрытые идентификаторы запрещено использовать в объявлениях переменных.",
|
||||
"Private_identifiers_are_not_allowed_outside_class_bodies_18016": "Закрытые идентификаторы запрещено использовать вне тела классов.",
|
||||
"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028": "Закрытые идентификаторы доступны только при разработке для ECMAScript 2015 или более поздних версий.",
|
||||
"Private_identifiers_cannot_be_used_as_parameters_18009": "Закрытые идентификаторы запрещено использовать в качестве параметров",
|
||||
"Private_identifiers_cannot_be_used_as_parameters_18009": "Закрытые идентификаторы не могут использоваться в качестве параметров.",
|
||||
"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105": "Не удается обратиться к закрытому или защищенному члену \"{0}\" в параметре типа.",
|
||||
"Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363": "Не удается собрать проект \"{0}\", так как его зависимость \"{1}\" содержит ошибки",
|
||||
"Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383": "Не удается собрать проект \"{0}\", так как его зависимость \"{1}\" не была собрана",
|
||||
@ -920,7 +925,7 @@
|
||||
"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416": "Свойство \"{0}\" в типе \"{1}\" невозможно присвоить тому же свойству в базовом типе \"{2}\".",
|
||||
"Property_0_in_type_1_is_not_assignable_to_type_2_2603": "Свойство \"{0}\" в типе \"{1}\" не может быть присвоено типу \"{2}\".",
|
||||
"Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2_18015": "Свойство \"{0}\" в типе \"{1}\" ссылается на другой член, к которому невозможно обратиться из типа \"{2}\".",
|
||||
"Property_0_is_a_static_member_of_type_1_2576": "Свойство \"{0}\" является членом типа \"{1}\"",
|
||||
"Property_0_is_a_static_member_of_type_1_2576": "Свойство \"{0}\" является статическим элементом типа \"{1}\".",
|
||||
"Property_0_is_declared_but_its_value_is_never_read_6138": "Свойство \"{0}\" объявлено, но его значение не было прочитано.",
|
||||
"Property_0_is_incompatible_with_index_signature_2530": "Свойство \"{0}\" несовместимо с сигнатурой индекса.",
|
||||
"Property_0_is_incompatible_with_rest_element_type_2573": "Свойство \"{0}\" несовместимо с типом элементов rest.",
|
||||
@ -949,6 +954,7 @@
|
||||
"Property_or_signature_expected_1131": "Ожидалось свойство или сигнатура.",
|
||||
"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328": "Значение свойства может быть только строковым или числовым литералом, True, False, Null, объектным литералом либо литералом массива.",
|
||||
"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179": "Предоставление полной поддержки для итерируемых элементов в for-of, расширение и деструктуризация при выборе целевой платформы ES5 или ES3.",
|
||||
"Provides_a_root_package_name_when_using_outFile_with_declarations_1390": "Provides a root package name when using outFile with declarations.",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098": "Открытый метод \"{0}\" экспортированного класса имеет или использует имя \"{1}\" из внешнего модуля {2}, но не может быть именован.",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099": "Открытый метод \"{0}\" экспортированного класса имеет или использует имя \"{1}\" из закрытого модуля \"{2}\".",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100": "Открытый метод \"{0}\" экспортированного класса имеет или использует закрытое имя \"{1}\".",
|
||||
@ -1075,6 +1081,7 @@
|
||||
"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060": "Укажите окончание последовательности строки для использования при порождении файлов: CRLF (DOS) или LF (UNIX).",
|
||||
"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004": "Укажите расположение, в котором отладчик должен найти файлы TypeScript вместо исходных расположений.",
|
||||
"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6003": "Укажите расположение, в котором отладчик должен найти файлы карты, вместо созданных расположений.",
|
||||
"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238": "Specify the module specifier to be used to import the `jsx` and `jsxs` factory functions from. eg, react",
|
||||
"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058": "Укажите корневой каталог входных файлов. Используйте его для управления структурой выходных каталогов с --outDir.",
|
||||
"Split_all_invalid_type_only_imports_1367": "Разделение всех недопустимых импортов, затрагивающих только тип",
|
||||
"Split_into_two_separate_import_declarations_1366": "Разделение на два отдельных объявления импорта",
|
||||
@ -1107,6 +1114,7 @@
|
||||
"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358": "Выражения шаблона с тегами запрещено использовать в необязательной цепочке.",
|
||||
"Target_allows_only_0_element_s_but_source_may_have_more_2621": "Целевой объект разрешает только следующее число элементов — {0}, но источник может иметь больше.",
|
||||
"Target_requires_0_element_s_but_source_may_have_fewer_2620": "Целевой объект требует следующего числа элементов — {0}, но источник может иметь меньше.",
|
||||
"Template_literal_type_argument_0_is_not_literal_type_or_a_generic_type_2793": "Template literal type argument '{0}' is not literal type or a generic type.",
|
||||
"The_0_modifier_can_only_be_used_in_TypeScript_files_8009": "Модификатор \"{0}\" можно использовать только в файлах TypeScript.",
|
||||
"The_0_operator_cannot_be_applied_to_type_symbol_2469": "Оператор \"{0}\" невозможно применить к типу Symbol.",
|
||||
"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447": "Оператор \"{0}\" не разрешен для логических типов. Попробуйте использовать \"{1}\" вместо него.",
|
||||
@ -1116,6 +1124,7 @@
|
||||
"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496": "Нельзя ссылаться на объект типа arguments в стрелочной функции ES3 и ES5. Используйте стандартное выражение функции.",
|
||||
"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522": "На объект arguments невозможно указать ссылку в асинхронной функции или методе в ES3 и ES5. Попробуйте использовать стандартную функцию или метод.",
|
||||
"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313": "Текст оператора if не может быть пустым.",
|
||||
"The_bundledPackageName_option_must_be_provided_when_using_outFile_and_node_module_resolution_with_de_1391": "The `bundledPackageName` option must be provided when using outFile and node module resolution with declaration emit.",
|
||||
"The_character_set_of_the_input_files_6163": "Кодировка входных файлов.",
|
||||
"The_containing_arrow_function_captures_the_global_value_of_this_7041": "Содержащая стрелочная функция фиксирует глобальное значение \"this\".",
|
||||
"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563": "Содержащая функция или текст модуля слишком велики для анализа потока управления.",
|
||||
@ -1398,7 +1407,7 @@
|
||||
"_0_modifier_cannot_be_used_in_an_ambient_context_1040": "Модификатор \"{0}\" не может использоваться в окружающем контексте.",
|
||||
"_0_modifier_cannot_be_used_with_1_modifier_1243": "Модификатор \"{0}\" не может использоваться с модификатором \"{1}\".",
|
||||
"_0_modifier_cannot_be_used_with_a_class_declaration_1041": "Модификатор \"{0}\" не может использоваться с объявлением класса.",
|
||||
"_0_modifier_cannot_be_used_with_a_private_identifier_18019": "Модификатор \"{0}\" запрещено использовать с закрытым идентификатором.",
|
||||
"_0_modifier_cannot_be_used_with_a_private_identifier_18019": "Модификатор \"{0}\" не может использоваться с закрытым идентификатором.",
|
||||
"_0_modifier_must_precede_1_modifier_1029": "Модификатор \"{0}\" должен предшествовать модификатору \"{1}\".",
|
||||
"_0_needs_an_explicit_type_annotation_2782": "Для \"{0}\" требуется явная заметка с типом.",
|
||||
"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702": "\"{0}\" относится только к типу, а здесь используется как пространство имен.",
|
||||
|
||||
@ -159,7 +159,7 @@
|
||||
"All_declarations_of_an_abstract_method_must_be_consecutive_2516": "Soyut metoda ait tüm bildirimler ardışık olmalıdır.",
|
||||
"All_destructured_elements_are_unused_6198": "Yapısı bozulan öğelerin hiçbiri kullanılmıyor.",
|
||||
"All_imports_in_import_declaration_are_unused_6192": "İçeri aktarma bildirimindeki hiçbir içeri aktarma kullanılmadı.",
|
||||
"All_type_parameters_are_unused_6205": "Tüm tür parametreleri kullanılmıyor",
|
||||
"All_type_parameters_are_unused_6205": "Tüm tür parametreleri kullanılmıyor.",
|
||||
"All_variables_are_unused_6199": "Hiçbir değişken kullanılmıyor.",
|
||||
"Allow_accessing_UMD_globals_from_modules_95076": "Modüllerden UMD genel değişkenlerine erişmeye izin verin.",
|
||||
"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011": "Varsayılan dışarı aktarmaya sahip olmayan modüllerde varsayılan içeri aktarmalara izin verin. Bu işlem kod üretimini etkilemez, yalnızca tür denetimini etkiler.",
|
||||
@ -191,7 +191,7 @@
|
||||
"An_export_assignment_cannot_have_modifiers_1120": "Dışarı aktarma ataması, değiştiricilere sahip olamaz.",
|
||||
"An_export_declaration_can_only_be_used_in_a_module_1233": "Dışarı aktarma bildirimi yalnızca bir modülde kullanılabilir.",
|
||||
"An_export_declaration_cannot_have_modifiers_1193": "Dışarı aktarma bildirimi, değiştiricilere sahip olamaz.",
|
||||
"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345": "'void' türünde bir ifade doğruluk için test edilemiyor",
|
||||
"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345": "'void' türünde bir ifade doğruluk bakımından test edilemiyor.",
|
||||
"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198": "Genişletilmiş Unicode kaçış değeri, 0x0 ve 0x10FFFF dahil olmak üzere bu değerler arasında olmalıdır.",
|
||||
"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351": "Tanımlayıcı veya anahtar sözcük, sayısal bir sabit değerden hemen sonra gelemez.",
|
||||
"An_implementation_cannot_be_declared_in_ambient_contexts_1183": "Uygulama, çevresel bağlamda bildirilemez.",
|
||||
@ -282,7 +282,7 @@
|
||||
"Cannot_find_global_value_0_2468": "'{0}' genel değeri bulunamıyor.",
|
||||
"Cannot_find_lib_definition_for_0_2726": "'{0}' için kitaplık tanımı bulunamıyor.",
|
||||
"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727": "'{0}' için kitaplık tanımı bulunamıyor. Şunu mu demek istediniz: '{1}'?",
|
||||
"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732": "'{0}' modülü bulunamıyor. Modülü '.json' uzantısıyla içeri aktarmak için '--resolveJsonModule' kullanmayı deneyin",
|
||||
"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732": "'{0}' modülü bulunamıyor. Modülü '.json' uzantısıyla içeri aktarmak için '--resolveJsonModule' kullanmayı deneyin.",
|
||||
"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_th_2792": "'{0}' modülü bulunamıyor. 'moduleResolution' seçeneğini 'node' olarak ayarlamak veya 'paths' seçeneğine diğer adlar eklemek mi istediniz?",
|
||||
"Cannot_find_module_0_or_its_corresponding_type_declarations_2307": "'{0}' modülü veya karşılık gelen tür bildirimleri bulunamıyor.",
|
||||
"Cannot_find_name_0_2304": "'{0}' adı bulunamıyor.",
|
||||
@ -373,6 +373,7 @@
|
||||
"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126": "Kapsayıcı dosya belirtilmedi ve kök dizini belirlenemiyor; 'node_modules' klasöründe arama atlanıyor.",
|
||||
"Containing_function_is_not_an_arrow_function_95128": "İçeren işlev bir ok işlevi değil",
|
||||
"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352": "Türler birbiriyle yeterince örtüşmediğinden '{0}' türünün '{1}' türüne dönüştürülmesi bir hata olabilir. Bu bilerek yapıldıysa, ifadeyi önce 'unknown' değerine dönüştürün.",
|
||||
"Convert_0_to_1_in_0_95003": "'{0}' öğesini '{0} içinde {1}' öğesine dönüştür",
|
||||
"Convert_0_to_mapped_object_type_95055": "'{0}' öğesini eşlenen nesne türüne dönüştür",
|
||||
"Convert_all_constructor_functions_to_classes_95045": "Tüm oluşturucu işlevleri sınıflara dönüştür",
|
||||
"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374": "Bir değer olarak kullanılmayan tüm içeri aktarmaları yalnızca tür içeri aktarmalarına dönüştürün",
|
||||
@ -382,6 +383,7 @@
|
||||
"Convert_all_to_async_functions_95066": "Tümünü asenkron işlevlere dönüştürün",
|
||||
"Convert_all_to_bigint_numeric_literals_95092": "Tümünü büyük tamsayı sayısal sabit değerlerine dönüştürün",
|
||||
"Convert_all_to_default_imports_95035": "Tümünü varsayılan içeri aktarmalara dönüştür",
|
||||
"Convert_all_type_literals_to_mapped_type_95021": "Tüm tür sabit değerlerini eşlenmiş türe dönüştür",
|
||||
"Convert_arrow_function_or_function_expression_95122": "Ok işlevini veya işlev ifadesini dönüştür",
|
||||
"Convert_const_to_let_95093": "'const' ifadesini 'let' ifadesine dönüştürün",
|
||||
"Convert_default_export_to_named_export_95061": "Varsayılan dışarı aktarmayı adlandırılmış dışarı aktarmaya dönüştürün",
|
||||
@ -485,7 +487,7 @@
|
||||
"Duplicate_number_index_signature_2375": "Dizin imzasında yinelenen numara.",
|
||||
"Duplicate_property_0_2718": "'{0}' özelliğini yineleyin.",
|
||||
"Duplicate_string_index_signature_2374": "Dizin imzasında yinelenen dize.",
|
||||
"Dynamic_import_cannot_have_type_arguments_1326": "Dinamik içeri aktarma, tür bağımsız değişkenleri içeremez",
|
||||
"Dynamic_import_cannot_have_type_arguments_1326": "Dinamik içeri aktarma, tür bağımsız değişkenleri içeremez.",
|
||||
"Dynamic_import_must_have_one_specifier_as_an_argument_1324": "Dinamik içeri aktarma, bağımsız değişken olarak bir tanımlayıcı içermelidir.",
|
||||
"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036": "Dinamik içeri aktarmanın tanımlayıcısı 'string' türünde olmalıdır, ancak buradaki tür: '{0}'.",
|
||||
"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system__1323": "Dinamik içeri aktarmalar yalnızca '--module' bayrağı 'es2020', 'esnext', 'commonjs', 'amd', 'system' veya 'umd' olarak ayarlandığında desteklenir.",
|
||||
@ -611,6 +613,7 @@
|
||||
"Generate_get_and_set_accessors_for_all_overriding_properties_95119": "Tüm geçersiz kılma özellikleri için 'get' ve 'set' erişimcileri oluşturun",
|
||||
"Generates_a_CPU_profile_6223": "Bir CPU profili oluşturur.",
|
||||
"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000": "Karşılık gelen her '.d.ts' dosyası için bir kaynak eşlemesi oluşturur.",
|
||||
"Generates_an_event_trace_and_a_list_of_types_6237": "Generates an event trace and a list of types.",
|
||||
"Generates_corresponding_d_ts_file_6002": "İlgili '.d.ts' dosyasını oluşturur.",
|
||||
"Generates_corresponding_map_file_6043": "İlgili '.map' dosyasını oluşturur.",
|
||||
"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025": "Oluşturucu herhangi bir değer sağlamadığından örtük olarak '{0}' türüne sahip. Bir dönüş türü ek açıklaması sağlamayı deneyin.",
|
||||
@ -655,6 +658,7 @@
|
||||
"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066": "Çevresel sabit listesi bildirimlerinde, üye başlatıcısı sabit ifade olmalıdır.",
|
||||
"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432": "Birden fazla bildirime sahip sabit listesinde yalnızca bir bildirim ilk sabit listesi öğesine ait başlatıcıyı atlayabilir.",
|
||||
"Include_modules_imported_with_json_extension_6197": "'.json' uzantısıyla içeri aktarılan modülleri dahil et",
|
||||
"Include_undefined_in_index_signature_results_6800": "Include 'undefined' in index signature results",
|
||||
"Index_signature_in_type_0_only_permits_reading_2542": "'{0}' türündeki dizin imzası yalnızca okumaya izin veriyor.",
|
||||
"Index_signature_is_missing_in_type_0_2329": "'{0}' türündeki dizin imzası yok.",
|
||||
"Index_signatures_are_incompatible_2330": "Dizin imzaları uyumsuz.",
|
||||
@ -785,6 +789,7 @@
|
||||
"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515": "Soyut olmayan '{0}' sınıfı, '{2}' sınıfından devralınan '{1}' soyut üyesini uygulamıyor.",
|
||||
"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653": "Soyut olmayan sınıf ifadesi, '{1}' sınıfından devralınan '{0}' soyut üyesini uygulamıyor.",
|
||||
"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013": "Null olmayan onaylamalar yalnızca TypeScript dosyalarında kullanılabilir.",
|
||||
"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090": "Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?",
|
||||
"Non_simple_parameter_declared_here_1348": "Basit olmayan parametre burada bildirildi.",
|
||||
"Not_all_code_paths_return_a_value_7030": "Tüm kod yolları bir değer döndürmez.",
|
||||
"Not_all_constituents_of_type_0_are_callable_2756": "'{0}' türündeki tüm bileşenler çağrılabilir değil.",
|
||||
@ -820,6 +825,7 @@
|
||||
"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230": "'{0}' seçeneği, yalnızca 'tsconfig.json' dosyasında belirtilebilir veya komut satırında 'false' veya 'null' olarak ayarlanabilir.",
|
||||
"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064": "'{0}' seçeneği, yalnızca 'tsconfig.json' dosyasında belirtilebilir veya komut satırında 'null' olarak ayarlanabilir.",
|
||||
"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051": "'{0} seçeneği yalnızca '--inlineSourceMap' veya '--sourceMap' seçeneği sağlandığında kullanılabilir.",
|
||||
"Option_0_cannot_be_specified_when_option_jsx_is_1_5089": "Option '{0}' cannot be specified when option 'jsx' is '{1}'.",
|
||||
"Option_0_cannot_be_specified_when_option_target_is_ES3_5048": "'target' seçeneği 'ES3' olduğunda '{0}' seçeneği belirtilemiyor.",
|
||||
"Option_0_cannot_be_specified_with_option_1_5053": "'{0}' seçeneği, '{1}' seçeneği ile belirtilemez.",
|
||||
"Option_0_cannot_be_specified_without_specifying_option_1_5052": "'{0}' seçeneği, '{1}' seçeneği belirtilmeden belirtilemez.",
|
||||
@ -828,7 +834,6 @@
|
||||
"Option_build_must_be_the_first_command_line_argument_6369": "'--build' seçeneği ilk komut satırı bağımsız değişkeni olmalıdır.",
|
||||
"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074": "'--incremental' seçeneği yalnızca tsconfig kullanılarak, tek dosyada gösterilerek veya `--tsBuildInfoFile` seçeneği sağlandığında belirtilebilir.",
|
||||
"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047": "'isolatedModules' seçeneği, yalnızca '--module' sağlandığında veya 'target' seçeneği 'ES2015' veya daha yüksek bir sürüm değerine sahip olduğunda kullanılabilir.",
|
||||
"Option_paths_cannot_be_used_without_specifying_baseUrl_option_5060": "'Paths' seçeneği, '--baseUrl' seçeneği belirtilmeden kullanılamaz.",
|
||||
"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042": "'project' seçeneği, komut satırındaki kaynak dosyalarıyla karıştırılamaz.",
|
||||
"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071": "'--resolveJsonModule' seçeneği yalnızca modül kodu oluşturma 'commonjs', 'amd', 'es2015' veya 'esNext' olduğunda belirtilebilir.",
|
||||
"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070": "'node' modül çözümleme stratejisi olmadan '--resolveJsonModule' seçeneği belirtilemez.",
|
||||
@ -894,7 +899,7 @@
|
||||
"Private_identifiers_are_not_allowed_in_variable_declarations_18029": "Değişken bildirimlerinde özel tanımlayıcılara izin verilmiyor.",
|
||||
"Private_identifiers_are_not_allowed_outside_class_bodies_18016": "Sınıf gövdelerinin dışında özel tanımlayıcılara izin verilmiyor.",
|
||||
"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028": "Özel tanımlayıcılar yalnızca ECMAScript 2015 veya üzeri hedeflenirken kullanılabilir.",
|
||||
"Private_identifiers_cannot_be_used_as_parameters_18009": "Özel tanımlayıcılar parametre olarak kullanılamaz",
|
||||
"Private_identifiers_cannot_be_used_as_parameters_18009": "Özel tanımlayıcılar parametre olarak kullanılamaz.",
|
||||
"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105": "Özel veya korumalı '{0}' üyesine bir tür parametresinde erişilemiyor.",
|
||||
"Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363": "'{0}' projesinin '{1}' bağımlılığında hatalar olduğundan proje derlenemiyor",
|
||||
"Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383": "'{0}' projesinin '{1}' bağımlılığı derlenmediğinden proje derlenemiyor",
|
||||
@ -920,7 +925,7 @@
|
||||
"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416": "'{1}' türündeki '{0}' özelliği, '{2}' temel türündeki aynı özelliğe atanamaz.",
|
||||
"Property_0_in_type_1_is_not_assignable_to_type_2_2603": "'{1}' türündeki '{0}' özelliği, '{2}' türüne atanamaz.",
|
||||
"Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2_18015": "'{1}' türündeki '{0}' özelliği, '{2}' türünün içinden erişilemeyen farklı bir üyeye başvuruyor.",
|
||||
"Property_0_is_a_static_member_of_type_1_2576": "'{0}' özelliği, '{1}' türünde statik bir üye",
|
||||
"Property_0_is_a_static_member_of_type_1_2576": "'{0}' özelliği, '{1}' türünde statik bir üye.",
|
||||
"Property_0_is_declared_but_its_value_is_never_read_6138": "'{0}' özelliği bildirildi ancak değeri hiç okunmadı.",
|
||||
"Property_0_is_incompatible_with_index_signature_2530": "'{0}' özelliği, dizin imzasıyla uyumsuz.",
|
||||
"Property_0_is_incompatible_with_rest_element_type_2573": "'{0}' özelliği REST öğesi türüyle uyumsuz.",
|
||||
@ -949,6 +954,7 @@
|
||||
"Property_or_signature_expected_1131": "Özellik veya imza bekleniyor.",
|
||||
"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328": "Özellik değeri yalnızca, dize sabit değeri, sayısal sabit değer, 'true', 'false', 'null', nesne sabit değeri veya dizi sabit değeri olabilir.",
|
||||
"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179": "'ES5' veya 'ES3' hedefleniyorsa, 'for-of' içindeki yinelenebilir öğeler için yayılma ve yok etmeye yönelik tam destek sağlayın.",
|
||||
"Provides_a_root_package_name_when_using_outFile_with_declarations_1390": "Provides a root package name when using outFile with declarations.",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098": "Dışarı aktarılan sınıfın '{0}' genel metodu, {2} dış modülündeki '{1}' adına sahip veya bu adı kullanıyor, ancak adlandırılamıyor.",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099": "Dışarı aktarılan sınıfın '{0}' genel metodu, '{2}' özel modülündeki '{1}' adına sahip veya bu adı kullanıyor.",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100": "Dışarı aktarılan sınıfın '{0}' genel metodu, '{1}' özel adına sahip veya bu adı kullanıyor.",
|
||||
@ -1075,6 +1081,7 @@
|
||||
"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060": "Dosyalar gösterilirken kullanılacak satır sonu dizisini belirtin: 'CRLF' (dos) veya 'LF' (unix).",
|
||||
"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004": "Hata ayıklayıcının TypeScript dosyalarını kaynak konumlar yerine nerede bulması gerektiğini belirtin.",
|
||||
"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6003": "Hata ayıklayıcının, eşlem dosyalarını üretilen konumlar yerine nerede bulması gerektiğini belirtin.",
|
||||
"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238": "Specify the module specifier to be used to import the `jsx` and `jsxs` factory functions from. eg, react",
|
||||
"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058": "Giriş dosyalarının kök dizinini belirtin. Çıkış dizininin yapısını --outDir ile denetlemek için kullanın.",
|
||||
"Split_all_invalid_type_only_imports_1367": "Geçersiz tüm yalnızca tür içeri aktarmalarını bölün",
|
||||
"Split_into_two_separate_import_declarations_1366": "İki ayrı içeri aktarma bildirimine bölün",
|
||||
@ -1107,6 +1114,7 @@
|
||||
"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358": "İsteğe bağlı bir zincirde etiketli şablon ifadelerine izin verilmiyor.",
|
||||
"Target_allows_only_0_element_s_but_source_may_have_more_2621": "Hedef yalnızca {0} öğeye izin veriyor ancak kaynakta daha fazlası olabilir.",
|
||||
"Target_requires_0_element_s_but_source_may_have_fewer_2620": "Hedef {0} öğe gerektiriyor ancak kaynakta daha az sayıda öğe olabilir.",
|
||||
"Template_literal_type_argument_0_is_not_literal_type_or_a_generic_type_2793": "Template literal type argument '{0}' is not literal type or a generic type.",
|
||||
"The_0_modifier_can_only_be_used_in_TypeScript_files_8009": "'{0}' değiştiricisi yalnızca TypeScript dosyalarında kullanılabilir.",
|
||||
"The_0_operator_cannot_be_applied_to_type_symbol_2469": "'{0}' işleci, 'symbol' türüne uygulanamaz.",
|
||||
"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447": "'{0}' işlecine boole türü için izin verilmez. Bunun yerine '{1}' kullanmayı göz önünde bulundurun.",
|
||||
@ -1116,6 +1124,7 @@
|
||||
"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496": "ES3 ve ES5'te bulunan bir ok işlevinde 'arguments' nesnesine başvuru yapılamaz. Standart bir işlev ifadesi kullanmayı göz önünde bulundurun.",
|
||||
"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522": "ES3 ve ES5'te 'arguments' nesnesine zaman uyumsuz bir işlev veya metot içinde başvurulamaz. Standart bir işlev veya metot kullanmayı düşünün.",
|
||||
"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313": "'if' deyiminin gövdesi boş deyim olamaz.",
|
||||
"The_bundledPackageName_option_must_be_provided_when_using_outFile_and_node_module_resolution_with_de_1391": "The `bundledPackageName` option must be provided when using outFile and node module resolution with declaration emit.",
|
||||
"The_character_set_of_the_input_files_6163": "Giriş dosyalarının karakter kümesi.",
|
||||
"The_containing_arrow_function_captures_the_global_value_of_this_7041": "Kapsayıcı ok işlevi, 'this' öğesinin genel değerini yakalar.",
|
||||
"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563": "İçeren işlev veya modül gövdesi, denetim akışı analizi için çok büyük.",
|
||||
@ -1398,7 +1407,7 @@
|
||||
"_0_modifier_cannot_be_used_in_an_ambient_context_1040": "'{0}' değiştiricisi bir çevresel bağlamda kullanılamaz.",
|
||||
"_0_modifier_cannot_be_used_with_1_modifier_1243": "'{0}' değiştiricisi, '{1}' değiştiricisi ile birlikte kullanılamaz.",
|
||||
"_0_modifier_cannot_be_used_with_a_class_declaration_1041": "'{0}' değiştiricisi bir sınıf bildirimiyle birlikte kullanılamaz.",
|
||||
"_0_modifier_cannot_be_used_with_a_private_identifier_18019": "'{0}' değiştiricisi özel bir tanımlayıcıyla birlikte kullanılamaz",
|
||||
"_0_modifier_cannot_be_used_with_a_private_identifier_18019": "'{0}' değiştiricisi özel bir tanımlayıcıyla birlikte kullanılamaz.",
|
||||
"_0_modifier_must_precede_1_modifier_1029": "'{0}' değiştiricisi, '{1}' değiştiricisinden önce gelmelidir.",
|
||||
"_0_needs_an_explicit_type_annotation_2782": "'{0}' açık bir tür ek açıklamasına ihtiyaç duyuyor.",
|
||||
"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702": "'{0}' yalnızca bir türe başvuruyor, ancak burada bir ad alanı olarak kullanılıyor.",
|
||||
|
||||
53
lib/tsc.js
53
lib/tsc.js
@ -1811,6 +1811,15 @@ var ts;
|
||||
return length <= s.length ? s : s + padString.repeat(length - s.length);
|
||||
}
|
||||
ts.padRight = padRight;
|
||||
function takeWhile(array, predicate) {
|
||||
var len = array.length;
|
||||
var index = 0;
|
||||
while (index < len && predicate(array[index])) {
|
||||
index++;
|
||||
}
|
||||
return array.slice(0, index);
|
||||
}
|
||||
ts.takeWhile = takeWhile;
|
||||
})(ts || (ts = {}));
|
||||
var ts;
|
||||
(function (ts) {
|
||||
@ -5981,6 +5990,7 @@ var ts;
|
||||
Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1: diag(7053, ts.DiagnosticCategory.Error, "Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053", "Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'."),
|
||||
No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1: diag(7054, ts.DiagnosticCategory.Error, "No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054", "No index signature with a parameter of type '{0}' was found on type '{1}'."),
|
||||
_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type: diag(7055, ts.DiagnosticCategory.Error, "_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055", "'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type."),
|
||||
The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed: diag(7056, ts.DiagnosticCategory.Error, "The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_ty_7056", "The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed."),
|
||||
You_cannot_rename_this_element: diag(8000, ts.DiagnosticCategory.Error, "You_cannot_rename_this_element_8000", "You cannot rename this element."),
|
||||
You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library: diag(8001, ts.DiagnosticCategory.Error, "You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001", "You cannot rename elements that are defined in the standard TypeScript library."),
|
||||
import_can_only_be_used_in_TypeScript_files: diag(8002, ts.DiagnosticCategory.Error, "import_can_only_be_used_in_TypeScript_files_8002", "'import ... =' can only be used in TypeScript files."),
|
||||
@ -13077,6 +13087,13 @@ var ts;
|
||||
return options.outFile || options.out;
|
||||
}
|
||||
ts.outFile = outFile;
|
||||
function getPathsBasePath(options, host) {
|
||||
var _a, _b;
|
||||
if (!options.paths)
|
||||
return undefined;
|
||||
return (_a = options.baseUrl) !== null && _a !== void 0 ? _a : ts.Debug.checkDefined(options.pathsBasePath || ((_b = host.getCurrentDirectory) === null || _b === void 0 ? void 0 : _b.call(host)), "Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.");
|
||||
}
|
||||
ts.getPathsBasePath = getPathsBasePath;
|
||||
function getSourceFilesToEmit(host, targetSourceFile, forceDtsEmit) {
|
||||
var options = host.getCompilerOptions();
|
||||
if (outFile(options)) {
|
||||
@ -31567,8 +31584,7 @@ var ts;
|
||||
}
|
||||
}
|
||||
function tryLoadModuleUsingPathsIfEligible(extensions, moduleName, loader, state) {
|
||||
var _a, _b;
|
||||
var _c = state.compilerOptions, baseUrl = _c.baseUrl, paths = _c.paths, pathsBasePath = _c.pathsBasePath;
|
||||
var _a = state.compilerOptions, baseUrl = _a.baseUrl, paths = _a.paths;
|
||||
if (paths && !ts.pathIsRelative(moduleName)) {
|
||||
if (state.traceEnabled) {
|
||||
if (baseUrl) {
|
||||
@ -31576,7 +31592,7 @@ var ts;
|
||||
}
|
||||
trace(state.host, ts.Diagnostics.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0, moduleName);
|
||||
}
|
||||
var baseDirectory = baseUrl !== null && baseUrl !== void 0 ? baseUrl : ts.Debug.checkDefined(pathsBasePath || ((_b = (_a = state.host).getCurrentDirectory) === null || _b === void 0 ? void 0 : _b.call(_a)), "Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.");
|
||||
var baseDirectory = ts.getPathsBasePath(state.compilerOptions, state.host);
|
||||
return tryLoadModuleUsingPaths(extensions, moduleName, baseDirectory, paths, loader, false, state);
|
||||
}
|
||||
}
|
||||
@ -34343,8 +34359,8 @@ var ts;
|
||||
if (symbol) {
|
||||
var isAlias = ts.isAliasableExpression(node.right) && (ts.isExportsIdentifier(node.left.expression) || ts.isModuleExportsAccessExpression(node.left.expression));
|
||||
var flags = isAlias ? 2097152 : 4 | 1048576;
|
||||
var excludeFlags = isAlias ? 2097152 : 0;
|
||||
declareSymbol(symbol.exports, symbol, node.left, flags, excludeFlags);
|
||||
ts.setParent(node.left, node);
|
||||
declareSymbol(symbol.exports, symbol, node.left, flags, 0);
|
||||
}
|
||||
}
|
||||
function bindModuleExportsAssignment(node) {
|
||||
@ -38266,6 +38282,7 @@ var ts;
|
||||
},
|
||||
};
|
||||
function withContext(enclosingDeclaration, flags, tracker, cb) {
|
||||
var _a, _b;
|
||||
ts.Debug.assert(enclosingDeclaration === undefined || (enclosingDeclaration.flags & 8) === 0);
|
||||
var context = {
|
||||
enclosingDeclaration: enclosingDeclaration,
|
||||
@ -38289,6 +38306,9 @@ var ts;
|
||||
approximateLength: 0
|
||||
};
|
||||
var resultingNode = cb(context);
|
||||
if (context.truncating && context.flags & 1) {
|
||||
(_b = (_a = context.tracker) === null || _a === void 0 ? void 0 : _a.reportTruncationError) === null || _b === void 0 ? void 0 : _b.call(_a);
|
||||
}
|
||||
return context.encounteredError ? undefined : resultingNode;
|
||||
}
|
||||
function checkTruncationLength(context) {
|
||||
@ -39199,7 +39219,6 @@ var ts;
|
||||
}
|
||||
function getSpecifierForModuleSymbol(symbol, context) {
|
||||
var _a;
|
||||
var _b;
|
||||
var file = ts.getDeclarationOfKind(symbol, 300);
|
||||
if (!file) {
|
||||
var equivalentFileSymbol = ts.firstDefined(symbol.declarations, function (d) { return getFileSymbolIfFileSymbolExportEqualsContainer(d, symbol); });
|
||||
@ -39238,7 +39257,7 @@ var ts;
|
||||
var moduleResolverHost = context.tracker.moduleResolverHost;
|
||||
var specifierCompilerOptions = isBundle_1 ? __assign(__assign({}, compilerOptions), { baseUrl: moduleResolverHost.getCommonSourceDirectory() }) : compilerOptions;
|
||||
specifier = ts.first(ts.moduleSpecifiers.getModuleSpecifiers(symbol, specifierCompilerOptions, contextFile, moduleResolverHost, { importModuleSpecifierPreference: isBundle_1 ? "non-relative" : "relative" }));
|
||||
(_a = (_b = links).specifierCache) !== null && _a !== void 0 ? _a : (_b.specifierCache = new ts.Map());
|
||||
(_a = links.specifierCache) !== null && _a !== void 0 ? _a : (links.specifierCache = new ts.Map());
|
||||
links.specifierCache.set(contextFile.path, specifier);
|
||||
}
|
||||
return specifier;
|
||||
@ -40198,6 +40217,7 @@ var ts;
|
||||
break;
|
||||
case 219:
|
||||
case 204:
|
||||
case 205:
|
||||
if (symbol.escapedName === "default" || symbol.escapedName === "export=") {
|
||||
serializeMaybeAliasAssignment(symbol);
|
||||
}
|
||||
@ -45699,7 +45719,7 @@ var ts;
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
var shouldIncludeUndefined = compilerOptions.noUncheckedIndexSignatures &&
|
||||
var shouldIncludeUndefined = compilerOptions.noUncheckedIndexedAccess &&
|
||||
(accessFlags & (2 | 16)) === 16;
|
||||
if (accessNode && !isTypeAssignableToKind(indexType, 4 | 8)) {
|
||||
var indexNode = getIndexNodeForAccessExpression(accessNode);
|
||||
@ -78513,6 +78533,7 @@ var ts;
|
||||
reportCyclicStructureError: reportCyclicStructureError,
|
||||
reportPrivateInBaseOfClassExpression: reportPrivateInBaseOfClassExpression,
|
||||
reportLikelyUnsafeImportRequiredError: reportLikelyUnsafeImportRequiredError,
|
||||
reportTruncationError: reportTruncationError,
|
||||
moduleResolverHost: host,
|
||||
trackReferencedAmbientModule: trackReferencedAmbientModule,
|
||||
trackExternalModuleSymbolOfImportTypeNode: trackExternalModuleSymbolOfImportTypeNode,
|
||||
@ -78607,6 +78628,11 @@ var ts;
|
||||
context.addDiagnostic(ts.createDiagnosticForNode(errorNameNode, ts.Diagnostics.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary, ts.declarationNameToString(errorNameNode), specifier));
|
||||
}
|
||||
}
|
||||
function reportTruncationError() {
|
||||
if (errorNameNode) {
|
||||
context.addDiagnostic(ts.createDiagnosticForNode(errorNameNode, ts.Diagnostics.The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed));
|
||||
}
|
||||
}
|
||||
function reportNonlocalAugmentation(containingFile, parentSymbol, symbol) {
|
||||
var primaryDeclaration = ts.find(parentSymbol.declarations, function (d) { return ts.getSourceFileOfNode(d) === containingFile; });
|
||||
var augmentingDeclarations = ts.filter(symbol.declarations, function (d) { return ts.getSourceFileOfNode(d) !== containingFile; });
|
||||
@ -89490,7 +89516,7 @@ var ts;
|
||||
var info = getInfo(importingSourceFileName, host);
|
||||
var modulePaths = getAllModulePaths(importingSourceFileName, toFileName, host);
|
||||
return ts.firstDefined(modulePaths, function (modulePath) { return tryGetModuleNameAsNodeModule(modulePath, info, host, compilerOptions); }) ||
|
||||
getLocalModuleSpecifier(toFileName, info, compilerOptions, preferences);
|
||||
getLocalModuleSpecifier(toFileName, info, compilerOptions, host, preferences);
|
||||
}
|
||||
function getModuleSpecifiers(moduleSymbol, compilerOptions, importingSourceFile, host, userPreferences) {
|
||||
var ambient = tryGetModuleNameFromAmbientModule(moduleSymbol);
|
||||
@ -89512,7 +89538,7 @@ var ts;
|
||||
return nodeModulesSpecifiers;
|
||||
}
|
||||
if (!specifier && !modulePath.isRedirect) {
|
||||
var local = getLocalModuleSpecifier(modulePath.path, info, compilerOptions, preferences);
|
||||
var local = getLocalModuleSpecifier(modulePath.path, info, compilerOptions, host, preferences);
|
||||
if (ts.pathIsBareSpecifier(local)) {
|
||||
pathsSpecifiers = ts.append(pathsSpecifiers, local);
|
||||
}
|
||||
@ -89531,16 +89557,17 @@ var ts;
|
||||
var sourceDirectory = ts.getDirectoryPath(importingSourceFileName);
|
||||
return { getCanonicalFileName: getCanonicalFileName, sourceDirectory: sourceDirectory };
|
||||
}
|
||||
function getLocalModuleSpecifier(moduleFileName, _a, compilerOptions, _b) {
|
||||
function getLocalModuleSpecifier(moduleFileName, _a, compilerOptions, host, _b) {
|
||||
var getCanonicalFileName = _a.getCanonicalFileName, sourceDirectory = _a.sourceDirectory;
|
||||
var ending = _b.ending, relativePreference = _b.relativePreference;
|
||||
var baseUrl = compilerOptions.baseUrl, paths = compilerOptions.paths, rootDirs = compilerOptions.rootDirs, bundledPackageName = compilerOptions.bundledPackageName;
|
||||
var relativePath = rootDirs && tryGetModuleNameFromRootDirs(rootDirs, moduleFileName, sourceDirectory, getCanonicalFileName, ending, compilerOptions) ||
|
||||
removeExtensionAndIndexPostFix(ts.ensurePathIsNonModuleName(ts.getRelativePathFromDirectory(sourceDirectory, moduleFileName, getCanonicalFileName)), ending, compilerOptions);
|
||||
if (!baseUrl || relativePreference === 0) {
|
||||
if (!baseUrl && !paths || relativePreference === 0) {
|
||||
return relativePath;
|
||||
}
|
||||
var relativeToBaseUrl = getRelativePathIfInDirectory(moduleFileName, baseUrl, getCanonicalFileName);
|
||||
var baseDirectory = ts.getPathsBasePath(compilerOptions, host) || baseUrl;
|
||||
var relativeToBaseUrl = getRelativePathIfInDirectory(moduleFileName, baseDirectory, getCanonicalFileName);
|
||||
if (!relativeToBaseUrl) {
|
||||
return relativePath;
|
||||
}
|
||||
|
||||
@ -79,7 +79,7 @@ var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
@ -2185,6 +2185,15 @@ var ts;
|
||||
return length <= s.length ? s : s + padString.repeat(length - s.length);
|
||||
}
|
||||
ts.padRight = padRight;
|
||||
function takeWhile(array, predicate) {
|
||||
var len = array.length;
|
||||
var index = 0;
|
||||
while (index < len && predicate(array[index])) {
|
||||
index++;
|
||||
}
|
||||
return array.slice(0, index);
|
||||
}
|
||||
ts.takeWhile = takeWhile;
|
||||
})(ts || (ts = {}));
|
||||
/* @internal */
|
||||
var ts;
|
||||
@ -8614,6 +8623,7 @@ var ts;
|
||||
Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1: diag(7053, ts.DiagnosticCategory.Error, "Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053", "Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'."),
|
||||
No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1: diag(7054, ts.DiagnosticCategory.Error, "No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054", "No index signature with a parameter of type '{0}' was found on type '{1}'."),
|
||||
_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type: diag(7055, ts.DiagnosticCategory.Error, "_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055", "'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type."),
|
||||
The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed: diag(7056, ts.DiagnosticCategory.Error, "The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_ty_7056", "The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed."),
|
||||
You_cannot_rename_this_element: diag(8000, ts.DiagnosticCategory.Error, "You_cannot_rename_this_element_8000", "You cannot rename this element."),
|
||||
You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library: diag(8001, ts.DiagnosticCategory.Error, "You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001", "You cannot rename elements that are defined in the standard TypeScript library."),
|
||||
import_can_only_be_used_in_TypeScript_files: diag(8002, ts.DiagnosticCategory.Error, "import_can_only_be_used_in_TypeScript_files_8002", "'import ... =' can only be used in TypeScript files."),
|
||||
@ -16822,6 +16832,14 @@ var ts;
|
||||
return options.outFile || options.out;
|
||||
}
|
||||
ts.outFile = outFile;
|
||||
/** Returns 'undefined' if and only if 'options.paths' is undefined. */
|
||||
function getPathsBasePath(options, host) {
|
||||
var _a, _b;
|
||||
if (!options.paths)
|
||||
return undefined;
|
||||
return (_a = options.baseUrl) !== null && _a !== void 0 ? _a : ts.Debug.checkDefined(options.pathsBasePath || ((_b = host.getCurrentDirectory) === null || _b === void 0 ? void 0 : _b.call(host)), "Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.");
|
||||
}
|
||||
ts.getPathsBasePath = getPathsBasePath;
|
||||
/**
|
||||
* Gets the source files that are expected to have an emit output.
|
||||
*
|
||||
@ -38837,8 +38855,7 @@ var ts;
|
||||
}
|
||||
}
|
||||
function tryLoadModuleUsingPathsIfEligible(extensions, moduleName, loader, state) {
|
||||
var _a, _b;
|
||||
var _c = state.compilerOptions, baseUrl = _c.baseUrl, paths = _c.paths, pathsBasePath = _c.pathsBasePath;
|
||||
var _a = state.compilerOptions, baseUrl = _a.baseUrl, paths = _a.paths;
|
||||
if (paths && !ts.pathIsRelative(moduleName)) {
|
||||
if (state.traceEnabled) {
|
||||
if (baseUrl) {
|
||||
@ -38846,7 +38863,7 @@ var ts;
|
||||
}
|
||||
trace(state.host, ts.Diagnostics.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0, moduleName);
|
||||
}
|
||||
var baseDirectory = baseUrl !== null && baseUrl !== void 0 ? baseUrl : ts.Debug.checkDefined(pathsBasePath || ((_b = (_a = state.host).getCurrentDirectory) === null || _b === void 0 ? void 0 : _b.call(_a)), "Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.");
|
||||
var baseDirectory = ts.getPathsBasePath(state.compilerOptions, state.host); // Always defined when 'paths' is defined
|
||||
return tryLoadModuleUsingPaths(extensions, moduleName, baseDirectory, paths, loader, /*onlyRecordFailures*/ false, state);
|
||||
}
|
||||
}
|
||||
@ -42062,8 +42079,8 @@ var ts;
|
||||
if (symbol) {
|
||||
var isAlias = ts.isAliasableExpression(node.right) && (ts.isExportsIdentifier(node.left.expression) || ts.isModuleExportsAccessExpression(node.left.expression));
|
||||
var flags = isAlias ? 2097152 /* Alias */ : 4 /* Property */ | 1048576 /* ExportValue */;
|
||||
var excludeFlags = isAlias ? 2097152 /* AliasExcludes */ : 0 /* None */;
|
||||
declareSymbol(symbol.exports, symbol, node.left, flags, excludeFlags);
|
||||
ts.setParent(node.left, node);
|
||||
declareSymbol(symbol.exports, symbol, node.left, flags, 0 /* None */);
|
||||
}
|
||||
}
|
||||
function bindModuleExportsAssignment(node) {
|
||||
@ -46752,6 +46769,7 @@ var ts;
|
||||
},
|
||||
};
|
||||
function withContext(enclosingDeclaration, flags, tracker, cb) {
|
||||
var _a, _b;
|
||||
ts.Debug.assert(enclosingDeclaration === undefined || (enclosingDeclaration.flags & 8 /* Synthesized */) === 0);
|
||||
var context = {
|
||||
enclosingDeclaration: enclosingDeclaration,
|
||||
@ -46776,6 +46794,9 @@ var ts;
|
||||
approximateLength: 0
|
||||
};
|
||||
var resultingNode = cb(context);
|
||||
if (context.truncating && context.flags & 1 /* NoTruncation */) {
|
||||
(_b = (_a = context.tracker) === null || _a === void 0 ? void 0 : _a.reportTruncationError) === null || _b === void 0 ? void 0 : _b.call(_a);
|
||||
}
|
||||
return context.encounteredError ? undefined : resultingNode;
|
||||
}
|
||||
function checkTruncationLength(context) {
|
||||
@ -47739,7 +47760,6 @@ var ts;
|
||||
}
|
||||
function getSpecifierForModuleSymbol(symbol, context) {
|
||||
var _a;
|
||||
var _b;
|
||||
var file = ts.getDeclarationOfKind(symbol, 300 /* SourceFile */);
|
||||
if (!file) {
|
||||
var equivalentFileSymbol = ts.firstDefined(symbol.declarations, function (d) { return getFileSymbolIfFileSymbolExportEqualsContainer(d, symbol); });
|
||||
@ -47784,7 +47804,7 @@ var ts;
|
||||
var moduleResolverHost = context.tracker.moduleResolverHost;
|
||||
var specifierCompilerOptions = isBundle_1 ? __assign(__assign({}, compilerOptions), { baseUrl: moduleResolverHost.getCommonSourceDirectory() }) : compilerOptions;
|
||||
specifier = ts.first(ts.moduleSpecifiers.getModuleSpecifiers(symbol, specifierCompilerOptions, contextFile, moduleResolverHost, { importModuleSpecifierPreference: isBundle_1 ? "non-relative" : "relative" }));
|
||||
(_a = (_b = links).specifierCache) !== null && _a !== void 0 ? _a : (_b.specifierCache = new ts.Map());
|
||||
(_a = links.specifierCache) !== null && _a !== void 0 ? _a : (links.specifierCache = new ts.Map());
|
||||
links.specifierCache.set(contextFile.path, specifier);
|
||||
}
|
||||
return specifier;
|
||||
@ -48977,6 +48997,7 @@ var ts;
|
||||
break;
|
||||
case 219 /* BinaryExpression */:
|
||||
case 204 /* PropertyAccessExpression */:
|
||||
case 205 /* ElementAccessExpression */:
|
||||
// Could be best encoded as though an export specifier or as though an export assignment
|
||||
// If name is default or export=, do an export assignment
|
||||
// Otherwise do an export specifier
|
||||
@ -55250,7 +55271,7 @@ var ts;
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
var shouldIncludeUndefined = compilerOptions.noUncheckedIndexSignatures &&
|
||||
var shouldIncludeUndefined = compilerOptions.noUncheckedIndexedAccess &&
|
||||
(accessFlags & (2 /* Writing */ | 16 /* ExpressionPosition */)) === 16 /* ExpressionPosition */;
|
||||
if (accessNode && !isTypeAssignableToKind(indexType, 4 /* String */ | 8 /* Number */)) {
|
||||
var indexNode = getIndexNodeForAccessExpression(accessNode);
|
||||
@ -96513,6 +96534,7 @@ var ts;
|
||||
reportCyclicStructureError: reportCyclicStructureError,
|
||||
reportPrivateInBaseOfClassExpression: reportPrivateInBaseOfClassExpression,
|
||||
reportLikelyUnsafeImportRequiredError: reportLikelyUnsafeImportRequiredError,
|
||||
reportTruncationError: reportTruncationError,
|
||||
moduleResolverHost: host,
|
||||
trackReferencedAmbientModule: trackReferencedAmbientModule,
|
||||
trackExternalModuleSymbolOfImportTypeNode: trackExternalModuleSymbolOfImportTypeNode,
|
||||
@ -96612,6 +96634,11 @@ var ts;
|
||||
context.addDiagnostic(ts.createDiagnosticForNode(errorNameNode, ts.Diagnostics.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary, ts.declarationNameToString(errorNameNode), specifier));
|
||||
}
|
||||
}
|
||||
function reportTruncationError() {
|
||||
if (errorNameNode) {
|
||||
context.addDiagnostic(ts.createDiagnosticForNode(errorNameNode, ts.Diagnostics.The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed));
|
||||
}
|
||||
}
|
||||
function reportNonlocalAugmentation(containingFile, parentSymbol, symbol) {
|
||||
var primaryDeclaration = ts.find(parentSymbol.declarations, function (d) { return ts.getSourceFileOfNode(d) === containingFile; });
|
||||
var augmentingDeclarations = ts.filter(symbol.declarations, function (d) { return ts.getSourceFileOfNode(d) !== containingFile; });
|
||||
@ -108975,7 +109002,7 @@ var ts;
|
||||
var info = getInfo(importingSourceFileName, host);
|
||||
var modulePaths = getAllModulePaths(importingSourceFileName, toFileName, host);
|
||||
return ts.firstDefined(modulePaths, function (modulePath) { return tryGetModuleNameAsNodeModule(modulePath, info, host, compilerOptions); }) ||
|
||||
getLocalModuleSpecifier(toFileName, info, compilerOptions, preferences);
|
||||
getLocalModuleSpecifier(toFileName, info, compilerOptions, host, preferences);
|
||||
}
|
||||
/** Returns an import for each symlink and for the realpath. */
|
||||
function getModuleSpecifiers(moduleSymbol, compilerOptions, importingSourceFile, host, userPreferences) {
|
||||
@ -109005,7 +109032,7 @@ var ts;
|
||||
return nodeModulesSpecifiers;
|
||||
}
|
||||
if (!specifier && !modulePath.isRedirect) {
|
||||
var local = getLocalModuleSpecifier(modulePath.path, info, compilerOptions, preferences);
|
||||
var local = getLocalModuleSpecifier(modulePath.path, info, compilerOptions, host, preferences);
|
||||
if (ts.pathIsBareSpecifier(local)) {
|
||||
pathsSpecifiers = ts.append(pathsSpecifiers, local);
|
||||
}
|
||||
@ -109034,16 +109061,17 @@ var ts;
|
||||
var sourceDirectory = ts.getDirectoryPath(importingSourceFileName);
|
||||
return { getCanonicalFileName: getCanonicalFileName, sourceDirectory: sourceDirectory };
|
||||
}
|
||||
function getLocalModuleSpecifier(moduleFileName, _a, compilerOptions, _b) {
|
||||
function getLocalModuleSpecifier(moduleFileName, _a, compilerOptions, host, _b) {
|
||||
var getCanonicalFileName = _a.getCanonicalFileName, sourceDirectory = _a.sourceDirectory;
|
||||
var ending = _b.ending, relativePreference = _b.relativePreference;
|
||||
var baseUrl = compilerOptions.baseUrl, paths = compilerOptions.paths, rootDirs = compilerOptions.rootDirs, bundledPackageName = compilerOptions.bundledPackageName;
|
||||
var relativePath = rootDirs && tryGetModuleNameFromRootDirs(rootDirs, moduleFileName, sourceDirectory, getCanonicalFileName, ending, compilerOptions) ||
|
||||
removeExtensionAndIndexPostFix(ts.ensurePathIsNonModuleName(ts.getRelativePathFromDirectory(sourceDirectory, moduleFileName, getCanonicalFileName)), ending, compilerOptions);
|
||||
if (!baseUrl || relativePreference === 0 /* Relative */) {
|
||||
if (!baseUrl && !paths || relativePreference === 0 /* Relative */) {
|
||||
return relativePath;
|
||||
}
|
||||
var relativeToBaseUrl = getRelativePathIfInDirectory(moduleFileName, baseUrl, getCanonicalFileName);
|
||||
var baseDirectory = ts.getPathsBasePath(compilerOptions, host) || baseUrl;
|
||||
var relativeToBaseUrl = getRelativePathIfInDirectory(moduleFileName, baseDirectory, getCanonicalFileName);
|
||||
if (!relativeToBaseUrl) {
|
||||
return relativePath;
|
||||
}
|
||||
@ -142594,7 +142622,6 @@ var ts;
|
||||
changes.createNewFile(oldFile, ts.combinePaths(currentDirectory, newFileNameWithExtension), getNewStatementsAndRemoveFromOldFile(oldFile, usage, changes, toMove, program, newModuleName, preferences));
|
||||
addNewFileToTsconfig(program, changes, oldFile.fileName, newFileNameWithExtension, ts.hostGetCanonicalFileName(host));
|
||||
}
|
||||
// Filters imports out of the range of statements to move. Imports will be copied to the new file anyway, and may still be needed in the old file.
|
||||
function getStatementsToMove(context) {
|
||||
var rangeToMove = getRangeToMove(context);
|
||||
if (rangeToMove === undefined)
|
||||
@ -142602,13 +142629,20 @@ var ts;
|
||||
var all = [];
|
||||
var ranges = [];
|
||||
var toMove = rangeToMove.toMove, afterLast = rangeToMove.afterLast;
|
||||
ts.getRangesWhere(toMove, function (s) { return !isPureImport(s); }, function (start, afterEndIndex) {
|
||||
ts.getRangesWhere(toMove, isAllowedStatementToMove, function (start, afterEndIndex) {
|
||||
for (var i = start; i < afterEndIndex; i++)
|
||||
all.push(toMove[i]);
|
||||
ranges.push({ first: toMove[start], afterLast: afterLast });
|
||||
});
|
||||
return all.length === 0 ? undefined : { all: all, ranges: ranges };
|
||||
}
|
||||
function isAllowedStatementToMove(statement) {
|
||||
// Filters imports and prologue directives out of the range of statements to move.
|
||||
// Imports will be copied to the new file anyway, and may still be needed in the old file.
|
||||
// Prologue directives will be copied to the new file and should be left in the old file.
|
||||
return !isPureImport(statement) && !ts.isPrologueDirective(statement);
|
||||
;
|
||||
}
|
||||
function isPureImport(node) {
|
||||
switch (node.kind) {
|
||||
case 264 /* ImportDeclaration */:
|
||||
@ -142637,9 +142671,10 @@ var ts;
|
||||
}
|
||||
function getNewStatementsAndRemoveFromOldFile(oldFile, usage, changes, toMove, program, newModuleName, preferences) {
|
||||
var checker = program.getTypeChecker();
|
||||
var prologueDirectives = ts.takeWhile(oldFile.statements, ts.isPrologueDirective);
|
||||
if (!oldFile.externalModuleIndicator && !oldFile.commonJsModuleIndicator) {
|
||||
deleteMovedStatements(oldFile, toMove.ranges, changes);
|
||||
return toMove.all;
|
||||
return __spreadArrays(prologueDirectives, toMove.all);
|
||||
}
|
||||
var useEs6ModuleSyntax = !!oldFile.externalModuleIndicator;
|
||||
var quotePreference = ts.getQuotePreference(oldFile, preferences);
|
||||
@ -142653,11 +142688,11 @@ var ts;
|
||||
var imports = getNewFileImportsAndAddExportInOldFile(oldFile, usage.oldImportsNeededByNewFile, usage.newFileImportsFromOldFile, changes, checker, useEs6ModuleSyntax, quotePreference);
|
||||
var body = addExports(oldFile, toMove.all, usage.oldFileImportsFromNewFile, useEs6ModuleSyntax);
|
||||
if (imports.length && body.length) {
|
||||
return __spreadArrays(imports, [
|
||||
return __spreadArrays(prologueDirectives, imports, [
|
||||
4 /* NewLineTrivia */
|
||||
], body);
|
||||
}
|
||||
return __spreadArrays(imports, body);
|
||||
return __spreadArrays(prologueDirectives, imports, body);
|
||||
}
|
||||
function deleteMovedStatements(sourceFile, moved, changes) {
|
||||
for (var _i = 0, moved_1 = moved; _i < moved_1.length; _i++) {
|
||||
|
||||
2
lib/tsserverlibrary.d.ts
vendored
2
lib/tsserverlibrary.d.ts
vendored
@ -2841,7 +2841,7 @@ declare namespace ts {
|
||||
assumeChangesOnlyAffectDirectDependencies?: boolean;
|
||||
noLib?: boolean;
|
||||
noResolve?: boolean;
|
||||
noUncheckedIndexSignatures?: boolean;
|
||||
noUncheckedIndexedAccess?: boolean;
|
||||
out?: string;
|
||||
outDir?: string;
|
||||
outFile?: string;
|
||||
|
||||
@ -78,7 +78,7 @@ var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
@ -2379,6 +2379,15 @@ var ts;
|
||||
return length <= s.length ? s : s + padString.repeat(length - s.length);
|
||||
}
|
||||
ts.padRight = padRight;
|
||||
function takeWhile(array, predicate) {
|
||||
var len = array.length;
|
||||
var index = 0;
|
||||
while (index < len && predicate(array[index])) {
|
||||
index++;
|
||||
}
|
||||
return array.slice(0, index);
|
||||
}
|
||||
ts.takeWhile = takeWhile;
|
||||
})(ts || (ts = {}));
|
||||
/* @internal */
|
||||
var ts;
|
||||
@ -8808,6 +8817,7 @@ var ts;
|
||||
Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1: diag(7053, ts.DiagnosticCategory.Error, "Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053", "Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'."),
|
||||
No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1: diag(7054, ts.DiagnosticCategory.Error, "No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054", "No index signature with a parameter of type '{0}' was found on type '{1}'."),
|
||||
_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type: diag(7055, ts.DiagnosticCategory.Error, "_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055", "'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type."),
|
||||
The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed: diag(7056, ts.DiagnosticCategory.Error, "The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_ty_7056", "The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed."),
|
||||
You_cannot_rename_this_element: diag(8000, ts.DiagnosticCategory.Error, "You_cannot_rename_this_element_8000", "You cannot rename this element."),
|
||||
You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library: diag(8001, ts.DiagnosticCategory.Error, "You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001", "You cannot rename elements that are defined in the standard TypeScript library."),
|
||||
import_can_only_be_used_in_TypeScript_files: diag(8002, ts.DiagnosticCategory.Error, "import_can_only_be_used_in_TypeScript_files_8002", "'import ... =' can only be used in TypeScript files."),
|
||||
@ -17016,6 +17026,14 @@ var ts;
|
||||
return options.outFile || options.out;
|
||||
}
|
||||
ts.outFile = outFile;
|
||||
/** Returns 'undefined' if and only if 'options.paths' is undefined. */
|
||||
function getPathsBasePath(options, host) {
|
||||
var _a, _b;
|
||||
if (!options.paths)
|
||||
return undefined;
|
||||
return (_a = options.baseUrl) !== null && _a !== void 0 ? _a : ts.Debug.checkDefined(options.pathsBasePath || ((_b = host.getCurrentDirectory) === null || _b === void 0 ? void 0 : _b.call(host)), "Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.");
|
||||
}
|
||||
ts.getPathsBasePath = getPathsBasePath;
|
||||
/**
|
||||
* Gets the source files that are expected to have an emit output.
|
||||
*
|
||||
@ -39031,8 +39049,7 @@ var ts;
|
||||
}
|
||||
}
|
||||
function tryLoadModuleUsingPathsIfEligible(extensions, moduleName, loader, state) {
|
||||
var _a, _b;
|
||||
var _c = state.compilerOptions, baseUrl = _c.baseUrl, paths = _c.paths, pathsBasePath = _c.pathsBasePath;
|
||||
var _a = state.compilerOptions, baseUrl = _a.baseUrl, paths = _a.paths;
|
||||
if (paths && !ts.pathIsRelative(moduleName)) {
|
||||
if (state.traceEnabled) {
|
||||
if (baseUrl) {
|
||||
@ -39040,7 +39057,7 @@ var ts;
|
||||
}
|
||||
trace(state.host, ts.Diagnostics.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0, moduleName);
|
||||
}
|
||||
var baseDirectory = baseUrl !== null && baseUrl !== void 0 ? baseUrl : ts.Debug.checkDefined(pathsBasePath || ((_b = (_a = state.host).getCurrentDirectory) === null || _b === void 0 ? void 0 : _b.call(_a)), "Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.");
|
||||
var baseDirectory = ts.getPathsBasePath(state.compilerOptions, state.host); // Always defined when 'paths' is defined
|
||||
return tryLoadModuleUsingPaths(extensions, moduleName, baseDirectory, paths, loader, /*onlyRecordFailures*/ false, state);
|
||||
}
|
||||
}
|
||||
@ -42256,8 +42273,8 @@ var ts;
|
||||
if (symbol) {
|
||||
var isAlias = ts.isAliasableExpression(node.right) && (ts.isExportsIdentifier(node.left.expression) || ts.isModuleExportsAccessExpression(node.left.expression));
|
||||
var flags = isAlias ? 2097152 /* Alias */ : 4 /* Property */ | 1048576 /* ExportValue */;
|
||||
var excludeFlags = isAlias ? 2097152 /* AliasExcludes */ : 0 /* None */;
|
||||
declareSymbol(symbol.exports, symbol, node.left, flags, excludeFlags);
|
||||
ts.setParent(node.left, node);
|
||||
declareSymbol(symbol.exports, symbol, node.left, flags, 0 /* None */);
|
||||
}
|
||||
}
|
||||
function bindModuleExportsAssignment(node) {
|
||||
@ -46946,6 +46963,7 @@ var ts;
|
||||
},
|
||||
};
|
||||
function withContext(enclosingDeclaration, flags, tracker, cb) {
|
||||
var _a, _b;
|
||||
ts.Debug.assert(enclosingDeclaration === undefined || (enclosingDeclaration.flags & 8 /* Synthesized */) === 0);
|
||||
var context = {
|
||||
enclosingDeclaration: enclosingDeclaration,
|
||||
@ -46970,6 +46988,9 @@ var ts;
|
||||
approximateLength: 0
|
||||
};
|
||||
var resultingNode = cb(context);
|
||||
if (context.truncating && context.flags & 1 /* NoTruncation */) {
|
||||
(_b = (_a = context.tracker) === null || _a === void 0 ? void 0 : _a.reportTruncationError) === null || _b === void 0 ? void 0 : _b.call(_a);
|
||||
}
|
||||
return context.encounteredError ? undefined : resultingNode;
|
||||
}
|
||||
function checkTruncationLength(context) {
|
||||
@ -47933,7 +47954,6 @@ var ts;
|
||||
}
|
||||
function getSpecifierForModuleSymbol(symbol, context) {
|
||||
var _a;
|
||||
var _b;
|
||||
var file = ts.getDeclarationOfKind(symbol, 300 /* SourceFile */);
|
||||
if (!file) {
|
||||
var equivalentFileSymbol = ts.firstDefined(symbol.declarations, function (d) { return getFileSymbolIfFileSymbolExportEqualsContainer(d, symbol); });
|
||||
@ -47978,7 +47998,7 @@ var ts;
|
||||
var moduleResolverHost = context.tracker.moduleResolverHost;
|
||||
var specifierCompilerOptions = isBundle_1 ? __assign(__assign({}, compilerOptions), { baseUrl: moduleResolverHost.getCommonSourceDirectory() }) : compilerOptions;
|
||||
specifier = ts.first(ts.moduleSpecifiers.getModuleSpecifiers(symbol, specifierCompilerOptions, contextFile, moduleResolverHost, { importModuleSpecifierPreference: isBundle_1 ? "non-relative" : "relative" }));
|
||||
(_a = (_b = links).specifierCache) !== null && _a !== void 0 ? _a : (_b.specifierCache = new ts.Map());
|
||||
(_a = links.specifierCache) !== null && _a !== void 0 ? _a : (links.specifierCache = new ts.Map());
|
||||
links.specifierCache.set(contextFile.path, specifier);
|
||||
}
|
||||
return specifier;
|
||||
@ -49171,6 +49191,7 @@ var ts;
|
||||
break;
|
||||
case 219 /* BinaryExpression */:
|
||||
case 204 /* PropertyAccessExpression */:
|
||||
case 205 /* ElementAccessExpression */:
|
||||
// Could be best encoded as though an export specifier or as though an export assignment
|
||||
// If name is default or export=, do an export assignment
|
||||
// Otherwise do an export specifier
|
||||
@ -55444,7 +55465,7 @@ var ts;
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
var shouldIncludeUndefined = compilerOptions.noUncheckedIndexSignatures &&
|
||||
var shouldIncludeUndefined = compilerOptions.noUncheckedIndexedAccess &&
|
||||
(accessFlags & (2 /* Writing */ | 16 /* ExpressionPosition */)) === 16 /* ExpressionPosition */;
|
||||
if (accessNode && !isTypeAssignableToKind(indexType, 4 /* String */ | 8 /* Number */)) {
|
||||
var indexNode = getIndexNodeForAccessExpression(accessNode);
|
||||
@ -96707,6 +96728,7 @@ var ts;
|
||||
reportCyclicStructureError: reportCyclicStructureError,
|
||||
reportPrivateInBaseOfClassExpression: reportPrivateInBaseOfClassExpression,
|
||||
reportLikelyUnsafeImportRequiredError: reportLikelyUnsafeImportRequiredError,
|
||||
reportTruncationError: reportTruncationError,
|
||||
moduleResolverHost: host,
|
||||
trackReferencedAmbientModule: trackReferencedAmbientModule,
|
||||
trackExternalModuleSymbolOfImportTypeNode: trackExternalModuleSymbolOfImportTypeNode,
|
||||
@ -96806,6 +96828,11 @@ var ts;
|
||||
context.addDiagnostic(ts.createDiagnosticForNode(errorNameNode, ts.Diagnostics.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary, ts.declarationNameToString(errorNameNode), specifier));
|
||||
}
|
||||
}
|
||||
function reportTruncationError() {
|
||||
if (errorNameNode) {
|
||||
context.addDiagnostic(ts.createDiagnosticForNode(errorNameNode, ts.Diagnostics.The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed));
|
||||
}
|
||||
}
|
||||
function reportNonlocalAugmentation(containingFile, parentSymbol, symbol) {
|
||||
var primaryDeclaration = ts.find(parentSymbol.declarations, function (d) { return ts.getSourceFileOfNode(d) === containingFile; });
|
||||
var augmentingDeclarations = ts.filter(symbol.declarations, function (d) { return ts.getSourceFileOfNode(d) !== containingFile; });
|
||||
@ -109169,7 +109196,7 @@ var ts;
|
||||
var info = getInfo(importingSourceFileName, host);
|
||||
var modulePaths = getAllModulePaths(importingSourceFileName, toFileName, host);
|
||||
return ts.firstDefined(modulePaths, function (modulePath) { return tryGetModuleNameAsNodeModule(modulePath, info, host, compilerOptions); }) ||
|
||||
getLocalModuleSpecifier(toFileName, info, compilerOptions, preferences);
|
||||
getLocalModuleSpecifier(toFileName, info, compilerOptions, host, preferences);
|
||||
}
|
||||
/** Returns an import for each symlink and for the realpath. */
|
||||
function getModuleSpecifiers(moduleSymbol, compilerOptions, importingSourceFile, host, userPreferences) {
|
||||
@ -109199,7 +109226,7 @@ var ts;
|
||||
return nodeModulesSpecifiers;
|
||||
}
|
||||
if (!specifier && !modulePath.isRedirect) {
|
||||
var local = getLocalModuleSpecifier(modulePath.path, info, compilerOptions, preferences);
|
||||
var local = getLocalModuleSpecifier(modulePath.path, info, compilerOptions, host, preferences);
|
||||
if (ts.pathIsBareSpecifier(local)) {
|
||||
pathsSpecifiers = ts.append(pathsSpecifiers, local);
|
||||
}
|
||||
@ -109228,16 +109255,17 @@ var ts;
|
||||
var sourceDirectory = ts.getDirectoryPath(importingSourceFileName);
|
||||
return { getCanonicalFileName: getCanonicalFileName, sourceDirectory: sourceDirectory };
|
||||
}
|
||||
function getLocalModuleSpecifier(moduleFileName, _a, compilerOptions, _b) {
|
||||
function getLocalModuleSpecifier(moduleFileName, _a, compilerOptions, host, _b) {
|
||||
var getCanonicalFileName = _a.getCanonicalFileName, sourceDirectory = _a.sourceDirectory;
|
||||
var ending = _b.ending, relativePreference = _b.relativePreference;
|
||||
var baseUrl = compilerOptions.baseUrl, paths = compilerOptions.paths, rootDirs = compilerOptions.rootDirs, bundledPackageName = compilerOptions.bundledPackageName;
|
||||
var relativePath = rootDirs && tryGetModuleNameFromRootDirs(rootDirs, moduleFileName, sourceDirectory, getCanonicalFileName, ending, compilerOptions) ||
|
||||
removeExtensionAndIndexPostFix(ts.ensurePathIsNonModuleName(ts.getRelativePathFromDirectory(sourceDirectory, moduleFileName, getCanonicalFileName)), ending, compilerOptions);
|
||||
if (!baseUrl || relativePreference === 0 /* Relative */) {
|
||||
if (!baseUrl && !paths || relativePreference === 0 /* Relative */) {
|
||||
return relativePath;
|
||||
}
|
||||
var relativeToBaseUrl = getRelativePathIfInDirectory(moduleFileName, baseUrl, getCanonicalFileName);
|
||||
var baseDirectory = ts.getPathsBasePath(compilerOptions, host) || baseUrl;
|
||||
var relativeToBaseUrl = getRelativePathIfInDirectory(moduleFileName, baseDirectory, getCanonicalFileName);
|
||||
if (!relativeToBaseUrl) {
|
||||
return relativePath;
|
||||
}
|
||||
@ -143161,7 +143189,6 @@ var ts;
|
||||
changes.createNewFile(oldFile, ts.combinePaths(currentDirectory, newFileNameWithExtension), getNewStatementsAndRemoveFromOldFile(oldFile, usage, changes, toMove, program, newModuleName, preferences));
|
||||
addNewFileToTsconfig(program, changes, oldFile.fileName, newFileNameWithExtension, ts.hostGetCanonicalFileName(host));
|
||||
}
|
||||
// Filters imports out of the range of statements to move. Imports will be copied to the new file anyway, and may still be needed in the old file.
|
||||
function getStatementsToMove(context) {
|
||||
var rangeToMove = getRangeToMove(context);
|
||||
if (rangeToMove === undefined)
|
||||
@ -143169,13 +143196,20 @@ var ts;
|
||||
var all = [];
|
||||
var ranges = [];
|
||||
var toMove = rangeToMove.toMove, afterLast = rangeToMove.afterLast;
|
||||
ts.getRangesWhere(toMove, function (s) { return !isPureImport(s); }, function (start, afterEndIndex) {
|
||||
ts.getRangesWhere(toMove, isAllowedStatementToMove, function (start, afterEndIndex) {
|
||||
for (var i = start; i < afterEndIndex; i++)
|
||||
all.push(toMove[i]);
|
||||
ranges.push({ first: toMove[start], afterLast: afterLast });
|
||||
});
|
||||
return all.length === 0 ? undefined : { all: all, ranges: ranges };
|
||||
}
|
||||
function isAllowedStatementToMove(statement) {
|
||||
// Filters imports and prologue directives out of the range of statements to move.
|
||||
// Imports will be copied to the new file anyway, and may still be needed in the old file.
|
||||
// Prologue directives will be copied to the new file and should be left in the old file.
|
||||
return !isPureImport(statement) && !ts.isPrologueDirective(statement);
|
||||
;
|
||||
}
|
||||
function isPureImport(node) {
|
||||
switch (node.kind) {
|
||||
case 264 /* ImportDeclaration */:
|
||||
@ -143204,9 +143238,10 @@ var ts;
|
||||
}
|
||||
function getNewStatementsAndRemoveFromOldFile(oldFile, usage, changes, toMove, program, newModuleName, preferences) {
|
||||
var checker = program.getTypeChecker();
|
||||
var prologueDirectives = ts.takeWhile(oldFile.statements, ts.isPrologueDirective);
|
||||
if (!oldFile.externalModuleIndicator && !oldFile.commonJsModuleIndicator) {
|
||||
deleteMovedStatements(oldFile, toMove.ranges, changes);
|
||||
return toMove.all;
|
||||
return __spreadArrays(prologueDirectives, toMove.all);
|
||||
}
|
||||
var useEs6ModuleSyntax = !!oldFile.externalModuleIndicator;
|
||||
var quotePreference = ts.getQuotePreference(oldFile, preferences);
|
||||
@ -143220,11 +143255,11 @@ var ts;
|
||||
var imports = getNewFileImportsAndAddExportInOldFile(oldFile, usage.oldImportsNeededByNewFile, usage.newFileImportsFromOldFile, changes, checker, useEs6ModuleSyntax, quotePreference);
|
||||
var body = addExports(oldFile, toMove.all, usage.oldFileImportsFromNewFile, useEs6ModuleSyntax);
|
||||
if (imports.length && body.length) {
|
||||
return __spreadArrays(imports, [
|
||||
return __spreadArrays(prologueDirectives, imports, [
|
||||
4 /* NewLineTrivia */
|
||||
], body);
|
||||
}
|
||||
return __spreadArrays(imports, body);
|
||||
return __spreadArrays(prologueDirectives, imports, body);
|
||||
}
|
||||
function deleteMovedStatements(sourceFile, moved, changes) {
|
||||
for (var _i = 0, moved_1 = moved; _i < moved_1.length; _i++) {
|
||||
|
||||
2
lib/typescript.d.ts
vendored
2
lib/typescript.d.ts
vendored
@ -2841,7 +2841,7 @@ declare namespace ts {
|
||||
assumeChangesOnlyAffectDirectDependencies?: boolean;
|
||||
noLib?: boolean;
|
||||
noResolve?: boolean;
|
||||
noUncheckedIndexSignatures?: boolean;
|
||||
noUncheckedIndexedAccess?: boolean;
|
||||
out?: string;
|
||||
outDir?: string;
|
||||
outFile?: string;
|
||||
|
||||
@ -78,7 +78,7 @@ var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
@ -2379,6 +2379,15 @@ var ts;
|
||||
return length <= s.length ? s : s + padString.repeat(length - s.length);
|
||||
}
|
||||
ts.padRight = padRight;
|
||||
function takeWhile(array, predicate) {
|
||||
var len = array.length;
|
||||
var index = 0;
|
||||
while (index < len && predicate(array[index])) {
|
||||
index++;
|
||||
}
|
||||
return array.slice(0, index);
|
||||
}
|
||||
ts.takeWhile = takeWhile;
|
||||
})(ts || (ts = {}));
|
||||
/* @internal */
|
||||
var ts;
|
||||
@ -8808,6 +8817,7 @@ var ts;
|
||||
Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1: diag(7053, ts.DiagnosticCategory.Error, "Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053", "Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'."),
|
||||
No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1: diag(7054, ts.DiagnosticCategory.Error, "No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054", "No index signature with a parameter of type '{0}' was found on type '{1}'."),
|
||||
_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type: diag(7055, ts.DiagnosticCategory.Error, "_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055", "'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type."),
|
||||
The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed: diag(7056, ts.DiagnosticCategory.Error, "The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_ty_7056", "The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed."),
|
||||
You_cannot_rename_this_element: diag(8000, ts.DiagnosticCategory.Error, "You_cannot_rename_this_element_8000", "You cannot rename this element."),
|
||||
You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library: diag(8001, ts.DiagnosticCategory.Error, "You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001", "You cannot rename elements that are defined in the standard TypeScript library."),
|
||||
import_can_only_be_used_in_TypeScript_files: diag(8002, ts.DiagnosticCategory.Error, "import_can_only_be_used_in_TypeScript_files_8002", "'import ... =' can only be used in TypeScript files."),
|
||||
@ -17016,6 +17026,14 @@ var ts;
|
||||
return options.outFile || options.out;
|
||||
}
|
||||
ts.outFile = outFile;
|
||||
/** Returns 'undefined' if and only if 'options.paths' is undefined. */
|
||||
function getPathsBasePath(options, host) {
|
||||
var _a, _b;
|
||||
if (!options.paths)
|
||||
return undefined;
|
||||
return (_a = options.baseUrl) !== null && _a !== void 0 ? _a : ts.Debug.checkDefined(options.pathsBasePath || ((_b = host.getCurrentDirectory) === null || _b === void 0 ? void 0 : _b.call(host)), "Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.");
|
||||
}
|
||||
ts.getPathsBasePath = getPathsBasePath;
|
||||
/**
|
||||
* Gets the source files that are expected to have an emit output.
|
||||
*
|
||||
@ -39031,8 +39049,7 @@ var ts;
|
||||
}
|
||||
}
|
||||
function tryLoadModuleUsingPathsIfEligible(extensions, moduleName, loader, state) {
|
||||
var _a, _b;
|
||||
var _c = state.compilerOptions, baseUrl = _c.baseUrl, paths = _c.paths, pathsBasePath = _c.pathsBasePath;
|
||||
var _a = state.compilerOptions, baseUrl = _a.baseUrl, paths = _a.paths;
|
||||
if (paths && !ts.pathIsRelative(moduleName)) {
|
||||
if (state.traceEnabled) {
|
||||
if (baseUrl) {
|
||||
@ -39040,7 +39057,7 @@ var ts;
|
||||
}
|
||||
trace(state.host, ts.Diagnostics.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0, moduleName);
|
||||
}
|
||||
var baseDirectory = baseUrl !== null && baseUrl !== void 0 ? baseUrl : ts.Debug.checkDefined(pathsBasePath || ((_b = (_a = state.host).getCurrentDirectory) === null || _b === void 0 ? void 0 : _b.call(_a)), "Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.");
|
||||
var baseDirectory = ts.getPathsBasePath(state.compilerOptions, state.host); // Always defined when 'paths' is defined
|
||||
return tryLoadModuleUsingPaths(extensions, moduleName, baseDirectory, paths, loader, /*onlyRecordFailures*/ false, state);
|
||||
}
|
||||
}
|
||||
@ -42256,8 +42273,8 @@ var ts;
|
||||
if (symbol) {
|
||||
var isAlias = ts.isAliasableExpression(node.right) && (ts.isExportsIdentifier(node.left.expression) || ts.isModuleExportsAccessExpression(node.left.expression));
|
||||
var flags = isAlias ? 2097152 /* Alias */ : 4 /* Property */ | 1048576 /* ExportValue */;
|
||||
var excludeFlags = isAlias ? 2097152 /* AliasExcludes */ : 0 /* None */;
|
||||
declareSymbol(symbol.exports, symbol, node.left, flags, excludeFlags);
|
||||
ts.setParent(node.left, node);
|
||||
declareSymbol(symbol.exports, symbol, node.left, flags, 0 /* None */);
|
||||
}
|
||||
}
|
||||
function bindModuleExportsAssignment(node) {
|
||||
@ -46946,6 +46963,7 @@ var ts;
|
||||
},
|
||||
};
|
||||
function withContext(enclosingDeclaration, flags, tracker, cb) {
|
||||
var _a, _b;
|
||||
ts.Debug.assert(enclosingDeclaration === undefined || (enclosingDeclaration.flags & 8 /* Synthesized */) === 0);
|
||||
var context = {
|
||||
enclosingDeclaration: enclosingDeclaration,
|
||||
@ -46970,6 +46988,9 @@ var ts;
|
||||
approximateLength: 0
|
||||
};
|
||||
var resultingNode = cb(context);
|
||||
if (context.truncating && context.flags & 1 /* NoTruncation */) {
|
||||
(_b = (_a = context.tracker) === null || _a === void 0 ? void 0 : _a.reportTruncationError) === null || _b === void 0 ? void 0 : _b.call(_a);
|
||||
}
|
||||
return context.encounteredError ? undefined : resultingNode;
|
||||
}
|
||||
function checkTruncationLength(context) {
|
||||
@ -47933,7 +47954,6 @@ var ts;
|
||||
}
|
||||
function getSpecifierForModuleSymbol(symbol, context) {
|
||||
var _a;
|
||||
var _b;
|
||||
var file = ts.getDeclarationOfKind(symbol, 300 /* SourceFile */);
|
||||
if (!file) {
|
||||
var equivalentFileSymbol = ts.firstDefined(symbol.declarations, function (d) { return getFileSymbolIfFileSymbolExportEqualsContainer(d, symbol); });
|
||||
@ -47978,7 +47998,7 @@ var ts;
|
||||
var moduleResolverHost = context.tracker.moduleResolverHost;
|
||||
var specifierCompilerOptions = isBundle_1 ? __assign(__assign({}, compilerOptions), { baseUrl: moduleResolverHost.getCommonSourceDirectory() }) : compilerOptions;
|
||||
specifier = ts.first(ts.moduleSpecifiers.getModuleSpecifiers(symbol, specifierCompilerOptions, contextFile, moduleResolverHost, { importModuleSpecifierPreference: isBundle_1 ? "non-relative" : "relative" }));
|
||||
(_a = (_b = links).specifierCache) !== null && _a !== void 0 ? _a : (_b.specifierCache = new ts.Map());
|
||||
(_a = links.specifierCache) !== null && _a !== void 0 ? _a : (links.specifierCache = new ts.Map());
|
||||
links.specifierCache.set(contextFile.path, specifier);
|
||||
}
|
||||
return specifier;
|
||||
@ -49171,6 +49191,7 @@ var ts;
|
||||
break;
|
||||
case 219 /* BinaryExpression */:
|
||||
case 204 /* PropertyAccessExpression */:
|
||||
case 205 /* ElementAccessExpression */:
|
||||
// Could be best encoded as though an export specifier or as though an export assignment
|
||||
// If name is default or export=, do an export assignment
|
||||
// Otherwise do an export specifier
|
||||
@ -55444,7 +55465,7 @@ var ts;
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
var shouldIncludeUndefined = compilerOptions.noUncheckedIndexSignatures &&
|
||||
var shouldIncludeUndefined = compilerOptions.noUncheckedIndexedAccess &&
|
||||
(accessFlags & (2 /* Writing */ | 16 /* ExpressionPosition */)) === 16 /* ExpressionPosition */;
|
||||
if (accessNode && !isTypeAssignableToKind(indexType, 4 /* String */ | 8 /* Number */)) {
|
||||
var indexNode = getIndexNodeForAccessExpression(accessNode);
|
||||
@ -96707,6 +96728,7 @@ var ts;
|
||||
reportCyclicStructureError: reportCyclicStructureError,
|
||||
reportPrivateInBaseOfClassExpression: reportPrivateInBaseOfClassExpression,
|
||||
reportLikelyUnsafeImportRequiredError: reportLikelyUnsafeImportRequiredError,
|
||||
reportTruncationError: reportTruncationError,
|
||||
moduleResolverHost: host,
|
||||
trackReferencedAmbientModule: trackReferencedAmbientModule,
|
||||
trackExternalModuleSymbolOfImportTypeNode: trackExternalModuleSymbolOfImportTypeNode,
|
||||
@ -96806,6 +96828,11 @@ var ts;
|
||||
context.addDiagnostic(ts.createDiagnosticForNode(errorNameNode, ts.Diagnostics.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary, ts.declarationNameToString(errorNameNode), specifier));
|
||||
}
|
||||
}
|
||||
function reportTruncationError() {
|
||||
if (errorNameNode) {
|
||||
context.addDiagnostic(ts.createDiagnosticForNode(errorNameNode, ts.Diagnostics.The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed));
|
||||
}
|
||||
}
|
||||
function reportNonlocalAugmentation(containingFile, parentSymbol, symbol) {
|
||||
var primaryDeclaration = ts.find(parentSymbol.declarations, function (d) { return ts.getSourceFileOfNode(d) === containingFile; });
|
||||
var augmentingDeclarations = ts.filter(symbol.declarations, function (d) { return ts.getSourceFileOfNode(d) !== containingFile; });
|
||||
@ -109169,7 +109196,7 @@ var ts;
|
||||
var info = getInfo(importingSourceFileName, host);
|
||||
var modulePaths = getAllModulePaths(importingSourceFileName, toFileName, host);
|
||||
return ts.firstDefined(modulePaths, function (modulePath) { return tryGetModuleNameAsNodeModule(modulePath, info, host, compilerOptions); }) ||
|
||||
getLocalModuleSpecifier(toFileName, info, compilerOptions, preferences);
|
||||
getLocalModuleSpecifier(toFileName, info, compilerOptions, host, preferences);
|
||||
}
|
||||
/** Returns an import for each symlink and for the realpath. */
|
||||
function getModuleSpecifiers(moduleSymbol, compilerOptions, importingSourceFile, host, userPreferences) {
|
||||
@ -109199,7 +109226,7 @@ var ts;
|
||||
return nodeModulesSpecifiers;
|
||||
}
|
||||
if (!specifier && !modulePath.isRedirect) {
|
||||
var local = getLocalModuleSpecifier(modulePath.path, info, compilerOptions, preferences);
|
||||
var local = getLocalModuleSpecifier(modulePath.path, info, compilerOptions, host, preferences);
|
||||
if (ts.pathIsBareSpecifier(local)) {
|
||||
pathsSpecifiers = ts.append(pathsSpecifiers, local);
|
||||
}
|
||||
@ -109228,16 +109255,17 @@ var ts;
|
||||
var sourceDirectory = ts.getDirectoryPath(importingSourceFileName);
|
||||
return { getCanonicalFileName: getCanonicalFileName, sourceDirectory: sourceDirectory };
|
||||
}
|
||||
function getLocalModuleSpecifier(moduleFileName, _a, compilerOptions, _b) {
|
||||
function getLocalModuleSpecifier(moduleFileName, _a, compilerOptions, host, _b) {
|
||||
var getCanonicalFileName = _a.getCanonicalFileName, sourceDirectory = _a.sourceDirectory;
|
||||
var ending = _b.ending, relativePreference = _b.relativePreference;
|
||||
var baseUrl = compilerOptions.baseUrl, paths = compilerOptions.paths, rootDirs = compilerOptions.rootDirs, bundledPackageName = compilerOptions.bundledPackageName;
|
||||
var relativePath = rootDirs && tryGetModuleNameFromRootDirs(rootDirs, moduleFileName, sourceDirectory, getCanonicalFileName, ending, compilerOptions) ||
|
||||
removeExtensionAndIndexPostFix(ts.ensurePathIsNonModuleName(ts.getRelativePathFromDirectory(sourceDirectory, moduleFileName, getCanonicalFileName)), ending, compilerOptions);
|
||||
if (!baseUrl || relativePreference === 0 /* Relative */) {
|
||||
if (!baseUrl && !paths || relativePreference === 0 /* Relative */) {
|
||||
return relativePath;
|
||||
}
|
||||
var relativeToBaseUrl = getRelativePathIfInDirectory(moduleFileName, baseUrl, getCanonicalFileName);
|
||||
var baseDirectory = ts.getPathsBasePath(compilerOptions, host) || baseUrl;
|
||||
var relativeToBaseUrl = getRelativePathIfInDirectory(moduleFileName, baseDirectory, getCanonicalFileName);
|
||||
if (!relativeToBaseUrl) {
|
||||
return relativePath;
|
||||
}
|
||||
@ -143161,7 +143189,6 @@ var ts;
|
||||
changes.createNewFile(oldFile, ts.combinePaths(currentDirectory, newFileNameWithExtension), getNewStatementsAndRemoveFromOldFile(oldFile, usage, changes, toMove, program, newModuleName, preferences));
|
||||
addNewFileToTsconfig(program, changes, oldFile.fileName, newFileNameWithExtension, ts.hostGetCanonicalFileName(host));
|
||||
}
|
||||
// Filters imports out of the range of statements to move. Imports will be copied to the new file anyway, and may still be needed in the old file.
|
||||
function getStatementsToMove(context) {
|
||||
var rangeToMove = getRangeToMove(context);
|
||||
if (rangeToMove === undefined)
|
||||
@ -143169,13 +143196,20 @@ var ts;
|
||||
var all = [];
|
||||
var ranges = [];
|
||||
var toMove = rangeToMove.toMove, afterLast = rangeToMove.afterLast;
|
||||
ts.getRangesWhere(toMove, function (s) { return !isPureImport(s); }, function (start, afterEndIndex) {
|
||||
ts.getRangesWhere(toMove, isAllowedStatementToMove, function (start, afterEndIndex) {
|
||||
for (var i = start; i < afterEndIndex; i++)
|
||||
all.push(toMove[i]);
|
||||
ranges.push({ first: toMove[start], afterLast: afterLast });
|
||||
});
|
||||
return all.length === 0 ? undefined : { all: all, ranges: ranges };
|
||||
}
|
||||
function isAllowedStatementToMove(statement) {
|
||||
// Filters imports and prologue directives out of the range of statements to move.
|
||||
// Imports will be copied to the new file anyway, and may still be needed in the old file.
|
||||
// Prologue directives will be copied to the new file and should be left in the old file.
|
||||
return !isPureImport(statement) && !ts.isPrologueDirective(statement);
|
||||
;
|
||||
}
|
||||
function isPureImport(node) {
|
||||
switch (node.kind) {
|
||||
case 264 /* ImportDeclaration */:
|
||||
@ -143204,9 +143238,10 @@ var ts;
|
||||
}
|
||||
function getNewStatementsAndRemoveFromOldFile(oldFile, usage, changes, toMove, program, newModuleName, preferences) {
|
||||
var checker = program.getTypeChecker();
|
||||
var prologueDirectives = ts.takeWhile(oldFile.statements, ts.isPrologueDirective);
|
||||
if (!oldFile.externalModuleIndicator && !oldFile.commonJsModuleIndicator) {
|
||||
deleteMovedStatements(oldFile, toMove.ranges, changes);
|
||||
return toMove.all;
|
||||
return __spreadArrays(prologueDirectives, toMove.all);
|
||||
}
|
||||
var useEs6ModuleSyntax = !!oldFile.externalModuleIndicator;
|
||||
var quotePreference = ts.getQuotePreference(oldFile, preferences);
|
||||
@ -143220,11 +143255,11 @@ var ts;
|
||||
var imports = getNewFileImportsAndAddExportInOldFile(oldFile, usage.oldImportsNeededByNewFile, usage.newFileImportsFromOldFile, changes, checker, useEs6ModuleSyntax, quotePreference);
|
||||
var body = addExports(oldFile, toMove.all, usage.oldFileImportsFromNewFile, useEs6ModuleSyntax);
|
||||
if (imports.length && body.length) {
|
||||
return __spreadArrays(imports, [
|
||||
return __spreadArrays(prologueDirectives, imports, [
|
||||
4 /* NewLineTrivia */
|
||||
], body);
|
||||
}
|
||||
return __spreadArrays(imports, body);
|
||||
return __spreadArrays(prologueDirectives, imports, body);
|
||||
}
|
||||
function deleteMovedStatements(sourceFile, moved, changes) {
|
||||
for (var _i = 0, moved_1 = moved; _i < moved_1.length; _i++) {
|
||||
|
||||
2
lib/typescriptServices.d.ts
vendored
2
lib/typescriptServices.d.ts
vendored
@ -2841,7 +2841,7 @@ declare namespace ts {
|
||||
assumeChangesOnlyAffectDirectDependencies?: boolean;
|
||||
noLib?: boolean;
|
||||
noResolve?: boolean;
|
||||
noUncheckedIndexSignatures?: boolean;
|
||||
noUncheckedIndexedAccess?: boolean;
|
||||
out?: string;
|
||||
outDir?: string;
|
||||
outFile?: string;
|
||||
|
||||
@ -78,7 +78,7 @@ var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
@ -2379,6 +2379,15 @@ var ts;
|
||||
return length <= s.length ? s : s + padString.repeat(length - s.length);
|
||||
}
|
||||
ts.padRight = padRight;
|
||||
function takeWhile(array, predicate) {
|
||||
var len = array.length;
|
||||
var index = 0;
|
||||
while (index < len && predicate(array[index])) {
|
||||
index++;
|
||||
}
|
||||
return array.slice(0, index);
|
||||
}
|
||||
ts.takeWhile = takeWhile;
|
||||
})(ts || (ts = {}));
|
||||
/* @internal */
|
||||
var ts;
|
||||
@ -8808,6 +8817,7 @@ var ts;
|
||||
Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1: diag(7053, ts.DiagnosticCategory.Error, "Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053", "Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'."),
|
||||
No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1: diag(7054, ts.DiagnosticCategory.Error, "No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054", "No index signature with a parameter of type '{0}' was found on type '{1}'."),
|
||||
_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type: diag(7055, ts.DiagnosticCategory.Error, "_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055", "'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type."),
|
||||
The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed: diag(7056, ts.DiagnosticCategory.Error, "The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_ty_7056", "The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed."),
|
||||
You_cannot_rename_this_element: diag(8000, ts.DiagnosticCategory.Error, "You_cannot_rename_this_element_8000", "You cannot rename this element."),
|
||||
You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library: diag(8001, ts.DiagnosticCategory.Error, "You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001", "You cannot rename elements that are defined in the standard TypeScript library."),
|
||||
import_can_only_be_used_in_TypeScript_files: diag(8002, ts.DiagnosticCategory.Error, "import_can_only_be_used_in_TypeScript_files_8002", "'import ... =' can only be used in TypeScript files."),
|
||||
@ -17016,6 +17026,14 @@ var ts;
|
||||
return options.outFile || options.out;
|
||||
}
|
||||
ts.outFile = outFile;
|
||||
/** Returns 'undefined' if and only if 'options.paths' is undefined. */
|
||||
function getPathsBasePath(options, host) {
|
||||
var _a, _b;
|
||||
if (!options.paths)
|
||||
return undefined;
|
||||
return (_a = options.baseUrl) !== null && _a !== void 0 ? _a : ts.Debug.checkDefined(options.pathsBasePath || ((_b = host.getCurrentDirectory) === null || _b === void 0 ? void 0 : _b.call(host)), "Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.");
|
||||
}
|
||||
ts.getPathsBasePath = getPathsBasePath;
|
||||
/**
|
||||
* Gets the source files that are expected to have an emit output.
|
||||
*
|
||||
@ -39031,8 +39049,7 @@ var ts;
|
||||
}
|
||||
}
|
||||
function tryLoadModuleUsingPathsIfEligible(extensions, moduleName, loader, state) {
|
||||
var _a, _b;
|
||||
var _c = state.compilerOptions, baseUrl = _c.baseUrl, paths = _c.paths, pathsBasePath = _c.pathsBasePath;
|
||||
var _a = state.compilerOptions, baseUrl = _a.baseUrl, paths = _a.paths;
|
||||
if (paths && !ts.pathIsRelative(moduleName)) {
|
||||
if (state.traceEnabled) {
|
||||
if (baseUrl) {
|
||||
@ -39040,7 +39057,7 @@ var ts;
|
||||
}
|
||||
trace(state.host, ts.Diagnostics.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0, moduleName);
|
||||
}
|
||||
var baseDirectory = baseUrl !== null && baseUrl !== void 0 ? baseUrl : ts.Debug.checkDefined(pathsBasePath || ((_b = (_a = state.host).getCurrentDirectory) === null || _b === void 0 ? void 0 : _b.call(_a)), "Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.");
|
||||
var baseDirectory = ts.getPathsBasePath(state.compilerOptions, state.host); // Always defined when 'paths' is defined
|
||||
return tryLoadModuleUsingPaths(extensions, moduleName, baseDirectory, paths, loader, /*onlyRecordFailures*/ false, state);
|
||||
}
|
||||
}
|
||||
@ -42256,8 +42273,8 @@ var ts;
|
||||
if (symbol) {
|
||||
var isAlias = ts.isAliasableExpression(node.right) && (ts.isExportsIdentifier(node.left.expression) || ts.isModuleExportsAccessExpression(node.left.expression));
|
||||
var flags = isAlias ? 2097152 /* Alias */ : 4 /* Property */ | 1048576 /* ExportValue */;
|
||||
var excludeFlags = isAlias ? 2097152 /* AliasExcludes */ : 0 /* None */;
|
||||
declareSymbol(symbol.exports, symbol, node.left, flags, excludeFlags);
|
||||
ts.setParent(node.left, node);
|
||||
declareSymbol(symbol.exports, symbol, node.left, flags, 0 /* None */);
|
||||
}
|
||||
}
|
||||
function bindModuleExportsAssignment(node) {
|
||||
@ -46946,6 +46963,7 @@ var ts;
|
||||
},
|
||||
};
|
||||
function withContext(enclosingDeclaration, flags, tracker, cb) {
|
||||
var _a, _b;
|
||||
ts.Debug.assert(enclosingDeclaration === undefined || (enclosingDeclaration.flags & 8 /* Synthesized */) === 0);
|
||||
var context = {
|
||||
enclosingDeclaration: enclosingDeclaration,
|
||||
@ -46970,6 +46988,9 @@ var ts;
|
||||
approximateLength: 0
|
||||
};
|
||||
var resultingNode = cb(context);
|
||||
if (context.truncating && context.flags & 1 /* NoTruncation */) {
|
||||
(_b = (_a = context.tracker) === null || _a === void 0 ? void 0 : _a.reportTruncationError) === null || _b === void 0 ? void 0 : _b.call(_a);
|
||||
}
|
||||
return context.encounteredError ? undefined : resultingNode;
|
||||
}
|
||||
function checkTruncationLength(context) {
|
||||
@ -47933,7 +47954,6 @@ var ts;
|
||||
}
|
||||
function getSpecifierForModuleSymbol(symbol, context) {
|
||||
var _a;
|
||||
var _b;
|
||||
var file = ts.getDeclarationOfKind(symbol, 300 /* SourceFile */);
|
||||
if (!file) {
|
||||
var equivalentFileSymbol = ts.firstDefined(symbol.declarations, function (d) { return getFileSymbolIfFileSymbolExportEqualsContainer(d, symbol); });
|
||||
@ -47978,7 +47998,7 @@ var ts;
|
||||
var moduleResolverHost = context.tracker.moduleResolverHost;
|
||||
var specifierCompilerOptions = isBundle_1 ? __assign(__assign({}, compilerOptions), { baseUrl: moduleResolverHost.getCommonSourceDirectory() }) : compilerOptions;
|
||||
specifier = ts.first(ts.moduleSpecifiers.getModuleSpecifiers(symbol, specifierCompilerOptions, contextFile, moduleResolverHost, { importModuleSpecifierPreference: isBundle_1 ? "non-relative" : "relative" }));
|
||||
(_a = (_b = links).specifierCache) !== null && _a !== void 0 ? _a : (_b.specifierCache = new ts.Map());
|
||||
(_a = links.specifierCache) !== null && _a !== void 0 ? _a : (links.specifierCache = new ts.Map());
|
||||
links.specifierCache.set(contextFile.path, specifier);
|
||||
}
|
||||
return specifier;
|
||||
@ -49171,6 +49191,7 @@ var ts;
|
||||
break;
|
||||
case 219 /* BinaryExpression */:
|
||||
case 204 /* PropertyAccessExpression */:
|
||||
case 205 /* ElementAccessExpression */:
|
||||
// Could be best encoded as though an export specifier or as though an export assignment
|
||||
// If name is default or export=, do an export assignment
|
||||
// Otherwise do an export specifier
|
||||
@ -55444,7 +55465,7 @@ var ts;
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
var shouldIncludeUndefined = compilerOptions.noUncheckedIndexSignatures &&
|
||||
var shouldIncludeUndefined = compilerOptions.noUncheckedIndexedAccess &&
|
||||
(accessFlags & (2 /* Writing */ | 16 /* ExpressionPosition */)) === 16 /* ExpressionPosition */;
|
||||
if (accessNode && !isTypeAssignableToKind(indexType, 4 /* String */ | 8 /* Number */)) {
|
||||
var indexNode = getIndexNodeForAccessExpression(accessNode);
|
||||
@ -96707,6 +96728,7 @@ var ts;
|
||||
reportCyclicStructureError: reportCyclicStructureError,
|
||||
reportPrivateInBaseOfClassExpression: reportPrivateInBaseOfClassExpression,
|
||||
reportLikelyUnsafeImportRequiredError: reportLikelyUnsafeImportRequiredError,
|
||||
reportTruncationError: reportTruncationError,
|
||||
moduleResolverHost: host,
|
||||
trackReferencedAmbientModule: trackReferencedAmbientModule,
|
||||
trackExternalModuleSymbolOfImportTypeNode: trackExternalModuleSymbolOfImportTypeNode,
|
||||
@ -96806,6 +96828,11 @@ var ts;
|
||||
context.addDiagnostic(ts.createDiagnosticForNode(errorNameNode, ts.Diagnostics.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary, ts.declarationNameToString(errorNameNode), specifier));
|
||||
}
|
||||
}
|
||||
function reportTruncationError() {
|
||||
if (errorNameNode) {
|
||||
context.addDiagnostic(ts.createDiagnosticForNode(errorNameNode, ts.Diagnostics.The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed));
|
||||
}
|
||||
}
|
||||
function reportNonlocalAugmentation(containingFile, parentSymbol, symbol) {
|
||||
var primaryDeclaration = ts.find(parentSymbol.declarations, function (d) { return ts.getSourceFileOfNode(d) === containingFile; });
|
||||
var augmentingDeclarations = ts.filter(symbol.declarations, function (d) { return ts.getSourceFileOfNode(d) !== containingFile; });
|
||||
@ -109169,7 +109196,7 @@ var ts;
|
||||
var info = getInfo(importingSourceFileName, host);
|
||||
var modulePaths = getAllModulePaths(importingSourceFileName, toFileName, host);
|
||||
return ts.firstDefined(modulePaths, function (modulePath) { return tryGetModuleNameAsNodeModule(modulePath, info, host, compilerOptions); }) ||
|
||||
getLocalModuleSpecifier(toFileName, info, compilerOptions, preferences);
|
||||
getLocalModuleSpecifier(toFileName, info, compilerOptions, host, preferences);
|
||||
}
|
||||
/** Returns an import for each symlink and for the realpath. */
|
||||
function getModuleSpecifiers(moduleSymbol, compilerOptions, importingSourceFile, host, userPreferences) {
|
||||
@ -109199,7 +109226,7 @@ var ts;
|
||||
return nodeModulesSpecifiers;
|
||||
}
|
||||
if (!specifier && !modulePath.isRedirect) {
|
||||
var local = getLocalModuleSpecifier(modulePath.path, info, compilerOptions, preferences);
|
||||
var local = getLocalModuleSpecifier(modulePath.path, info, compilerOptions, host, preferences);
|
||||
if (ts.pathIsBareSpecifier(local)) {
|
||||
pathsSpecifiers = ts.append(pathsSpecifiers, local);
|
||||
}
|
||||
@ -109228,16 +109255,17 @@ var ts;
|
||||
var sourceDirectory = ts.getDirectoryPath(importingSourceFileName);
|
||||
return { getCanonicalFileName: getCanonicalFileName, sourceDirectory: sourceDirectory };
|
||||
}
|
||||
function getLocalModuleSpecifier(moduleFileName, _a, compilerOptions, _b) {
|
||||
function getLocalModuleSpecifier(moduleFileName, _a, compilerOptions, host, _b) {
|
||||
var getCanonicalFileName = _a.getCanonicalFileName, sourceDirectory = _a.sourceDirectory;
|
||||
var ending = _b.ending, relativePreference = _b.relativePreference;
|
||||
var baseUrl = compilerOptions.baseUrl, paths = compilerOptions.paths, rootDirs = compilerOptions.rootDirs, bundledPackageName = compilerOptions.bundledPackageName;
|
||||
var relativePath = rootDirs && tryGetModuleNameFromRootDirs(rootDirs, moduleFileName, sourceDirectory, getCanonicalFileName, ending, compilerOptions) ||
|
||||
removeExtensionAndIndexPostFix(ts.ensurePathIsNonModuleName(ts.getRelativePathFromDirectory(sourceDirectory, moduleFileName, getCanonicalFileName)), ending, compilerOptions);
|
||||
if (!baseUrl || relativePreference === 0 /* Relative */) {
|
||||
if (!baseUrl && !paths || relativePreference === 0 /* Relative */) {
|
||||
return relativePath;
|
||||
}
|
||||
var relativeToBaseUrl = getRelativePathIfInDirectory(moduleFileName, baseUrl, getCanonicalFileName);
|
||||
var baseDirectory = ts.getPathsBasePath(compilerOptions, host) || baseUrl;
|
||||
var relativeToBaseUrl = getRelativePathIfInDirectory(moduleFileName, baseDirectory, getCanonicalFileName);
|
||||
if (!relativeToBaseUrl) {
|
||||
return relativePath;
|
||||
}
|
||||
@ -143161,7 +143189,6 @@ var ts;
|
||||
changes.createNewFile(oldFile, ts.combinePaths(currentDirectory, newFileNameWithExtension), getNewStatementsAndRemoveFromOldFile(oldFile, usage, changes, toMove, program, newModuleName, preferences));
|
||||
addNewFileToTsconfig(program, changes, oldFile.fileName, newFileNameWithExtension, ts.hostGetCanonicalFileName(host));
|
||||
}
|
||||
// Filters imports out of the range of statements to move. Imports will be copied to the new file anyway, and may still be needed in the old file.
|
||||
function getStatementsToMove(context) {
|
||||
var rangeToMove = getRangeToMove(context);
|
||||
if (rangeToMove === undefined)
|
||||
@ -143169,13 +143196,20 @@ var ts;
|
||||
var all = [];
|
||||
var ranges = [];
|
||||
var toMove = rangeToMove.toMove, afterLast = rangeToMove.afterLast;
|
||||
ts.getRangesWhere(toMove, function (s) { return !isPureImport(s); }, function (start, afterEndIndex) {
|
||||
ts.getRangesWhere(toMove, isAllowedStatementToMove, function (start, afterEndIndex) {
|
||||
for (var i = start; i < afterEndIndex; i++)
|
||||
all.push(toMove[i]);
|
||||
ranges.push({ first: toMove[start], afterLast: afterLast });
|
||||
});
|
||||
return all.length === 0 ? undefined : { all: all, ranges: ranges };
|
||||
}
|
||||
function isAllowedStatementToMove(statement) {
|
||||
// Filters imports and prologue directives out of the range of statements to move.
|
||||
// Imports will be copied to the new file anyway, and may still be needed in the old file.
|
||||
// Prologue directives will be copied to the new file and should be left in the old file.
|
||||
return !isPureImport(statement) && !ts.isPrologueDirective(statement);
|
||||
;
|
||||
}
|
||||
function isPureImport(node) {
|
||||
switch (node.kind) {
|
||||
case 264 /* ImportDeclaration */:
|
||||
@ -143204,9 +143238,10 @@ var ts;
|
||||
}
|
||||
function getNewStatementsAndRemoveFromOldFile(oldFile, usage, changes, toMove, program, newModuleName, preferences) {
|
||||
var checker = program.getTypeChecker();
|
||||
var prologueDirectives = ts.takeWhile(oldFile.statements, ts.isPrologueDirective);
|
||||
if (!oldFile.externalModuleIndicator && !oldFile.commonJsModuleIndicator) {
|
||||
deleteMovedStatements(oldFile, toMove.ranges, changes);
|
||||
return toMove.all;
|
||||
return __spreadArrays(prologueDirectives, toMove.all);
|
||||
}
|
||||
var useEs6ModuleSyntax = !!oldFile.externalModuleIndicator;
|
||||
var quotePreference = ts.getQuotePreference(oldFile, preferences);
|
||||
@ -143220,11 +143255,11 @@ var ts;
|
||||
var imports = getNewFileImportsAndAddExportInOldFile(oldFile, usage.oldImportsNeededByNewFile, usage.newFileImportsFromOldFile, changes, checker, useEs6ModuleSyntax, quotePreference);
|
||||
var body = addExports(oldFile, toMove.all, usage.oldFileImportsFromNewFile, useEs6ModuleSyntax);
|
||||
if (imports.length && body.length) {
|
||||
return __spreadArrays(imports, [
|
||||
return __spreadArrays(prologueDirectives, imports, [
|
||||
4 /* NewLineTrivia */
|
||||
], body);
|
||||
}
|
||||
return __spreadArrays(imports, body);
|
||||
return __spreadArrays(prologueDirectives, imports, body);
|
||||
}
|
||||
function deleteMovedStatements(sourceFile, moved, changes) {
|
||||
for (var _i = 0, moved_1 = moved; _i < moved_1.length; _i++) {
|
||||
|
||||
@ -68,7 +68,7 @@ var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
@ -2174,6 +2174,15 @@ var ts;
|
||||
return length <= s.length ? s : s + padString.repeat(length - s.length);
|
||||
}
|
||||
ts.padRight = padRight;
|
||||
function takeWhile(array, predicate) {
|
||||
var len = array.length;
|
||||
var index = 0;
|
||||
while (index < len && predicate(array[index])) {
|
||||
index++;
|
||||
}
|
||||
return array.slice(0, index);
|
||||
}
|
||||
ts.takeWhile = takeWhile;
|
||||
})(ts || (ts = {}));
|
||||
/* @internal */
|
||||
var ts;
|
||||
@ -8603,6 +8612,7 @@ var ts;
|
||||
Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1: diag(7053, ts.DiagnosticCategory.Error, "Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053", "Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'."),
|
||||
No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1: diag(7054, ts.DiagnosticCategory.Error, "No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054", "No index signature with a parameter of type '{0}' was found on type '{1}'."),
|
||||
_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type: diag(7055, ts.DiagnosticCategory.Error, "_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055", "'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type."),
|
||||
The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed: diag(7056, ts.DiagnosticCategory.Error, "The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_ty_7056", "The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed."),
|
||||
You_cannot_rename_this_element: diag(8000, ts.DiagnosticCategory.Error, "You_cannot_rename_this_element_8000", "You cannot rename this element."),
|
||||
You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library: diag(8001, ts.DiagnosticCategory.Error, "You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001", "You cannot rename elements that are defined in the standard TypeScript library."),
|
||||
import_can_only_be_used_in_TypeScript_files: diag(8002, ts.DiagnosticCategory.Error, "import_can_only_be_used_in_TypeScript_files_8002", "'import ... =' can only be used in TypeScript files."),
|
||||
@ -16811,6 +16821,14 @@ var ts;
|
||||
return options.outFile || options.out;
|
||||
}
|
||||
ts.outFile = outFile;
|
||||
/** Returns 'undefined' if and only if 'options.paths' is undefined. */
|
||||
function getPathsBasePath(options, host) {
|
||||
var _a, _b;
|
||||
if (!options.paths)
|
||||
return undefined;
|
||||
return (_a = options.baseUrl) !== null && _a !== void 0 ? _a : ts.Debug.checkDefined(options.pathsBasePath || ((_b = host.getCurrentDirectory) === null || _b === void 0 ? void 0 : _b.call(host)), "Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.");
|
||||
}
|
||||
ts.getPathsBasePath = getPathsBasePath;
|
||||
/**
|
||||
* Gets the source files that are expected to have an emit output.
|
||||
*
|
||||
@ -38826,8 +38844,7 @@ var ts;
|
||||
}
|
||||
}
|
||||
function tryLoadModuleUsingPathsIfEligible(extensions, moduleName, loader, state) {
|
||||
var _a, _b;
|
||||
var _c = state.compilerOptions, baseUrl = _c.baseUrl, paths = _c.paths, pathsBasePath = _c.pathsBasePath;
|
||||
var _a = state.compilerOptions, baseUrl = _a.baseUrl, paths = _a.paths;
|
||||
if (paths && !ts.pathIsRelative(moduleName)) {
|
||||
if (state.traceEnabled) {
|
||||
if (baseUrl) {
|
||||
@ -38835,7 +38852,7 @@ var ts;
|
||||
}
|
||||
trace(state.host, ts.Diagnostics.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0, moduleName);
|
||||
}
|
||||
var baseDirectory = baseUrl !== null && baseUrl !== void 0 ? baseUrl : ts.Debug.checkDefined(pathsBasePath || ((_b = (_a = state.host).getCurrentDirectory) === null || _b === void 0 ? void 0 : _b.call(_a)), "Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.");
|
||||
var baseDirectory = ts.getPathsBasePath(state.compilerOptions, state.host); // Always defined when 'paths' is defined
|
||||
return tryLoadModuleUsingPaths(extensions, moduleName, baseDirectory, paths, loader, /*onlyRecordFailures*/ false, state);
|
||||
}
|
||||
}
|
||||
@ -42051,8 +42068,8 @@ var ts;
|
||||
if (symbol) {
|
||||
var isAlias = ts.isAliasableExpression(node.right) && (ts.isExportsIdentifier(node.left.expression) || ts.isModuleExportsAccessExpression(node.left.expression));
|
||||
var flags = isAlias ? 2097152 /* Alias */ : 4 /* Property */ | 1048576 /* ExportValue */;
|
||||
var excludeFlags = isAlias ? 2097152 /* AliasExcludes */ : 0 /* None */;
|
||||
declareSymbol(symbol.exports, symbol, node.left, flags, excludeFlags);
|
||||
ts.setParent(node.left, node);
|
||||
declareSymbol(symbol.exports, symbol, node.left, flags, 0 /* None */);
|
||||
}
|
||||
}
|
||||
function bindModuleExportsAssignment(node) {
|
||||
@ -46741,6 +46758,7 @@ var ts;
|
||||
},
|
||||
};
|
||||
function withContext(enclosingDeclaration, flags, tracker, cb) {
|
||||
var _a, _b;
|
||||
ts.Debug.assert(enclosingDeclaration === undefined || (enclosingDeclaration.flags & 8 /* Synthesized */) === 0);
|
||||
var context = {
|
||||
enclosingDeclaration: enclosingDeclaration,
|
||||
@ -46765,6 +46783,9 @@ var ts;
|
||||
approximateLength: 0
|
||||
};
|
||||
var resultingNode = cb(context);
|
||||
if (context.truncating && context.flags & 1 /* NoTruncation */) {
|
||||
(_b = (_a = context.tracker) === null || _a === void 0 ? void 0 : _a.reportTruncationError) === null || _b === void 0 ? void 0 : _b.call(_a);
|
||||
}
|
||||
return context.encounteredError ? undefined : resultingNode;
|
||||
}
|
||||
function checkTruncationLength(context) {
|
||||
@ -47728,7 +47749,6 @@ var ts;
|
||||
}
|
||||
function getSpecifierForModuleSymbol(symbol, context) {
|
||||
var _a;
|
||||
var _b;
|
||||
var file = ts.getDeclarationOfKind(symbol, 300 /* SourceFile */);
|
||||
if (!file) {
|
||||
var equivalentFileSymbol = ts.firstDefined(symbol.declarations, function (d) { return getFileSymbolIfFileSymbolExportEqualsContainer(d, symbol); });
|
||||
@ -47773,7 +47793,7 @@ var ts;
|
||||
var moduleResolverHost = context.tracker.moduleResolverHost;
|
||||
var specifierCompilerOptions = isBundle_1 ? __assign(__assign({}, compilerOptions), { baseUrl: moduleResolverHost.getCommonSourceDirectory() }) : compilerOptions;
|
||||
specifier = ts.first(ts.moduleSpecifiers.getModuleSpecifiers(symbol, specifierCompilerOptions, contextFile, moduleResolverHost, { importModuleSpecifierPreference: isBundle_1 ? "non-relative" : "relative" }));
|
||||
(_a = (_b = links).specifierCache) !== null && _a !== void 0 ? _a : (_b.specifierCache = new ts.Map());
|
||||
(_a = links.specifierCache) !== null && _a !== void 0 ? _a : (links.specifierCache = new ts.Map());
|
||||
links.specifierCache.set(contextFile.path, specifier);
|
||||
}
|
||||
return specifier;
|
||||
@ -48966,6 +48986,7 @@ var ts;
|
||||
break;
|
||||
case 219 /* BinaryExpression */:
|
||||
case 204 /* PropertyAccessExpression */:
|
||||
case 205 /* ElementAccessExpression */:
|
||||
// Could be best encoded as though an export specifier or as though an export assignment
|
||||
// If name is default or export=, do an export assignment
|
||||
// Otherwise do an export specifier
|
||||
@ -55239,7 +55260,7 @@ var ts;
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
var shouldIncludeUndefined = compilerOptions.noUncheckedIndexSignatures &&
|
||||
var shouldIncludeUndefined = compilerOptions.noUncheckedIndexedAccess &&
|
||||
(accessFlags & (2 /* Writing */ | 16 /* ExpressionPosition */)) === 16 /* ExpressionPosition */;
|
||||
if (accessNode && !isTypeAssignableToKind(indexType, 4 /* String */ | 8 /* Number */)) {
|
||||
var indexNode = getIndexNodeForAccessExpression(accessNode);
|
||||
@ -96502,6 +96523,7 @@ var ts;
|
||||
reportCyclicStructureError: reportCyclicStructureError,
|
||||
reportPrivateInBaseOfClassExpression: reportPrivateInBaseOfClassExpression,
|
||||
reportLikelyUnsafeImportRequiredError: reportLikelyUnsafeImportRequiredError,
|
||||
reportTruncationError: reportTruncationError,
|
||||
moduleResolverHost: host,
|
||||
trackReferencedAmbientModule: trackReferencedAmbientModule,
|
||||
trackExternalModuleSymbolOfImportTypeNode: trackExternalModuleSymbolOfImportTypeNode,
|
||||
@ -96601,6 +96623,11 @@ var ts;
|
||||
context.addDiagnostic(ts.createDiagnosticForNode(errorNameNode, ts.Diagnostics.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary, ts.declarationNameToString(errorNameNode), specifier));
|
||||
}
|
||||
}
|
||||
function reportTruncationError() {
|
||||
if (errorNameNode) {
|
||||
context.addDiagnostic(ts.createDiagnosticForNode(errorNameNode, ts.Diagnostics.The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed));
|
||||
}
|
||||
}
|
||||
function reportNonlocalAugmentation(containingFile, parentSymbol, symbol) {
|
||||
var primaryDeclaration = ts.find(parentSymbol.declarations, function (d) { return ts.getSourceFileOfNode(d) === containingFile; });
|
||||
var augmentingDeclarations = ts.filter(symbol.declarations, function (d) { return ts.getSourceFileOfNode(d) !== containingFile; });
|
||||
@ -108964,7 +108991,7 @@ var ts;
|
||||
var info = getInfo(importingSourceFileName, host);
|
||||
var modulePaths = getAllModulePaths(importingSourceFileName, toFileName, host);
|
||||
return ts.firstDefined(modulePaths, function (modulePath) { return tryGetModuleNameAsNodeModule(modulePath, info, host, compilerOptions); }) ||
|
||||
getLocalModuleSpecifier(toFileName, info, compilerOptions, preferences);
|
||||
getLocalModuleSpecifier(toFileName, info, compilerOptions, host, preferences);
|
||||
}
|
||||
/** Returns an import for each symlink and for the realpath. */
|
||||
function getModuleSpecifiers(moduleSymbol, compilerOptions, importingSourceFile, host, userPreferences) {
|
||||
@ -108994,7 +109021,7 @@ var ts;
|
||||
return nodeModulesSpecifiers;
|
||||
}
|
||||
if (!specifier && !modulePath.isRedirect) {
|
||||
var local = getLocalModuleSpecifier(modulePath.path, info, compilerOptions, preferences);
|
||||
var local = getLocalModuleSpecifier(modulePath.path, info, compilerOptions, host, preferences);
|
||||
if (ts.pathIsBareSpecifier(local)) {
|
||||
pathsSpecifiers = ts.append(pathsSpecifiers, local);
|
||||
}
|
||||
@ -109023,16 +109050,17 @@ var ts;
|
||||
var sourceDirectory = ts.getDirectoryPath(importingSourceFileName);
|
||||
return { getCanonicalFileName: getCanonicalFileName, sourceDirectory: sourceDirectory };
|
||||
}
|
||||
function getLocalModuleSpecifier(moduleFileName, _a, compilerOptions, _b) {
|
||||
function getLocalModuleSpecifier(moduleFileName, _a, compilerOptions, host, _b) {
|
||||
var getCanonicalFileName = _a.getCanonicalFileName, sourceDirectory = _a.sourceDirectory;
|
||||
var ending = _b.ending, relativePreference = _b.relativePreference;
|
||||
var baseUrl = compilerOptions.baseUrl, paths = compilerOptions.paths, rootDirs = compilerOptions.rootDirs, bundledPackageName = compilerOptions.bundledPackageName;
|
||||
var relativePath = rootDirs && tryGetModuleNameFromRootDirs(rootDirs, moduleFileName, sourceDirectory, getCanonicalFileName, ending, compilerOptions) ||
|
||||
removeExtensionAndIndexPostFix(ts.ensurePathIsNonModuleName(ts.getRelativePathFromDirectory(sourceDirectory, moduleFileName, getCanonicalFileName)), ending, compilerOptions);
|
||||
if (!baseUrl || relativePreference === 0 /* Relative */) {
|
||||
if (!baseUrl && !paths || relativePreference === 0 /* Relative */) {
|
||||
return relativePath;
|
||||
}
|
||||
var relativeToBaseUrl = getRelativePathIfInDirectory(moduleFileName, baseUrl, getCanonicalFileName);
|
||||
var baseDirectory = ts.getPathsBasePath(compilerOptions, host) || baseUrl;
|
||||
var relativeToBaseUrl = getRelativePathIfInDirectory(moduleFileName, baseDirectory, getCanonicalFileName);
|
||||
if (!relativeToBaseUrl) {
|
||||
return relativePath;
|
||||
}
|
||||
|
||||
@ -159,7 +159,7 @@
|
||||
"All_declarations_of_an_abstract_method_must_be_consecutive_2516": "抽象方法的所有声明必须是连续的。",
|
||||
"All_destructured_elements_are_unused_6198": "未取消使用任何解构元素。",
|
||||
"All_imports_in_import_declaration_are_unused_6192": "未使用导入声明中的所有导入。",
|
||||
"All_type_parameters_are_unused_6205": "未使用任何类型参数",
|
||||
"All_type_parameters_are_unused_6205": "未使用任何类型参数。",
|
||||
"All_variables_are_unused_6199": "所有变量均未使用。",
|
||||
"Allow_accessing_UMD_globals_from_modules_95076": "允许从模块访问 UMD 变量全局。",
|
||||
"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011": "允许从不带默认输出的模块中默认输入。这不会影响代码发出,只是类型检查。",
|
||||
@ -191,7 +191,7 @@
|
||||
"An_export_assignment_cannot_have_modifiers_1120": "导出分配不能具有修饰符。",
|
||||
"An_export_declaration_can_only_be_used_in_a_module_1233": "导出声明只能在模块中使用。",
|
||||
"An_export_declaration_cannot_have_modifiers_1193": "导出声明不能有修饰符。",
|
||||
"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345": "无法测试 \"void\" 类型表达式的真实性",
|
||||
"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345": "无法测试 \"void\" 类型的表达式的真实性。",
|
||||
"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198": "扩展的 Unicode 转义值必须介于(含) 0x0 和 0x10FFFF 之间。",
|
||||
"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351": "标识符或关键字不能紧跟在数字文本之后。",
|
||||
"An_implementation_cannot_be_declared_in_ambient_contexts_1183": "不能在环境上下文中声明实现。",
|
||||
@ -282,7 +282,7 @@
|
||||
"Cannot_find_global_value_0_2468": "找不到全局值“{0}”。",
|
||||
"Cannot_find_lib_definition_for_0_2726": "找不到“{0}”的库定义。",
|
||||
"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727": "找不到“{0}”的库定义。你是指“{1}”?",
|
||||
"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732": "找不到模块 \"{0}\"。请考虑使用 \"--resolveJsonModule\" 导入带 \".json\" 扩展的模块",
|
||||
"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732": "找不到模块“{0}”。请考虑使用 \"--resolveJsonModule\" 导入带 \".json\" 扩展的模块。",
|
||||
"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_th_2792": "找不到模块“{0}”。你的意思是要将 \"moduleResolution\" 选项设置为 \"node\",还是要将别名添加到 \"paths\" 选项中?",
|
||||
"Cannot_find_module_0_or_its_corresponding_type_declarations_2307": "找不到模块“{0}”或其相应的类型声明。",
|
||||
"Cannot_find_name_0_2304": "找不到名称“{0}”。",
|
||||
@ -373,6 +373,7 @@
|
||||
"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126": "未指定包含文件,并且无法确定根目录,正在跳过在 \"node_modules\" 文件夹中查找。",
|
||||
"Containing_function_is_not_an_arrow_function_95128": "包含函数不是箭头函数",
|
||||
"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352": "类型 \"{0}\" 到类型 \"{1}\" 的转换可能是错误的,因为两种类型不能充分重叠。如果这是有意的,请先将表达式转换为 \"unknown\"。",
|
||||
"Convert_0_to_1_in_0_95003": "将“{0}”转换为 {0} 中的 {1}",
|
||||
"Convert_0_to_mapped_object_type_95055": "将“{0}”转换为映射对象类型",
|
||||
"Convert_all_constructor_functions_to_classes_95045": "将所有构造函数都转换为类",
|
||||
"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374": "将不用作值的所有导入转换为仅类型导入",
|
||||
@ -382,6 +383,7 @@
|
||||
"Convert_all_to_async_functions_95066": "全部转换为异步函数",
|
||||
"Convert_all_to_bigint_numeric_literals_95092": "全部转换为 bigint 数字文本",
|
||||
"Convert_all_to_default_imports_95035": "全部转换为默认导入",
|
||||
"Convert_all_type_literals_to_mapped_type_95021": "将所有类型文本转换为映射类型",
|
||||
"Convert_arrow_function_or_function_expression_95122": "转换箭头函数或函数表达式",
|
||||
"Convert_const_to_let_95093": "将 \"const\" 转换为 \"let\"",
|
||||
"Convert_default_export_to_named_export_95061": "将默认导出转换为命名导出",
|
||||
@ -485,7 +487,7 @@
|
||||
"Duplicate_number_index_signature_2375": "数字索引签名重复。",
|
||||
"Duplicate_property_0_2718": "重复的属性 \"{0}\"。",
|
||||
"Duplicate_string_index_signature_2374": "字符串索引签名重复。",
|
||||
"Dynamic_import_cannot_have_type_arguments_1326": "动态导入不能含有类型参数",
|
||||
"Dynamic_import_cannot_have_type_arguments_1326": "动态导入不能含有类型参数。",
|
||||
"Dynamic_import_must_have_one_specifier_as_an_argument_1324": "动态导入必须具有一个说明符作为参数。",
|
||||
"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036": "动态导入的说明符类型必须是 \"string\",但此处类型是 \"{0}\"。",
|
||||
"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system__1323": "仅当 \"--module\" 标志设置为 \"es2020\"、\"esnext\"、\"commonjs\"、\"amd\"、\"system\" 或 \"umd\" 时,才支持动态导入。",
|
||||
@ -611,6 +613,7 @@
|
||||
"Generate_get_and_set_accessors_for_all_overriding_properties_95119": "为所有重写属性生成 \"get\" 和 \"set\" 访问器",
|
||||
"Generates_a_CPU_profile_6223": "生成 CPU 配置文件。",
|
||||
"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000": "为每个相应的 \".d.ts\" 文件生成源映射。",
|
||||
"Generates_an_event_trace_and_a_list_of_types_6237": "生成事件跟踪和类型列表。",
|
||||
"Generates_corresponding_d_ts_file_6002": "生成相应的 \".d.ts\" 文件。",
|
||||
"Generates_corresponding_map_file_6043": "生成相应的 \".map\" 文件。",
|
||||
"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025": "生成器隐式具有产出类型 \"{0}\" ,因为它不生成任何值。请考虑提供一个返回类型注释。",
|
||||
@ -655,6 +658,7 @@
|
||||
"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066": "在环境枚举声明中,成员初始化表达式必须是常数表达式。",
|
||||
"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432": "在包含多个声明的枚举中,只有一个声明可以省略其第一个枚举元素的初始化表达式。",
|
||||
"Include_modules_imported_with_json_extension_6197": "包括通过 \".json\" 扩展导入的模块",
|
||||
"Include_undefined_in_index_signature_results_6800": "在索引签名结果中包含“未定义”",
|
||||
"Index_signature_in_type_0_only_permits_reading_2542": "类型“{0}”中的索引签名仅允许读取。",
|
||||
"Index_signature_is_missing_in_type_0_2329": "类型“{0}”中缺少索引签名。",
|
||||
"Index_signatures_are_incompatible_2330": "索引签名不兼容。",
|
||||
@ -785,6 +789,7 @@
|
||||
"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515": "非抽象类“{0}”不会实现继承自“{2}”类的抽象成员“{1}”。",
|
||||
"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653": "非抽象类表达式不会实现继承自“{1}”类的抽象成员“{0}”。",
|
||||
"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013": "非 null 断言只能在 TypeScript 文件中使用。",
|
||||
"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090": "未设置 \"baseUrl\" 时,不允许使用非相对路径。是否忘记了前导 \"./\"?",
|
||||
"Non_simple_parameter_declared_here_1348": "此处声明了非简单参数。",
|
||||
"Not_all_code_paths_return_a_value_7030": "并非所有代码路径都返回值。",
|
||||
"Not_all_constituents_of_type_0_are_callable_2756": "\"{0}\" 类型的部分要素不可调用。",
|
||||
@ -820,6 +825,7 @@
|
||||
"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230": "选项“{0}”只能在 \"tsconfig.json\" 文件中指定,或者在命令行上设置为 \"false\" 或 \"null\"。",
|
||||
"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064": "选项“{0}”只能在 \"tsconfig.json\" 文件中指定或在命令行上设置为 \"null\"。",
|
||||
"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051": "仅当提供了选项 \"--inlineSourceMap\" 或选项 \"--sourceMap\" 时,才能使用选项“{0}”。",
|
||||
"Option_0_cannot_be_specified_when_option_jsx_is_1_5089": "选项 \"jsx\" 为“{1}”时,不能指定选项“{0}”。",
|
||||
"Option_0_cannot_be_specified_when_option_target_is_ES3_5048": "选项 \"target\" 为 \"ES3\" 时,不能指定选项 \"{0}\"。",
|
||||
"Option_0_cannot_be_specified_with_option_1_5053": "选项“{0}”不能与选项“{1}”同时指定。",
|
||||
"Option_0_cannot_be_specified_without_specifying_option_1_5052": "无法在不指定选项“{1}”的情况下指定选项“{0}”。",
|
||||
@ -828,7 +834,6 @@
|
||||
"Option_build_must_be_the_first_command_line_argument_6369": "选项 '--build' 必须是第一个命令行参数。",
|
||||
"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074": "选项 \"--incremental\" 只能使用 tsconfig 指定,在发出到单个文件时指定,或在指定了选项 \"--tsBuildInfoFile\" 时指定。",
|
||||
"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047": "选项 \"isolatedModules\" 只可在提供了选项 \"--module\" 或者选项 \"target\" 是 \"ES2015\" 或更高版本时使用。",
|
||||
"Option_paths_cannot_be_used_without_specifying_baseUrl_option_5060": "在未指定 \"--baseUrl\" 选项的情况下,无法使用选项 \"paths\"。",
|
||||
"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042": "选项 \"project\" 在命令行上不能与源文件混合使用。",
|
||||
"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071": "仅当模块代码生成为 \"commonjs\"、\"amd\"、\"es2015\" 或 \"esNext\" 时,才能指定选项 \"--resolveJsonModule\"。",
|
||||
"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070": "在没有 \"node\" 模块解析策略的情况下,无法指定选项 \"-resolveJsonModule\"。",
|
||||
@ -894,7 +899,7 @@
|
||||
"Private_identifiers_are_not_allowed_in_variable_declarations_18029": "不允许在变量声明中使用专用标识符。",
|
||||
"Private_identifiers_are_not_allowed_outside_class_bodies_18016": "不允许在类主体之外使用专用标识符。",
|
||||
"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028": "专用标识符仅在面向 ECMAScript 2015 和更高版本时可用。",
|
||||
"Private_identifiers_cannot_be_used_as_parameters_18009": "不能将专用标识符用作参数",
|
||||
"Private_identifiers_cannot_be_used_as_parameters_18009": "不能将专用标识符用作参数。",
|
||||
"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105": "不能在类型参数上访问专用或受保护的成员 \"{0}\"。",
|
||||
"Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363": "无法生成项目“{0}”,因为其依赖项“{1}”有错误",
|
||||
"Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383": "无法生成项目 \"{0}\" ,因为未生成其依赖项 \"{1}\"",
|
||||
@ -920,7 +925,7 @@
|
||||
"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416": "类型“{1}”中的属性“{0}”不可分配给基类型“{2}”中的同一属性。",
|
||||
"Property_0_in_type_1_is_not_assignable_to_type_2_2603": "类型“{1}”中的属性“{0}”不可分配给类型“{2}”。",
|
||||
"Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2_18015": "类型 \"{1}\" 中的属性 \"{0}\" 引用了不能从类型 \"{2}\" 内访问的其他成员。",
|
||||
"Property_0_is_a_static_member_of_type_1_2576": "属性 \"{0}\" 不是类型为 \"{1}\" 的静态成员",
|
||||
"Property_0_is_a_static_member_of_type_1_2576": "属性“{0}”不是类型为“{1}”的静态成员。",
|
||||
"Property_0_is_declared_but_its_value_is_never_read_6138": "已声明属性“{0}”,但从未读取其值。",
|
||||
"Property_0_is_incompatible_with_index_signature_2530": "属性“{0}”与索引签名不兼容。",
|
||||
"Property_0_is_incompatible_with_rest_element_type_2573": "属性 \"{0}\" 与 rest 元素类型不兼容。",
|
||||
@ -949,6 +954,7 @@
|
||||
"Property_or_signature_expected_1131": "应为属性或签名。",
|
||||
"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328": "属性值只能是字符串文本、数字文本、\"true\"、\"false\"、\"null\"、对象文字或数组文本。",
|
||||
"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179": "以 \"ES5\" 或 \"ES3\" 设为目标时,对 \"for-of\"、传播和析构中的可迭代项提供完全支持。",
|
||||
"Provides_a_root_package_name_when_using_outFile_with_declarations_1390": "将 outFile 用于声明时提供根包名称。",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098": "导出类的公共方法“{0}”具有或正在使用外部模块“{2}”中的名称“{1}”,但不能为其命名。",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099": "导出类的公共方法“{0}”具有或正在使用私有模块“{2}”中的名称“{1}”。",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100": "导出类的公共方法“{0}”具有或正在使用专用名称“{1}”。",
|
||||
@ -1075,6 +1081,7 @@
|
||||
"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060": "指定发出文件时要使用的行序列结尾: \"CRLF\" (dos)或 \"LF\" (unix)。",
|
||||
"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004": "指定调试调试程序应将 TypeScript 文件放置到的位置而不是源位置。",
|
||||
"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6003": "指定调试程序应将映射文件放置到的位置而不是生成的位置。",
|
||||
"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238": "指定要用于从 react 等内容中导入 \"jsx\" 和 \"jsxs\" 工厂函数的模块说明符",
|
||||
"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058": "指定输入文件的根目录。与 --outDir 一起用于控制输出目录结构。",
|
||||
"Split_all_invalid_type_only_imports_1367": "拆分所有无效的仅类型导入",
|
||||
"Split_into_two_separate_import_declarations_1366": "拆分为两个单独的导入声明",
|
||||
@ -1107,6 +1114,7 @@
|
||||
"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358": "可选链中不允许使用带有标记的模板表达式。",
|
||||
"Target_allows_only_0_element_s_but_source_may_have_more_2621": "目标仅允许 {0} 个元素,但源中的元素可能更多。",
|
||||
"Target_requires_0_element_s_but_source_may_have_fewer_2620": "目标仅允许 {0} 个元素,但源中的元素可能不够。",
|
||||
"Template_literal_type_argument_0_is_not_literal_type_or_a_generic_type_2793": "模板文本类型参数“{0}”不是文本类型或泛型类型。",
|
||||
"The_0_modifier_can_only_be_used_in_TypeScript_files_8009": "\"{0}\" 修饰符只能在 TypeScript 文件中使用。",
|
||||
"The_0_operator_cannot_be_applied_to_type_symbol_2469": "“{0}”运算符不能应用于类型 \"symbol\"。",
|
||||
"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447": "“{0}”运算符不允许用于布尔类型。请考虑改用“{1}”。",
|
||||
@ -1116,6 +1124,7 @@
|
||||
"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496": "ES3 和 ES5 中的箭头函数不能引用 \"arguments\" 对象。请考虑使用标准函数表达式。",
|
||||
"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522": "ES3 和 ES5 中的异步函数或方法不能引用“参数”对象。请考虑使用标准函数或方法。",
|
||||
"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313": "\"if\" 语句的正文不能为空语句。",
|
||||
"The_bundledPackageName_option_must_be_provided_when_using_outFile_and_node_module_resolution_with_de_1391": "在将 outFile 和节点模块解析与声明发出一起使用时,必须提供 \"bundledPackageName\" 选项。",
|
||||
"The_character_set_of_the_input_files_6163": "输入文件的字符集。",
|
||||
"The_containing_arrow_function_captures_the_global_value_of_this_7041": "包含箭头函数捕获 \"this\" 的全局值。",
|
||||
"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563": "包含函数或模块体对于控制流分析而言太大。",
|
||||
@ -1398,7 +1407,7 @@
|
||||
"_0_modifier_cannot_be_used_in_an_ambient_context_1040": "“{0}”修饰符不能在环境上下文中使用。",
|
||||
"_0_modifier_cannot_be_used_with_1_modifier_1243": "“{0}”修饰符不能与“{1}”修饰符一起使用。",
|
||||
"_0_modifier_cannot_be_used_with_a_class_declaration_1041": "“{0}”修饰符不能与类声明一起使用。",
|
||||
"_0_modifier_cannot_be_used_with_a_private_identifier_18019": "\"{0}\" 修饰符不能与专用标识符一起使用。",
|
||||
"_0_modifier_cannot_be_used_with_a_private_identifier_18019": "“{0}”修饰符不能与专用标识符一起使用。",
|
||||
"_0_modifier_must_precede_1_modifier_1029": "“{0}”修饰符必须位于“{1}”修饰符之前。",
|
||||
"_0_needs_an_explicit_type_annotation_2782": "\"{0}\" 需要显式类型注释。",
|
||||
"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702": "“{0}”仅指类型,但在此用作命名空间。",
|
||||
|
||||
@ -159,7 +159,7 @@
|
||||
"All_declarations_of_an_abstract_method_must_be_consecutive_2516": "抽象方法的所有宣告必須連續。",
|
||||
"All_destructured_elements_are_unused_6198": "不會使用所有未經結構化的項目。",
|
||||
"All_imports_in_import_declaration_are_unused_6192": "匯入宣告中的所有匯入皆未使用。",
|
||||
"All_type_parameters_are_unused_6205": "所有型別參數皆未使用",
|
||||
"All_type_parameters_are_unused_6205": "未使用任何型別參數。",
|
||||
"All_variables_are_unused_6199": "所有變數都未使用。",
|
||||
"Allow_accessing_UMD_globals_from_modules_95076": "允許從模組存取 UMD 全域。",
|
||||
"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011": "允許從沒有預設匯出的模組進行預設匯入。這不會影響程式碼發出,僅為類型檢查。",
|
||||
@ -191,7 +191,7 @@
|
||||
"An_export_assignment_cannot_have_modifiers_1120": "匯出指派不得有修飾元。",
|
||||
"An_export_declaration_can_only_be_used_in_a_module_1233": "匯出宣告只可用於模組中。",
|
||||
"An_export_declaration_cannot_have_modifiers_1193": "匯出宣告不得有修飾元。",
|
||||
"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345": "無法對 'void' 類型的運算式測試真實性",
|
||||
"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345": "無法對 'void' 類型的運算式測試真實性。",
|
||||
"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198": "擴充的 Unicode 逸出值必須介於 0x0 與 0x10FFFF (不含) 之間。",
|
||||
"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351": "識別碼或關鍵字不可直接接在數字常值後面。",
|
||||
"An_implementation_cannot_be_declared_in_ambient_contexts_1183": "不得在環境內容中宣告實作。",
|
||||
@ -282,7 +282,7 @@
|
||||
"Cannot_find_global_value_0_2468": "找不到全域值 '{0}'。",
|
||||
"Cannot_find_lib_definition_for_0_2726": "找不到 '{0}' 的程式庫定義。",
|
||||
"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727": "找不到 '{0}' 的程式庫定義。您是指 '{1}' 嗎?",
|
||||
"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732": "找不到模組 '{0}'。請考慮使用 '--resolveJsonModule' 以匯入副檔名為 '.json' 的模組",
|
||||
"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732": "找不到模組 '{0}'。建議使用 '--resolveJsonModule',匯入副檔名為 '.json' 的模組。",
|
||||
"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_th_2792": "找不到模組 '{0}'。您是要將 'moduleResolution' 選項設為 'node',或是要將別名新增至 'paths' 選項嗎?",
|
||||
"Cannot_find_module_0_or_its_corresponding_type_declarations_2307": "找不到模組 '{0}' 或其對應的型別宣告。",
|
||||
"Cannot_find_name_0_2304": "找不到名稱 '{0}'。",
|
||||
@ -373,6 +373,7 @@
|
||||
"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126": "未指定包含檔案,因此無法決定根目錄,而將略過 'node_modules' 中的查閱。",
|
||||
"Containing_function_is_not_an_arrow_function_95128": "內含函式不是箭頭函式",
|
||||
"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352": "將類型 '{0}' 轉換為類型 '{1}' 可能會發生錯誤,原因是這兩個類型彼此並未充分重疊。如果是故意轉換的,請先將運算式轉換為 'unknown'。",
|
||||
"Convert_0_to_1_in_0_95003": "將 '{0}' 轉換成「{0} 中的 {1}」",
|
||||
"Convert_0_to_mapped_object_type_95055": "將 '{0}' 轉換為對應的物件類型",
|
||||
"Convert_all_constructor_functions_to_classes_95045": "將所有建構函式轉換為類別",
|
||||
"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374": "將所有未作為值使用的匯入轉換為僅限類型的匯入",
|
||||
@ -382,6 +383,7 @@
|
||||
"Convert_all_to_async_functions_95066": "全部轉換為非同步函式",
|
||||
"Convert_all_to_bigint_numeric_literals_95092": "全部轉換為 Bigint 數字常值",
|
||||
"Convert_all_to_default_imports_95035": "全部轉換為預設匯入",
|
||||
"Convert_all_type_literals_to_mapped_type_95021": "將所有類型常值轉換成相對應的類型",
|
||||
"Convert_arrow_function_or_function_expression_95122": "轉換箭頭函式或函式運算式",
|
||||
"Convert_const_to_let_95093": "將 'const' 轉換為 'let'",
|
||||
"Convert_default_export_to_named_export_95061": "將預設匯出轉換為具名匯出",
|
||||
@ -485,7 +487,7 @@
|
||||
"Duplicate_number_index_signature_2375": "數字索引簽章重複。",
|
||||
"Duplicate_property_0_2718": "屬性 '{0}' 重複。",
|
||||
"Duplicate_string_index_signature_2374": "字串索引簽章重複。",
|
||||
"Dynamic_import_cannot_have_type_arguments_1326": "動態匯入不能有型別引數",
|
||||
"Dynamic_import_cannot_have_type_arguments_1326": "動態匯入不可有型別引數。",
|
||||
"Dynamic_import_must_have_one_specifier_as_an_argument_1324": "動態匯入必須有一個指定名稱作為引數。",
|
||||
"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036": "動態匯入的指定名稱必須屬於類型 'string',但這裡的類型為 '{0}'。",
|
||||
"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system__1323": "只有在 '--module' 旗標設定為 'es2020'、'esnext'、'commonjs'、'amd'、'system' 或 'umd' 時,才支援動態匯入。",
|
||||
@ -611,6 +613,7 @@
|
||||
"Generate_get_and_set_accessors_for_all_overriding_properties_95119": "為所有覆寫屬性產生 'get' 和 'set' 存取子",
|
||||
"Generates_a_CPU_profile_6223": "產生 CPU 設定檔。",
|
||||
"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000": "為每個相對應的 '.d.ts' 檔案產生 sourcemap。",
|
||||
"Generates_an_event_trace_and_a_list_of_types_6237": "Generates an event trace and a list of types.",
|
||||
"Generates_corresponding_d_ts_file_6002": "產生對應的 '.d.ts' 檔案。",
|
||||
"Generates_corresponding_map_file_6043": "產生對應的 '.map' 檔案。",
|
||||
"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025": "因為產生器未產生任何值,所以其隱含產生類型 '{0}'。請考慮提供傳回型別註解。",
|
||||
@ -655,6 +658,7 @@
|
||||
"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066": "在環境列舉宣告中,成員初始設定式必須是常數運算式。",
|
||||
"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432": "在具有多個宣告的列舉中,只有一個宣告可以在其第一個列舉項目中省略初始設定式。",
|
||||
"Include_modules_imported_with_json_extension_6197": "包含匯入有 '.json' 延伸模組的模組",
|
||||
"Include_undefined_in_index_signature_results_6800": "Include 'undefined' in index signature results",
|
||||
"Index_signature_in_type_0_only_permits_reading_2542": "類型 '{0}' 中的索引簽章只允許讀取。",
|
||||
"Index_signature_is_missing_in_type_0_2329": "類型 '{0}' 中遺漏索引簽章。",
|
||||
"Index_signatures_are_incompatible_2330": "索引簽章不相容。",
|
||||
@ -785,6 +789,7 @@
|
||||
"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515": "非抽象類別 '{0}' 未實作從類別 '{2}' 繼承而來的抽象成員 '{1}'。",
|
||||
"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653": "非抽象類別運算式未實作從類別 '{1}' 繼承而來的抽象成員 '{0}'。",
|
||||
"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013": "非 Null 的判斷提示只可用於 TypeScript 檔案中。",
|
||||
"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090": "Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?",
|
||||
"Non_simple_parameter_declared_here_1348": "非簡易參數已宣告於此處。",
|
||||
"Not_all_code_paths_return_a_value_7030": "部分程式碼路徑並未傳回值。",
|
||||
"Not_all_constituents_of_type_0_are_callable_2756": "'{0}' 類型的構件並非都可呼叫。",
|
||||
@ -820,6 +825,7 @@
|
||||
"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230": "只能在 'tsconfig.json' 檔案中指定 '{0}' 選項,或在命令列上將其設定為 'false' 或 'null'。",
|
||||
"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064": "只能在 'tsconfig.json' 檔案中指定 '{0}' 選項,或在命令列上將其設定為 'null'。",
|
||||
"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051": "只有在已提供選項 '--inlineSourceMap' 或選項 '--sourceMap' 時,才可使用選項 '{0}'。",
|
||||
"Option_0_cannot_be_specified_when_option_jsx_is_1_5089": "Option '{0}' cannot be specified when option 'jsx' is '{1}'.",
|
||||
"Option_0_cannot_be_specified_when_option_target_is_ES3_5048": "當選項 'target' 為 'ES3' 時,無法指定選項 '{0}'。",
|
||||
"Option_0_cannot_be_specified_with_option_1_5053": "不得同時指定選項 '{0}' 與選項 '{1}'。",
|
||||
"Option_0_cannot_be_specified_without_specifying_option_1_5052": "必須指定選項 '{1}' 才可指定選項 '{0}'。",
|
||||
@ -828,7 +834,6 @@
|
||||
"Option_build_must_be_the_first_command_line_argument_6369": "選項 '--build' 必須是第一個命令列引數。",
|
||||
"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074": "只有在使用 tsconfig、發出至單一檔案,或指定選項 `--tsBuildInfoFile` 時,才可指定選項 '--incremental'。",
|
||||
"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047": "只有在提供選項 '--module' 或是 'target' 為 'ES2015' 或更高項目時,才可使用選項 'isolatedModules'。",
|
||||
"Option_paths_cannot_be_used_without_specifying_baseUrl_option_5060": "必須指定 '--baseUrl' 選項才能使用選項 'paths'。",
|
||||
"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042": "在命令列上,'project' 選項不得與原始程式檔並用。",
|
||||
"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071": "只有在模組程式碼產生為 'commonjs'、'amd'、'es2015' 或 'esNext' 時,才可指定選項 '--resolveJsonModule'。",
|
||||
"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070": "指定選項 '-resolveJsonModule' 時,不可沒有 'node' 模組解析策略。",
|
||||
@ -894,7 +899,7 @@
|
||||
"Private_identifiers_are_not_allowed_in_variable_declarations_18029": "變數宣告中不允許私人識別碼。",
|
||||
"Private_identifiers_are_not_allowed_outside_class_bodies_18016": "不允許私人識別碼位於類別主體外。",
|
||||
"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028": "只有當目標為 ECMAScript 2015 及更新版本時,才可使用私人識別碼。",
|
||||
"Private_identifiers_cannot_be_used_as_parameters_18009": "私人識別碼不可用作參數",
|
||||
"Private_identifiers_cannot_be_used_as_parameters_18009": "私人識別碼不可用作為參數。",
|
||||
"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105": "無法在型別參數上存取私人或受保護的成員 '{0}'。",
|
||||
"Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363": "因為專案 '{0}' 的相依性 '{1}' 發生錯誤,所以無法建置該專案",
|
||||
"Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383": "因為未建置專案 '{0}' 的相依性 '{1}',所以無法建置該專案",
|
||||
@ -920,7 +925,7 @@
|
||||
"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416": "類型 '{1}' 中的屬性 '{0}' 無法指派給基底類型 '{2}' 中的相同屬性。",
|
||||
"Property_0_in_type_1_is_not_assignable_to_type_2_2603": "不得將類型 '{1}' 的屬性 '{0}' 指派給類型 '{2}'。",
|
||||
"Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2_18015": "類型 '{1}' 中的屬性 '{0}' 是無法從類型 '{2}' 中存取的其他成員。",
|
||||
"Property_0_is_a_static_member_of_type_1_2576": "屬性 '{0}' 為 '{1}' 類型的靜態成員",
|
||||
"Property_0_is_a_static_member_of_type_1_2576": "屬性 '{0}' 為 '{1}' 類型的靜態成員。",
|
||||
"Property_0_is_declared_but_its_value_is_never_read_6138": "屬性 '{0}' 已宣告但從未讀取其值。",
|
||||
"Property_0_is_incompatible_with_index_signature_2530": "屬性 '{0}' 和索引簽章不相容。",
|
||||
"Property_0_is_incompatible_with_rest_element_type_2573": "屬性 '{0}' 與其餘項目類型不相容。",
|
||||
@ -949,6 +954,7 @@
|
||||
"Property_or_signature_expected_1131": "必須是屬性或簽章。",
|
||||
"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328": "屬性值僅能為字串常值、數值常值、'true'、'false'、'null'、物件常值或陣列常值。",
|
||||
"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179": "當目標為 'ES5' 或 'ES3' 時,為 'for-of'、擴張及解構提供完整的支援。",
|
||||
"Provides_a_root_package_name_when_using_outFile_with_declarations_1390": "Provides a root package name when using outFile with declarations.",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098": "匯出類別的公用方法 '{0}' 具有或使用外部模組 {2} 的名稱 '{1}',但無法命名。",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099": "匯出類別的公用方法 '{0}' 具有或使用私用模組 '{2}' 的名稱 '{1}'。",
|
||||
"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100": "匯出類別的公用方法 '{0}' 具有或使用私用名稱 '{1}'。",
|
||||
@ -1075,6 +1081,7 @@
|
||||
"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060": "指定發出檔案時要用的行尾順序: 'CRLF' (DOS) 或 'LF' (UNIX)。",
|
||||
"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004": "指定偵錯工具尋找 TypeScript 檔案的位置,而非原始檔位置。",
|
||||
"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6003": "指定偵錯工具尋找對應檔的位置,而非產生的位置。",
|
||||
"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238": "Specify the module specifier to be used to import the `jsx` and `jsxs` factory functions from. eg, react",
|
||||
"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058": "指定輸入檔的根目錄。用以控制具有 --outDir 的輸出目錄結構。",
|
||||
"Split_all_invalid_type_only_imports_1367": "分割所有無效的僅限類型匯入",
|
||||
"Split_into_two_separate_import_declarations_1366": "分割為兩個獨立的匯入宣告",
|
||||
@ -1107,6 +1114,7 @@
|
||||
"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358": "選擇性鏈結中不允許已標記的範本運算式。",
|
||||
"Target_allows_only_0_element_s_but_source_may_have_more_2621": "目標只允許 {0} 個元素,但來源的元素可能較多。",
|
||||
"Target_requires_0_element_s_but_source_may_have_fewer_2620": "目標需要 {0} 個元素,但來源的元素可能較少。",
|
||||
"Template_literal_type_argument_0_is_not_literal_type_or_a_generic_type_2793": "Template literal type argument '{0}' is not literal type or a generic type.",
|
||||
"The_0_modifier_can_only_be_used_in_TypeScript_files_8009": "'{0}' 修飾元只可用於 TypeScript 檔案中。",
|
||||
"The_0_operator_cannot_be_applied_to_type_symbol_2469": "無法將 '{0}' 運算子套用至類型 'symbol'。",
|
||||
"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447": "布林類型不允許有 '{0}' 運算子。請考慮改用 '{1}'。",
|
||||
@ -1116,6 +1124,7 @@
|
||||
"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496": "無法在 ES3 和 ES5 的箭號函式中參考 'arguments' 物件。請考慮使用標準函式運算式。",
|
||||
"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522": "在 ES3 與 ES5 的非同步函式或方法中,無法參考 'arguments' 物件。請考慮使用標準函式或方法。",
|
||||
"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313": "'if' 陳述式的主體不能是空白陳述式。",
|
||||
"The_bundledPackageName_option_must_be_provided_when_using_outFile_and_node_module_resolution_with_de_1391": "The `bundledPackageName` option must be provided when using outFile and node module resolution with declaration emit.",
|
||||
"The_character_set_of_the_input_files_6163": "輸入檔的字元集。",
|
||||
"The_containing_arrow_function_captures_the_global_value_of_this_7041": "包含的箭號函式會擷取 'this' 的全域值。",
|
||||
"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563": "內含的函式或模組主體對控制流程分析而言過大。",
|
||||
@ -1398,7 +1407,7 @@
|
||||
"_0_modifier_cannot_be_used_in_an_ambient_context_1040": "無法在環境內容中使用 '{0}' 修飾元。",
|
||||
"_0_modifier_cannot_be_used_with_1_modifier_1243": "'{0}' 修飾元無法與 '{1}' 修飾元並用。",
|
||||
"_0_modifier_cannot_be_used_with_a_class_declaration_1041": "'{0}' 修飾元無法與類別宣告並用。",
|
||||
"_0_modifier_cannot_be_used_with_a_private_identifier_18019": "'{0}' 修飾元不可搭配私人識別碼使用",
|
||||
"_0_modifier_cannot_be_used_with_a_private_identifier_18019": "'{0}' 修飾元不可搭配私人識別碼一起使用。",
|
||||
"_0_modifier_must_precede_1_modifier_1029": "'{0}' 修飾元必須在 '{1}' 修飾元之前。",
|
||||
"_0_needs_an_explicit_type_annotation_2782": "'{0}' 需要明確的型別註解。",
|
||||
"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702": "'{0}' 只參考類型,但在這裡用作命名空間。",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user