@typescript-deploys/pr-build 4.9.0-pr-50776-2 → 4.9.0-pr-50903-10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cs/diagnosticMessages.generated.json +4 -2
- package/lib/de/diagnosticMessages.generated.json +3 -0
- package/lib/es/diagnosticMessages.generated.json +3 -0
- package/lib/fr/diagnosticMessages.generated.json +4 -2
- package/lib/it/diagnosticMessages.generated.json +4 -2
- package/lib/ja/diagnosticMessages.generated.json +3 -0
- package/lib/ko/diagnosticMessages.generated.json +3 -0
- package/lib/pl/diagnosticMessages.generated.json +4 -2
- package/lib/pt-br/diagnosticMessages.generated.json +3 -0
- package/lib/ru/diagnosticMessages.generated.json +3 -0
- package/lib/tsc.js +14 -6
- package/lib/tsserver.js +15 -7
- package/lib/tsserverlibrary.d.ts +0 -3
- package/lib/tsserverlibrary.js +15 -7
- package/lib/typescript.d.ts +0 -3
- package/lib/typescript.js +15 -7
- package/lib/typescriptServices.d.ts +0 -3
- package/lib/typescriptServices.js +15 -7
- package/lib/typingsInstaller.js +15 -7
- package/lib/zh-cn/diagnosticMessages.generated.json +4 -2
- package/lib/zh-tw/diagnosticMessages.generated.json +3 -0
- package/package.json +1 -1
|
@@ -1427,7 +1427,6 @@
|
|
|
1427
1427
|
"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362": "Levá strana aritmetické operace musí mít typ any, number, bigint nebo být typu výčtu.",
|
|
1428
1428
|
"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779": "Levá strana výrazu přiřazení nemůže představovat přístup k nepovinné vlastnosti.",
|
|
1429
1429
|
"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364": "Levá strana výrazu přiřazení musí být proměnná nebo přístup k vlastnosti.",
|
|
1430
|
-
"The_left_hand_side_of_an_in_expression_must_be_a_private_identifier_or_of_type_any_string_number_or__2360": "Levá strana výrazu in musí být privátní identifikátor nebo typu any, string, number nebo symbol.",
|
|
1431
1430
|
"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358": "Levá strana výrazu instanceof musí být typu any, typem objektu nebo parametrem typu.",
|
|
1432
1431
|
"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156": "Národní prostředí, které se používá při zobrazování zpráv uživateli (třeba cs-CZ)",
|
|
1433
1432
|
"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136": "Maximální hloubka závislostí pro vyhledávání pod node_modules a načítání javascriptových souborů",
|
|
@@ -1448,7 +1447,6 @@
|
|
|
1448
1447
|
"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_wri_1064": "Návratový typ asynchronní funkce nebo metody musí být globální typ Promise<T>. Zamýšleli jste napsat Promise<{0}>?",
|
|
1449
1448
|
"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407": "Pravá strana příkazu for...in musí být typu any, typem objektu nebo parametrem typu, ale tady má typ {0}.",
|
|
1450
1449
|
"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363": "Pravá strana aritmetické operace musí mít typ any, number, bigint nebo být typu výčtu.",
|
|
1451
|
-
"The_right_hand_side_of_an_in_expression_must_not_be_a_primitive_2361": "Pravá strana výrazu in nesmí být primitivní typ.",
|
|
1452
1450
|
"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359": "Pravá strana výrazu instanceof musí mít typ any nebo typ, který se dá přiřadit k typu rozhraní Function.",
|
|
1453
1451
|
"The_root_value_of_a_0_file_must_be_an_object_5092": "Kořenová hodnota souboru {0} musí být objekt.",
|
|
1454
1452
|
"The_shadowing_declaration_of_0_is_defined_here_18017": "Překrývající deklarace {0} je definovaná tady.",
|
|
@@ -1476,6 +1474,7 @@
|
|
|
1476
1474
|
"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "Vlastnost {0} této značky JSX očekává jeden podřízený objekt typu {1}, ale poskytlo se jich více.",
|
|
1477
1475
|
"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "Vlastnost {0} této značky JSX očekává typ {1}, který vyžaduje více podřízených objektů, ale zadal se jen jeden.",
|
|
1478
1476
|
"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "Toto porovnání se zdá být neúmyslné, protože typy {0} a {1} se nijak nepřekrývají.",
|
|
1477
|
+
"This_condition_will_always_return_0_2845": "Tato podmínka vždy vrátí {0}.",
|
|
1479
1478
|
"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839": "Tato podmínka vždy vrátí „{0}“, protože JavaScript porovnává objekty pomocí odkazu, nikoli hodnoty.",
|
|
1480
1479
|
"This_condition_will_always_return_true_since_this_0_is_always_defined_2801": "Tato podmínka vždy vrátí hodnotu True, protože tato {0} je vždy definovaná.",
|
|
1481
1480
|
"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774": "Tato podmínka vždy vrátí hodnotu True, protože tato funkce je vždy definována. Chtěli jste ji místo toho nazvat?",
|
|
@@ -1551,6 +1550,7 @@
|
|
|
1551
1550
|
"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2412": "Typ {0} se nedá přiřadit k typu {1} s hodnotou exactOptionalPropertyTypes: true. Zvažte možnost přidat hodnotu undefined do typu cíle.",
|
|
1552
1551
|
"Type_0_is_not_comparable_to_type_1_2678": "Typ {0} se nedá porovnat s typem {1}.",
|
|
1553
1552
|
"Type_0_is_not_generic_2315": "Typ {0} není obecný.",
|
|
1553
|
+
"Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operato_2638": "Typ {0} může představovat primitivní hodnotu, která není povolena jako pravý operand operátoru in.",
|
|
1554
1554
|
"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504": "Typ {0} musí mít metodu [Symbol.asyncIterator](), která vrací asynchronní iterátor.",
|
|
1555
1555
|
"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488": "Typ {0} musí mít metodu [Symbol.iterator](), která vrací iterátor.",
|
|
1556
1556
|
"Type_0_provides_no_match_for_the_signature_1_2658": "Typ {0} neposkytuje žádnou shodu pro podpis {1}.",
|
|
@@ -1649,6 +1649,8 @@
|
|
|
1649
1649
|
"Updating_output_of_project_0_6373": "Aktualizuje se výstup projektu {0}...",
|
|
1650
1650
|
"Updating_output_timestamps_of_project_0_6359": "Aktualizují se výstupní časová razítka projektu {0}...",
|
|
1651
1651
|
"Updating_unchanged_output_timestamps_of_project_0_6371": "Aktualizují se nezměněná výstupní časová razítka projektu {0}...",
|
|
1652
|
+
"Use_0_95174": "Použít {0}",
|
|
1653
|
+
"Use_Number_isNaN_in_all_conditions_95175": "Ve všech podmínkách použijte Number.isNaN.",
|
|
1652
1654
|
"Use_element_access_for_0_95145": "Použít přístup k elementům pro {0}",
|
|
1653
1655
|
"Use_element_access_for_all_undeclared_properties_95146": "Použít přístup k elementům pro všechny nedeklarované vlastnosti",
|
|
1654
1656
|
"Use_synthetic_default_member_95016": "Použije syntetického výchozího člena.",
|
|
@@ -1474,6 +1474,7 @@
|
|
|
1474
1474
|
"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "Die Eigenschaft \"{0}\" für dieses JSX-Tag erwartet ein einzelnes untergeordnetes Element vom Typ \"{1}\", aber es wurden mehrere untergeordnete Elemente angegeben.",
|
|
1475
1475
|
"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "Die Eigenschaft \"{0}\" für dieses JSX-Tag erwartet den Typ \"{1}\", der mehrere untergeordnete Elemente erfordert, aber es wurde nur ein untergeordnetes Elemente angegeben.",
|
|
1476
1476
|
"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "Dieser Vergleich scheint unbeabsichtigt zu sein, da die Typen \"{0}\" und \"{1}\" keine Überlappung aufweisen.",
|
|
1477
|
+
"This_condition_will_always_return_0_2845": "Diese Bedingung gibt immer „{0}“ zurück.",
|
|
1477
1478
|
"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839": "Diese Bedingung gibt immer „{0}“ zurück, da JavaScript Objekte nach Verweis und nicht nach Wert vergleicht.",
|
|
1478
1479
|
"This_condition_will_always_return_true_since_this_0_is_always_defined_2801": "Diese Bedingung gibt immer TRUE zurück, weil diese '{0}' immer definiert ist.",
|
|
1479
1480
|
"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774": "Diese Bedingung gibt immer TRUE zurück, weil diese Funktion immer definiert ist. Möchten Sie sie stattdessen aufrufen?",
|
|
@@ -1648,6 +1649,8 @@
|
|
|
1648
1649
|
"Updating_output_of_project_0_6373": "Ausgabe von Projekt \"{0}\" wird aktualisiert...",
|
|
1649
1650
|
"Updating_output_timestamps_of_project_0_6359": "Ausgabezeitstempel von Projekt \"{0}\" werden aktualisiert...",
|
|
1650
1651
|
"Updating_unchanged_output_timestamps_of_project_0_6371": "Unveränderte Ausgabezeitstempel von Projekt \"{0}\" werden aktualisiert...",
|
|
1652
|
+
"Use_0_95174": "Verwenden Sie „{0}“.",
|
|
1653
|
+
"Use_Number_isNaN_in_all_conditions_95175": "Verwenden Sie „Number.isNaN“ unter allen Bedingungen.",
|
|
1651
1654
|
"Use_element_access_for_0_95145": "Elementzugriff für \"{0}\" verwenden",
|
|
1652
1655
|
"Use_element_access_for_all_undeclared_properties_95146": "Elementzugriff für alle nicht deklarierten Eigenschaften verwenden",
|
|
1653
1656
|
"Use_synthetic_default_member_95016": "Verwenden Sie den synthetischen Member \"default\".",
|
|
@@ -1474,6 +1474,7 @@
|
|
|
1474
1474
|
"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "La propiedad \"{0}\" de esta etiqueta de JSX espera un solo elemento secundario de tipo \"{1}\", pero se han proporcionado varios elementos secundarios.",
|
|
1475
1475
|
"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "La propiedad \"{0}\" de esta etiqueta de JSX espera el tipo \"{1}\", que requiere varios elementos secundarios, pero solo se ha proporcionado un elemento secundario.",
|
|
1476
1476
|
"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "Esta comparación parece no intencionada porque los tipos \"{0}\" y \"{1}\" no tienen superposición.",
|
|
1477
|
+
"This_condition_will_always_return_0_2845": "Esta condición siempre devolverá \"{0}\".",
|
|
1477
1478
|
"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839": "Esta condición siempre devolverá \"{0}\", ya que JavaScript compara objetos por referencia, no por valor.",
|
|
1478
1479
|
"This_condition_will_always_return_true_since_this_0_is_always_defined_2801": "Esta condición devolverá siempre true porque siempre se define '{0}'.",
|
|
1479
1480
|
"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774": "Esta condición siempre devolverá true, porque esta función se define siempre. ¿Pretendía llamarla en su lugar?",
|
|
@@ -1648,6 +1649,8 @@
|
|
|
1648
1649
|
"Updating_output_of_project_0_6373": "Actualizando la salida del proyecto \"{0}\"...",
|
|
1649
1650
|
"Updating_output_timestamps_of_project_0_6359": "Actualizando las marcas de hora de salida del proyecto \"{0}\"...",
|
|
1650
1651
|
"Updating_unchanged_output_timestamps_of_project_0_6371": "Actualizando las marcas de hora de salida no modificadas del proyecto \"{0}\"...",
|
|
1652
|
+
"Use_0_95174": "Usar `{0}`.",
|
|
1653
|
+
"Use_Number_isNaN_in_all_conditions_95175": "Use \"Number.isNaN\" en todas las condiciones.",
|
|
1651
1654
|
"Use_element_access_for_0_95145": "Usar acceso de elemento para \"{0}\"",
|
|
1652
1655
|
"Use_element_access_for_all_undeclared_properties_95146": "Use el acceso de elemento para todas las propiedades no declaradas.",
|
|
1653
1656
|
"Use_synthetic_default_member_95016": "Use el miembro sintético \"default\".",
|
|
@@ -1427,7 +1427,6 @@
|
|
|
1427
1427
|
"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362": "La partie gauche d'une opération arithmétique doit être de type 'any', 'number', 'bigint' ou un type enum.",
|
|
1428
1428
|
"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779": "La partie gauche d'une expression d'assignation ne doit pas être un accès à une propriété facultative.",
|
|
1429
1429
|
"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364": "La partie gauche d'une expression d'assignation doit être un accès à une variable ou une propriété.",
|
|
1430
|
-
"The_left_hand_side_of_an_in_expression_must_be_a_private_identifier_or_of_type_any_string_number_or__2360": "La partie gauche d'une expression 'in' doit être un identificateur privé ou de type 'any', 'string', 'number' ou 'symbol'.",
|
|
1431
1430
|
"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358": "La partie gauche d'une expression 'instanceof' doit être de type 'any', un type d'objet ou un paramètre de type.",
|
|
1432
1431
|
"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156": "Paramètres régionaux utilisés pour afficher les messages à l'utilisateur (exemple : 'fr-fr')",
|
|
1433
1432
|
"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136": "Profondeur de dépendance maximale pour la recherche sous node_modules et le chargement de fichiers JavaScript.",
|
|
@@ -1448,7 +1447,6 @@
|
|
|
1448
1447
|
"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_wri_1064": "Le type de retour d'une fonction ou d'une méthode asynchrone doit être le type global Promise<T>. Vouliez-vous vraiment écrire 'Promise<{0}>' ?",
|
|
1449
1448
|
"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407": "La partie droite d'une instruction 'for...in' doit être de type 'any', un type d'objet ou un paramètre de type, mais elle a le type '{0}' ici.",
|
|
1450
1449
|
"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363": "La partie droite d'une opération arithmétique doit être de type 'any', 'number', 'bigint' ou un type enum.",
|
|
1451
|
-
"The_right_hand_side_of_an_in_expression_must_not_be_a_primitive_2361": "La partie droite d'une expression 'in' ne doit pas être une primitive.",
|
|
1452
1450
|
"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359": "La partie droite d'une expression 'instanceof' doit être de type 'any' ou d'un type pouvant être assigné au type d'interface 'Function'.",
|
|
1453
1451
|
"The_root_value_of_a_0_file_must_be_an_object_5092": "La valeur racine d'un fichier '{0}' doit être un objet.",
|
|
1454
1452
|
"The_shadowing_declaration_of_0_is_defined_here_18017": "La déclaration avec mise en mémoire fantôme de '{0}' est définie ici",
|
|
@@ -1476,6 +1474,7 @@
|
|
|
1476
1474
|
"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "La propriété '{0}' de cette balise JSX attend un seul enfant de type '{1}', mais plusieurs enfants ont été fournis.",
|
|
1477
1475
|
"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "La propriété '{0}' de cette balise JSX attend le type '{1}', qui nécessite plusieurs enfants, mais un seul enfant a été fourni.",
|
|
1478
1476
|
"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "Cette comparaison semble involontaire, car les types '{0}' et '{1}' n’ont pas de chevauchement.",
|
|
1477
|
+
"This_condition_will_always_return_0_2845": "Cette condition retourne toujours '{0}'.",
|
|
1479
1478
|
"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839": "Cette condition retourne toujours '{0}', car JavaScript compare les objets par référence, et non par valeur.",
|
|
1480
1479
|
"This_condition_will_always_return_true_since_this_0_is_always_defined_2801": "Cette condition retourne toujours true, car cette « {0} » est toujours définie.",
|
|
1481
1480
|
"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774": "Cette condition retourne toujours true, car cette fonction est toujours définie. Est-ce que vous avez voulu l'appeler à la place ?",
|
|
@@ -1551,6 +1550,7 @@
|
|
|
1551
1550
|
"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2412": "Le type '{0}' n'est pas assignable au type '{1}' avec 'exactOptionalPropertyTypes : true'. Pensez à ajouter 'undefined' au type de la cible.",
|
|
1552
1551
|
"Type_0_is_not_comparable_to_type_1_2678": "Le type '{0}' n'est pas comparable au type '{1}'.",
|
|
1553
1552
|
"Type_0_is_not_generic_2315": "Le type '{0}' n'est pas générique.",
|
|
1553
|
+
"Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operato_2638": "Le type '{0}' peut représenter une valeur primitive, ce qui n’est pas autorisé en tant qu’opérande droit de l’opérateur 'in'.",
|
|
1554
1554
|
"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504": "Le type '{0}' doit avoir une méthode '[Symbol.asyncIterator]()' qui retourne un itérateur asynchrone.",
|
|
1555
1555
|
"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488": "Le type '{0}' doit avoir une méthode '[Symbol.iterator]()' qui retourne un itérateur.",
|
|
1556
1556
|
"Type_0_provides_no_match_for_the_signature_1_2658": "Le type '{0}' ne fournit aucune correspondance pour la signature '{1}'.",
|
|
@@ -1649,6 +1649,8 @@
|
|
|
1649
1649
|
"Updating_output_of_project_0_6373": "Mise à jour de la sortie du projet '{0}'...",
|
|
1650
1650
|
"Updating_output_timestamps_of_project_0_6359": "Mise à jour des horodatages de sortie du projet '{0}'...",
|
|
1651
1651
|
"Updating_unchanged_output_timestamps_of_project_0_6371": "Mise à jour des horodatages de sortie inchangés du projet '{0}'...",
|
|
1652
|
+
"Use_0_95174": "Utilisez `{0}`.",
|
|
1653
|
+
"Use_Number_isNaN_in_all_conditions_95175": "Utilisez 'Number.isNaN' dans toutes les conditions.",
|
|
1652
1654
|
"Use_element_access_for_0_95145": "Utiliser l'accès à l'élément pour '{0}'",
|
|
1653
1655
|
"Use_element_access_for_all_undeclared_properties_95146": "L'accès à l'élément est utilisé pour toutes les propriétés non déclarées.",
|
|
1654
1656
|
"Use_synthetic_default_member_95016": "Utilisez un membre 'default' synthétique.",
|
|
@@ -1427,7 +1427,6 @@
|
|
|
1427
1427
|
"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362": "La parte sinistra di un'operazione aritmetica deve essere di tipo 'any', 'number', 'bigint' o un tipo enumerazione.",
|
|
1428
1428
|
"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779": "La parte sinistra di un'espressione di assegnazione non può essere un accesso a proprietà facoltativo.",
|
|
1429
1429
|
"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364": "La parte sinistra di un'espressione di assegnazione deve essere una variabile o un accesso a proprietà.",
|
|
1430
|
-
"The_left_hand_side_of_an_in_expression_must_be_a_private_identifier_or_of_type_any_string_number_or__2360": "La parte sinistra di un'espressione 'in' deve essere un identificatore privato o di tipo 'any', 'string', 'number' o 'symbol'.",
|
|
1431
1430
|
"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358": "La parte sinistra di un'espressione 'instanceof' deve essere di tipo 'any' oppure essere un tipo di oggetto o un parametro di tipo.",
|
|
1432
1431
|
"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156": "Impostazioni locali usate per la visualizzazione di messaggi all'utente, ad esempio 'it-it'",
|
|
1433
1432
|
"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136": "Profondità massima delle dipendenze per la ricerca in node_modules e il caricamento dei file JavaScript.",
|
|
@@ -1448,7 +1447,6 @@
|
|
|
1448
1447
|
"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_wri_1064": "Il tipo restituito di un metodo o una funzione asincrona deve essere il tipo globale Promise<T>. Si intendeva scrivere 'Promise<{0}>'?",
|
|
1449
1448
|
"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407": "La parte destra di un'istruzione 'for...in' deve essere di tipo 'any' oppure essere un tipo di oggetto o un parametro di tipo, ma in questo caso il tipo è '{0}'.",
|
|
1450
1449
|
"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363": "La parte destra di un'operazione aritmetica deve essere di tipo 'any', 'number', 'bigint' o un tipo enumerazione.",
|
|
1451
|
-
"The_right_hand_side_of_an_in_expression_must_not_be_a_primitive_2361": "La parte destra di un'espressione 'in' non deve essere una primitiva.",
|
|
1452
1450
|
"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359": "La parte destra di un'espressione 'instanceof' deve essere di tipo 'any' o di un tipo assegnabile al tipo di interfaccia 'Function'.",
|
|
1453
1451
|
"The_root_value_of_a_0_file_must_be_an_object_5092": "Il valore radice di un file '{0}' deve essere un oggetto.",
|
|
1454
1452
|
"The_shadowing_declaration_of_0_is_defined_here_18017": "La dichiarazione di oscuramento di '{0}' viene definita in questo punto",
|
|
@@ -1476,6 +1474,7 @@
|
|
|
1476
1474
|
"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "Con la proprietà '{0}' del tag JSX è previsto un singolo elemento figlio di tipo '{1}', ma sono stati specificati più elementi figlio.",
|
|
1477
1475
|
"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "Con la proprietà '{0}' del tag JSX è previsto il tipo '{1}' che richiede più elementi figlio, ma è stato specificato un singolo elemento figlio.",
|
|
1478
1476
|
"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "Questo confronto sembra non intenzionale perché i tipi '{0}' e '{1}' non presentano alcuna sovrapposizione.",
|
|
1477
|
+
"This_condition_will_always_return_0_2845": "Questa condizione restituirà sempre '{0}'.",
|
|
1479
1478
|
"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839": "Questa condizione restituirà sempre '{0}' perché JavaScript confronta gli oggetti per riferimento, non per valore.",
|
|
1480
1479
|
"This_condition_will_always_return_true_since_this_0_is_always_defined_2801": "Questa condizione restituirà sempre true perché questo elemento '{0}' è sempre definito.",
|
|
1481
1480
|
"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774": "Questa condizione restituirà sempre true perché questa funzione è sempre definita. Si intendeva chiamarla?",
|
|
@@ -1551,6 +1550,7 @@
|
|
|
1551
1550
|
"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2412": "L'argomento di tipo '{0}' non può essere assegnato al tipo '{1}' con 'exactOptionalPropertyTypes: true'. Provare ad aggiungere 'undefined' al tipo di destinazione.",
|
|
1552
1551
|
"Type_0_is_not_comparable_to_type_1_2678": "Il tipo '{0}' non è confrontabile con il tipo '{1}'.",
|
|
1553
1552
|
"Type_0_is_not_generic_2315": "Il tipo '{0}' non è generico.",
|
|
1553
|
+
"Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operato_2638": "Il tipo '{0}' può rappresentare un valore primitivo, che non è consentito come operando destro dell'operatore 'in'.",
|
|
1554
1554
|
"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504": "Il tipo '{0}' deve contenere un metodo '[Symbol.asyncIterator]()' che restituisce un iteratore asincrono.",
|
|
1555
1555
|
"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488": "Il tipo '{0}' deve contenere un metodo '[Symbol.iterator]()' che restituisce un iteratore.",
|
|
1556
1556
|
"Type_0_provides_no_match_for_the_signature_1_2658": "Il tipo '{0}' non fornisce corrispondenze per la firma '{1}'.",
|
|
@@ -1649,6 +1649,8 @@
|
|
|
1649
1649
|
"Updating_output_of_project_0_6373": "Aggiornamento dell'output del progetto '{0}'...",
|
|
1650
1650
|
"Updating_output_timestamps_of_project_0_6359": "Aggiornamento dei timestamp di output del progetto '{0}'...",
|
|
1651
1651
|
"Updating_unchanged_output_timestamps_of_project_0_6371": "Aggiornamento dei timestamp di output non modificati del progetto '{0}'...",
|
|
1652
|
+
"Use_0_95174": "Usa `{0}`.",
|
|
1653
|
+
"Use_Number_isNaN_in_all_conditions_95175": "Usare 'Number.isNaN' in tutte le condizioni.",
|
|
1652
1654
|
"Use_element_access_for_0_95145": "Usare l'accesso agli elementi per '{0}'",
|
|
1653
1655
|
"Use_element_access_for_all_undeclared_properties_95146": "Usare l'accesso agli elementi per tutte le proprietà non dichiarate.",
|
|
1654
1656
|
"Use_synthetic_default_member_95016": "Usare il membro 'default' sintetico.",
|
|
@@ -1474,6 +1474,7 @@
|
|
|
1474
1474
|
"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "この JSX タグの '{0}' prop は型 '{1}' の単一の子を予期しますが、複数の子が指定されました。",
|
|
1475
1475
|
"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "この JSX タグの '{0}' prop は複数の子を必要とする型 '{1}' を予期しますが、単一の子が指定されました。",
|
|
1476
1476
|
"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "'{0}' 型と '{1}' 型が重複していないため、この比較は意図したとおりに表示されない可能性があります。",
|
|
1477
|
+
"This_condition_will_always_return_0_2845": "この条件は常に '{0}' を返します。",
|
|
1477
1478
|
"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839": "JavaScript が値ではなく参照でオブジェクトを比較するため、この条件は常に '{0}' を返します。",
|
|
1478
1479
|
"This_condition_will_always_return_true_since_this_0_is_always_defined_2801": "'{0}' が常に定義されているため、この条件は常に true を返します。",
|
|
1479
1480
|
"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774": "この関数は常に定義されているため、この条件は常に true を返します。代わりにこれを呼び出すことを意図していましたか?",
|
|
@@ -1648,6 +1649,8 @@
|
|
|
1648
1649
|
"Updating_output_of_project_0_6373": "プロジェクト '{0}' の出力を更新しています...",
|
|
1649
1650
|
"Updating_output_timestamps_of_project_0_6359": "プロジェクト '{0}' の出力タイムスタンプを更新しています...",
|
|
1650
1651
|
"Updating_unchanged_output_timestamps_of_project_0_6371": "プロジェクト '{0}' の変更されていない出力タイムスタンプを更新しています...",
|
|
1652
|
+
"Use_0_95174": "\"{0}\" を使用します。",
|
|
1653
|
+
"Use_Number_isNaN_in_all_conditions_95175": "すべての条件で 'Number.isNaN' を使用します。",
|
|
1651
1654
|
"Use_element_access_for_0_95145": "'{0}' に要素アクセスを使用する",
|
|
1652
1655
|
"Use_element_access_for_all_undeclared_properties_95146": "宣言されていないすべてのプロパティに対して要素アクセスを使用します。",
|
|
1653
1656
|
"Use_synthetic_default_member_95016": "合成 'default' メンバーを使用します。",
|
|
@@ -1474,6 +1474,7 @@
|
|
|
1474
1474
|
"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "이 JSX 태그의 '{0}' 속성에는 '{1}' 형식의 자식 하나가 필요하지만, 여러 자식이 제공되었습니다.",
|
|
1475
1475
|
"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "이 JSX 태그의 '{0}' 속성에는 여러 자식이 있어야 하는 '{1}' 형식이 필요하지만, 단일 자식만 제공되었습니다.",
|
|
1476
1476
|
"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "'{0}'이(가) '{1}'과(와) 겹치지 않으므로 이 비교는 의도하지 않은 것 같습니다.",
|
|
1477
|
+
"This_condition_will_always_return_0_2845": "이 조건은 항상 '{0}'을(를) 반환합니다.",
|
|
1477
1478
|
"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839": "JavaScript는 값이 아닌 참조로 개체를 비교하므로 이 조건은 항상 '{0}'을(를) 반환합니다.",
|
|
1478
1479
|
"This_condition_will_always_return_true_since_this_0_is_always_defined_2801": "이 '{0}'(은)는 항상 정의되어 있으므로 이 조건은 항상 true를 반환합니다.",
|
|
1479
1480
|
"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774": "함수가 항상 정의되므로 이 조건은 항상 true를 반환합니다. 대신 호출하시겠어요?",
|
|
@@ -1648,6 +1649,8 @@
|
|
|
1648
1649
|
"Updating_output_of_project_0_6373": "'{0}' 프로젝트의 출력을 업데이트하는 중...",
|
|
1649
1650
|
"Updating_output_timestamps_of_project_0_6359": "'{0}' 프로젝트의 출력 타임스탬프를 업데이트하는 중...",
|
|
1650
1651
|
"Updating_unchanged_output_timestamps_of_project_0_6371": "'{0}' 프로젝트의 변경되지 않은 출력 타임스탬프를 업데이트하는 중...",
|
|
1652
|
+
"Use_0_95174": "`{0}`을(를) 사용합니다.",
|
|
1653
|
+
"Use_Number_isNaN_in_all_conditions_95175": "모든 조건에서 'Number.isNaN'을 사용합니다.",
|
|
1651
1654
|
"Use_element_access_for_0_95145": "'{0}'에 요소 액세스 사용",
|
|
1652
1655
|
"Use_element_access_for_all_undeclared_properties_95146": "선언되지 않은 모든 속성에 요소 액세스를 사용합니다.",
|
|
1653
1656
|
"Use_synthetic_default_member_95016": "가상 '기본' 멤버를 사용합니다.",
|
|
@@ -1427,7 +1427,6 @@
|
|
|
1427
1427
|
"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362": "Lewa strona operacji arytmetycznej musi być typu „any”, „number”, „bigint” lub typu wyliczeniowego.",
|
|
1428
1428
|
"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779": "Lewa strona wyrażenia przypisania nie może być opcjonalnym dostępem do właściwości.",
|
|
1429
1429
|
"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364": "Lewa strona wyrażenia przypisania musi być zmienną lub dostępem do właściwości.",
|
|
1430
|
-
"The_left_hand_side_of_an_in_expression_must_be_a_private_identifier_or_of_type_any_string_number_or__2360": "Lewa strona wyrażenia „in” musi być identyfikatorem prywatnym lub typem „any”, „string”, „number” lub „symbol”.",
|
|
1431
1430
|
"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358": "Lewa strona wyrażenia „instanceof” musi być typu „any”, typu obiektu lub parametrem typu.",
|
|
1432
1431
|
"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156": "Ustawienia regionalne używane przy wyświetlaniu komunikatów użytkownikowi (np. „pl-pl”)",
|
|
1433
1432
|
"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136": "Maksymalna głębokość zależności na potrzeby wyszukiwania w elemencie node_modules i ładownia plików JavaScript.",
|
|
@@ -1448,7 +1447,6 @@
|
|
|
1448
1447
|
"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_wri_1064": "Zwracany typ funkcji lub metody asynchronicznej musi być globalnym typem Promise<T>. Czy chodziło Ci o typ „Promise<{0}>”?",
|
|
1449
1448
|
"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407": "Prawa strona instrukcji „for...in” musi zawierać typ „any”, typ obiektu lub parametr typu, a tutaj ma typ „{0}”.",
|
|
1450
1449
|
"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363": "Prawa strona operacji arytmetycznej musi być typu „any”, „number”, „bigint” lub typu wyliczeniowego.",
|
|
1451
|
-
"The_right_hand_side_of_an_in_expression_must_not_be_a_primitive_2361": "Typ pierwotny nie może znajdować się po prawej stronie wyrażenia „in”.",
|
|
1452
1450
|
"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359": "Prawa strona wyrażenia „instanceof” musi być typu „any” lub typu, który można przypisać do typu interfejsu „Function”.",
|
|
1453
1451
|
"The_root_value_of_a_0_file_must_be_an_object_5092": "Wartość katalogu głównego pliku „{0}” musi być obiektem.",
|
|
1454
1452
|
"The_shadowing_declaration_of_0_is_defined_here_18017": "Deklaracja przesłaniania „{0}” jest zdefiniowana tutaj",
|
|
@@ -1476,6 +1474,7 @@
|
|
|
1476
1474
|
"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "Element prop „{0}” tego tagu JSX oczekuje pojedynczego elementu podrzędnego typu „{1}”, ale podano wiele elementów podrzędnych.",
|
|
1477
1475
|
"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "Element prop „{0}” tego tagu JSX oczekuje typu „{1}”, który wymaga wielu elementów podrzędnych, ale podano tylko jeden element podrzędny.",
|
|
1478
1476
|
"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "To porównanie wydaje się niezamierzone, ponieważ typy „{0}” i „{1}” nie nakładają się na siebie.",
|
|
1477
|
+
"This_condition_will_always_return_0_2845": "This condition will always return '{0}'.",
|
|
1479
1478
|
"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839": "Ten warunek zawsze będzie zwracać wartość „{0}”, ponieważ język JavaScript porównuje obiekty według odwołania, a nie wartości.",
|
|
1480
1479
|
"This_condition_will_always_return_true_since_this_0_is_always_defined_2801": "Ten warunek będzie zawsze zwracać wartość true, ponieważ wartość '{0}' jest zawsze prawdziwa.",
|
|
1481
1480
|
"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774": "Ten warunek będzie zawsze zwracał wartość true, ponieważ funkcja jest zawsze zdefiniowana. Czy chcesz wywołać ją zamiast tego?",
|
|
@@ -1551,6 +1550,7 @@
|
|
|
1551
1550
|
"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2412": "Nie można przypisać typu \"{0}\" do typu \"{1}\" o wartości \"exactOptionalPropertyTypes: true\". Rozważ dodanie elementu \"undefined\" do typu elementu docelowego.",
|
|
1552
1551
|
"Type_0_is_not_comparable_to_type_1_2678": "Typu „{0}” nie można porównać z typem „{1}”.",
|
|
1553
1552
|
"Type_0_is_not_generic_2315": "Typ „{0}” nie jest ogólny.",
|
|
1553
|
+
"Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operato_2638": "Typ „{0}” może reprezentować wartość pierwotną, co nie jest dozwolone jako prawy operand operatora „in”.",
|
|
1554
1554
|
"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504": "Typ „{0}” musi zawierać metodę „[Symbol.asyncIterator]()” zwracającą iterator asynchroniczny.",
|
|
1555
1555
|
"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488": "Typ „{0}” musi zawierać metodę „[Symbol.iterator]()” zwracającą iterator.",
|
|
1556
1556
|
"Type_0_provides_no_match_for_the_signature_1_2658": "Typ „{0}” nie udostępnia dopasowania dla sygnatury „{1}”.",
|
|
@@ -1649,6 +1649,8 @@
|
|
|
1649
1649
|
"Updating_output_of_project_0_6373": "Trwa aktualizowanie danych wyjściowych projektu „{0}”...",
|
|
1650
1650
|
"Updating_output_timestamps_of_project_0_6359": "Trwa aktualizowanie sygnatury czasowej danych wyjściowych projektu „{0}”...",
|
|
1651
1651
|
"Updating_unchanged_output_timestamps_of_project_0_6371": "Trwa aktualizowanie niezmienionych sygnatur czasowych danych wyjściowych projektu „{0}”...",
|
|
1652
|
+
"Use_0_95174": "Use `{0}`.",
|
|
1653
|
+
"Use_Number_isNaN_in_all_conditions_95175": "Use `Number.isNaN` in all conditions.",
|
|
1652
1654
|
"Use_element_access_for_0_95145": "Użyj dostępu do elementu w przypadku elementu „{0}”",
|
|
1653
1655
|
"Use_element_access_for_all_undeclared_properties_95146": "Użyj dostępu do elementu w przypadku wszystkich niezadeklarowanych właściwości.",
|
|
1654
1656
|
"Use_synthetic_default_member_95016": "Użyj syntetycznej składowej „default”.",
|
|
@@ -1474,6 +1474,7 @@
|
|
|
1474
1474
|
"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "A propriedade '{0}' da marca desse JSX espera um único filho do tipo '{1}', mas vários filhos foram fornecidos.",
|
|
1475
1475
|
"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "A propriedade '{0}' da marca desse JSX espera o tipo '{1}' que requer vários filhos, mas somente um único filho foi fornecido.",
|
|
1476
1476
|
"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "Esta comparação parece não ser intencional porque os tipos '{0}' e '{1}' não têm sobreposição.",
|
|
1477
|
+
"This_condition_will_always_return_0_2845": "Esta condição sempre retornará '{0}'.",
|
|
1477
1478
|
"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839": "Essa condição sempre retornará '{0}', pois o JavaScript compara objetos por referência, não por valor.",
|
|
1478
1479
|
"This_condition_will_always_return_true_since_this_0_is_always_defined_2801": "Esta condição sempre retornará verdadeiro, já que este '{0}' está sempre definido.",
|
|
1479
1480
|
"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774": "Esta condição sempre retornará verdadeira, uma vez que esta função foi sempre definida. Você pretendia chamá-la em vez disso?",
|
|
@@ -1648,6 +1649,8 @@
|
|
|
1648
1649
|
"Updating_output_of_project_0_6373": "Atualizando a saída do projeto '{0}'...",
|
|
1649
1650
|
"Updating_output_timestamps_of_project_0_6359": "Atualizando os carimbos de data/hora de saída do projeto '{0}'...",
|
|
1650
1651
|
"Updating_unchanged_output_timestamps_of_project_0_6371": "Atualizando os carimbos de data/hora de saída inalterados do projeto '{0}'...",
|
|
1652
|
+
"Use_0_95174": "Use `{0}`.",
|
|
1653
|
+
"Use_Number_isNaN_in_all_conditions_95175": "Use `Number.isNaN` em todas as condições.",
|
|
1651
1654
|
"Use_element_access_for_0_95145": "Usar o acesso de elemento para '{0}'",
|
|
1652
1655
|
"Use_element_access_for_all_undeclared_properties_95146": "Usar o acesso de elemento para todas as propriedades não declaradas.",
|
|
1653
1656
|
"Use_synthetic_default_member_95016": "Use o membro sintético 'padrão'.",
|
|
@@ -1474,6 +1474,7 @@
|
|
|
1474
1474
|
"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "Свойство \"{0}\" этого тега JSX ожидает один дочерний объект типа \"{1}\", однако было предоставлено несколько дочерних объектов.",
|
|
1475
1475
|
"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "Свойство \"{0}\" этого тега JSX ожидает тип \"{1}\", требующий несколько дочерних объектов, однако был предоставлен только один дочерний объект.",
|
|
1476
1476
|
"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "Это сравнение кажется непреднамеренным, поскольку типы \"{0}\" и \"{1}\" не перекрываются.",
|
|
1477
|
+
"This_condition_will_always_return_0_2845": "Это условие всегда возвращает \"{0}\".",
|
|
1477
1478
|
"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839": "Это условие всегда будет возвращать ''{0}'', так как JavaScript сравнивает объекты по ссылке, а не по значению.",
|
|
1478
1479
|
"This_condition_will_always_return_true_since_this_0_is_always_defined_2801": "Это условие всегда будет возвращать значение true, поскольку функция \"{0}\" всегда определена.",
|
|
1479
1480
|
"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774": "Это условие будет всегда возвращать значение true, поскольку функция всегда определена. Возможно, вы хотите вызвать ее?",
|
|
@@ -1648,6 +1649,8 @@
|
|
|
1648
1649
|
"Updating_output_of_project_0_6373": "Обновление выходных данных проекта \"{0}\"...",
|
|
1649
1650
|
"Updating_output_timestamps_of_project_0_6359": "Обновление меток времени в выходных данных проекта \"{0}\"...",
|
|
1650
1651
|
"Updating_unchanged_output_timestamps_of_project_0_6371": "Обновление меток времени в неизменившихся выходных данных проекта \"{0}\"...",
|
|
1652
|
+
"Use_0_95174": "Использовать \"{0}\".",
|
|
1653
|
+
"Use_Number_isNaN_in_all_conditions_95175": "Использовать \"Number.isNaN\" во всех условиях.",
|
|
1651
1654
|
"Use_element_access_for_0_95145": "Использовать доступ к элементам для \"{0}\".",
|
|
1652
1655
|
"Use_element_access_for_all_undeclared_properties_95146": "Использовать доступ к элементам для всех необъявленных свойств.",
|
|
1653
1656
|
"Use_synthetic_default_member_95016": "Используйте искусственный элемент \"default\".",
|
package/lib/tsc.js
CHANGED
|
@@ -54217,7 +54217,13 @@ var ts;
|
|
|
54217
54217
|
return ts.hasContextSensitiveParameters(node) || hasContextSensitiveReturnExpression(node);
|
|
54218
54218
|
}
|
|
54219
54219
|
function hasContextSensitiveReturnExpression(node) {
|
|
54220
|
-
|
|
54220
|
+
if (node.typeParameters || ts.getEffectiveReturnTypeNode(node) || !node.body) {
|
|
54221
|
+
return false;
|
|
54222
|
+
}
|
|
54223
|
+
if (node.body.kind !== 238) {
|
|
54224
|
+
return isContextSensitive(node.body);
|
|
54225
|
+
}
|
|
54226
|
+
return !!ts.forEachReturnStatement(node.body, function (statement) { return !!statement.expression && isContextSensitive(statement.expression); });
|
|
54221
54227
|
}
|
|
54222
54228
|
function isContextSensitiveFunctionOrObjectLiteralMethod(func) {
|
|
54223
54229
|
return (ts.isFunctionExpressionOrArrowFunction(func) || ts.isObjectLiteralMethod(func)) &&
|
|
@@ -102709,12 +102715,15 @@ var ts;
|
|
|
102709
102715
|
var value = filesWithInvalidatedNonRelativeUnresolvedImports.get(path);
|
|
102710
102716
|
return !!value && !!value.length;
|
|
102711
102717
|
}
|
|
102712
|
-
function createHasInvalidatedResolution(
|
|
102718
|
+
function createHasInvalidatedResolution(forceAllFilesAsInvalidated) {
|
|
102713
102719
|
invalidateResolutionsOfFailedLookupLocations();
|
|
102720
|
+
if (forceAllFilesAsInvalidated) {
|
|
102721
|
+
filesWithInvalidatedResolutions = undefined;
|
|
102722
|
+
return ts.returnTrue;
|
|
102723
|
+
}
|
|
102714
102724
|
var collected = filesWithInvalidatedResolutions;
|
|
102715
102725
|
filesWithInvalidatedResolutions = undefined;
|
|
102716
|
-
return function (path) { return (
|
|
102717
|
-
!!(collected === null || collected === void 0 ? void 0 : collected.has(path)) ||
|
|
102726
|
+
return function (path) { return (!!collected && collected.has(path)) ||
|
|
102718
102727
|
isFileWithInvalidatedNonRelativeUnresolvedImports(path); };
|
|
102719
102728
|
}
|
|
102720
102729
|
function startCachingPerDirectoryResolution() {
|
|
@@ -104804,7 +104813,6 @@ var ts;
|
|
|
104804
104813
|
ts.maybeBind(host, host.getModuleResolutionCache) :
|
|
104805
104814
|
(function () { return resolutionCache.getModuleResolutionCache(); });
|
|
104806
104815
|
var userProvidedResolution = !!host.resolveModuleNames || !!host.resolveTypeReferenceDirectives;
|
|
104807
|
-
var userProvidedHasInvalidatedResolution = ts.maybeBind(host, host.hasInvalidatedResolution) || ts.returnTrue;
|
|
104808
104816
|
builderProgram = readBuilderProgram(compilerOptions, compilerHost);
|
|
104809
104817
|
synchronizeProgram();
|
|
104810
104818
|
watchConfigFileWildCardDirectories();
|
|
@@ -104868,7 +104876,7 @@ var ts;
|
|
|
104868
104876
|
resolutionCache.clear();
|
|
104869
104877
|
}
|
|
104870
104878
|
}
|
|
104871
|
-
var hasInvalidatedResolution = resolutionCache.createHasInvalidatedResolution(userProvidedResolution
|
|
104879
|
+
var hasInvalidatedResolution = resolutionCache.createHasInvalidatedResolution(userProvidedResolution);
|
|
104872
104880
|
var _a = ts.changeCompilerHostLikeToUseCache(compilerHost, toPath), originalReadFile = _a.originalReadFile, originalFileExists = _a.originalFileExists, originalDirectoryExists = _a.originalDirectoryExists, originalCreateDirectory = _a.originalCreateDirectory, originalWriteFile = _a.originalWriteFile;
|
|
104873
104881
|
if (ts.isProgramUptoDate(getCurrentProgram(), rootFileNames, compilerOptions, getSourceVersion, function (fileName) { return compilerHost.fileExists(fileName); }, hasInvalidatedResolution, hasChangedAutomaticTypeDirectiveNames, getParsedCommandLine, projectReferences)) {
|
|
104874
104882
|
if (hasChangedConfigFileParsingErrors) {
|
package/lib/tsserver.js
CHANGED
|
@@ -65036,8 +65036,13 @@ var ts;
|
|
|
65036
65036
|
return ts.hasContextSensitiveParameters(node) || hasContextSensitiveReturnExpression(node);
|
|
65037
65037
|
}
|
|
65038
65038
|
function hasContextSensitiveReturnExpression(node) {
|
|
65039
|
-
|
|
65040
|
-
|
|
65039
|
+
if (node.typeParameters || ts.getEffectiveReturnTypeNode(node) || !node.body) {
|
|
65040
|
+
return false;
|
|
65041
|
+
}
|
|
65042
|
+
if (node.body.kind !== 238 /* SyntaxKind.Block */) {
|
|
65043
|
+
return isContextSensitive(node.body);
|
|
65044
|
+
}
|
|
65045
|
+
return !!ts.forEachReturnStatement(node.body, function (statement) { return !!statement.expression && isContextSensitive(statement.expression); });
|
|
65041
65046
|
}
|
|
65042
65047
|
function isContextSensitiveFunctionOrObjectLiteralMethod(func) {
|
|
65043
65048
|
return (ts.isFunctionExpressionOrArrowFunction(func) || ts.isObjectLiteralMethod(func)) &&
|
|
@@ -123898,13 +123903,17 @@ var ts;
|
|
|
123898
123903
|
var value = filesWithInvalidatedNonRelativeUnresolvedImports.get(path);
|
|
123899
123904
|
return !!value && !!value.length;
|
|
123900
123905
|
}
|
|
123901
|
-
function createHasInvalidatedResolution(
|
|
123906
|
+
function createHasInvalidatedResolution(forceAllFilesAsInvalidated) {
|
|
123902
123907
|
// Ensure pending resolutions are applied
|
|
123903
123908
|
invalidateResolutionsOfFailedLookupLocations();
|
|
123909
|
+
if (forceAllFilesAsInvalidated) {
|
|
123910
|
+
// Any file asked would have invalidated resolution
|
|
123911
|
+
filesWithInvalidatedResolutions = undefined;
|
|
123912
|
+
return ts.returnTrue;
|
|
123913
|
+
}
|
|
123904
123914
|
var collected = filesWithInvalidatedResolutions;
|
|
123905
123915
|
filesWithInvalidatedResolutions = undefined;
|
|
123906
|
-
return function (path) { return (
|
|
123907
|
-
!!(collected === null || collected === void 0 ? void 0 : collected.has(path)) ||
|
|
123916
|
+
return function (path) { return (!!collected && collected.has(path)) ||
|
|
123908
123917
|
isFileWithInvalidatedNonRelativeUnresolvedImports(path); };
|
|
123909
123918
|
}
|
|
123910
123919
|
function startCachingPerDirectoryResolution() {
|
|
@@ -126284,7 +126293,6 @@ var ts;
|
|
|
126284
126293
|
ts.maybeBind(host, host.getModuleResolutionCache) :
|
|
126285
126294
|
(function () { return resolutionCache.getModuleResolutionCache(); });
|
|
126286
126295
|
var userProvidedResolution = !!host.resolveModuleNames || !!host.resolveTypeReferenceDirectives;
|
|
126287
|
-
var userProvidedHasInvalidatedResolution = ts.maybeBind(host, host.hasInvalidatedResolution) || ts.returnTrue;
|
|
126288
126296
|
builderProgram = readBuilderProgram(compilerOptions, compilerHost);
|
|
126289
126297
|
synchronizeProgram();
|
|
126290
126298
|
// Update the wild card directory watch
|
|
@@ -126351,7 +126359,7 @@ var ts;
|
|
|
126351
126359
|
}
|
|
126352
126360
|
}
|
|
126353
126361
|
// All resolutions are invalid if user provided resolutions
|
|
126354
|
-
var hasInvalidatedResolution = resolutionCache.createHasInvalidatedResolution(userProvidedResolution
|
|
126362
|
+
var hasInvalidatedResolution = resolutionCache.createHasInvalidatedResolution(userProvidedResolution);
|
|
126355
126363
|
var _a = ts.changeCompilerHostLikeToUseCache(compilerHost, toPath), originalReadFile = _a.originalReadFile, originalFileExists = _a.originalFileExists, originalDirectoryExists = _a.originalDirectoryExists, originalCreateDirectory = _a.originalCreateDirectory, originalWriteFile = _a.originalWriteFile;
|
|
126356
126364
|
if (ts.isProgramUptoDate(getCurrentProgram(), rootFileNames, compilerOptions, getSourceVersion, function (fileName) { return compilerHost.fileExists(fileName); }, hasInvalidatedResolution, hasChangedAutomaticTypeDirectiveNames, getParsedCommandLine, projectReferences)) {
|
|
126357
126365
|
if (hasChangedConfigFileParsingErrors) {
|
package/lib/tsserverlibrary.d.ts
CHANGED
|
@@ -3320,7 +3320,6 @@ declare namespace ts {
|
|
|
3320
3320
|
*/
|
|
3321
3321
|
resolveTypeReferenceDirectives?(typeReferenceDirectiveNames: string[] | readonly FileReference[], containingFile: string, redirectedReference: ResolvedProjectReference | undefined, options: CompilerOptions, containingFileMode?: SourceFile["impliedNodeFormat"] | undefined): (ResolvedTypeReferenceDirective | undefined)[];
|
|
3322
3322
|
getEnvironmentVariable?(name: string): string | undefined;
|
|
3323
|
-
hasInvalidatedResolution?(filePath: Path): boolean;
|
|
3324
3323
|
createHash?(data: string): string;
|
|
3325
3324
|
getParsedCommandLine?(fileName: string): ParsedCommandLine | undefined;
|
|
3326
3325
|
}
|
|
@@ -5443,8 +5442,6 @@ declare namespace ts {
|
|
|
5443
5442
|
resolveModuleNames?(moduleNames: string[], containingFile: string, reusedNames: string[] | undefined, redirectedReference: ResolvedProjectReference | undefined, options: CompilerOptions, containingSourceFile?: SourceFile): (ResolvedModule | undefined)[];
|
|
5444
5443
|
/** If provided, used to resolve type reference directives, otherwise typescript's default resolution */
|
|
5445
5444
|
resolveTypeReferenceDirectives?(typeReferenceDirectiveNames: string[] | readonly FileReference[], containingFile: string, redirectedReference: ResolvedProjectReference | undefined, options: CompilerOptions, containingFileMode?: SourceFile["impliedNodeFormat"] | undefined): (ResolvedTypeReferenceDirective | undefined)[];
|
|
5446
|
-
/** If provided along with custom resolveModuleNames or resolveTypeReferenceDirectives, used to determine if unchanged file path needs to re-resolve modules/type reference directives */
|
|
5447
|
-
hasInvalidatedResolution?(filePath: Path): boolean;
|
|
5448
5445
|
/**
|
|
5449
5446
|
* Returns the module resolution cache used by a provided `resolveModuleNames` implementation so that any non-name module resolution operations (eg, package.json lookup) can reuse it
|
|
5450
5447
|
*/
|
package/lib/tsserverlibrary.js
CHANGED
|
@@ -65035,8 +65035,13 @@ var ts;
|
|
|
65035
65035
|
return ts.hasContextSensitiveParameters(node) || hasContextSensitiveReturnExpression(node);
|
|
65036
65036
|
}
|
|
65037
65037
|
function hasContextSensitiveReturnExpression(node) {
|
|
65038
|
-
|
|
65039
|
-
|
|
65038
|
+
if (node.typeParameters || ts.getEffectiveReturnTypeNode(node) || !node.body) {
|
|
65039
|
+
return false;
|
|
65040
|
+
}
|
|
65041
|
+
if (node.body.kind !== 238 /* SyntaxKind.Block */) {
|
|
65042
|
+
return isContextSensitive(node.body);
|
|
65043
|
+
}
|
|
65044
|
+
return !!ts.forEachReturnStatement(node.body, function (statement) { return !!statement.expression && isContextSensitive(statement.expression); });
|
|
65040
65045
|
}
|
|
65041
65046
|
function isContextSensitiveFunctionOrObjectLiteralMethod(func) {
|
|
65042
65047
|
return (ts.isFunctionExpressionOrArrowFunction(func) || ts.isObjectLiteralMethod(func)) &&
|
|
@@ -123897,13 +123902,17 @@ var ts;
|
|
|
123897
123902
|
var value = filesWithInvalidatedNonRelativeUnresolvedImports.get(path);
|
|
123898
123903
|
return !!value && !!value.length;
|
|
123899
123904
|
}
|
|
123900
|
-
function createHasInvalidatedResolution(
|
|
123905
|
+
function createHasInvalidatedResolution(forceAllFilesAsInvalidated) {
|
|
123901
123906
|
// Ensure pending resolutions are applied
|
|
123902
123907
|
invalidateResolutionsOfFailedLookupLocations();
|
|
123908
|
+
if (forceAllFilesAsInvalidated) {
|
|
123909
|
+
// Any file asked would have invalidated resolution
|
|
123910
|
+
filesWithInvalidatedResolutions = undefined;
|
|
123911
|
+
return ts.returnTrue;
|
|
123912
|
+
}
|
|
123903
123913
|
var collected = filesWithInvalidatedResolutions;
|
|
123904
123914
|
filesWithInvalidatedResolutions = undefined;
|
|
123905
|
-
return function (path) { return (
|
|
123906
|
-
!!(collected === null || collected === void 0 ? void 0 : collected.has(path)) ||
|
|
123915
|
+
return function (path) { return (!!collected && collected.has(path)) ||
|
|
123907
123916
|
isFileWithInvalidatedNonRelativeUnresolvedImports(path); };
|
|
123908
123917
|
}
|
|
123909
123918
|
function startCachingPerDirectoryResolution() {
|
|
@@ -126283,7 +126292,6 @@ var ts;
|
|
|
126283
126292
|
ts.maybeBind(host, host.getModuleResolutionCache) :
|
|
126284
126293
|
(function () { return resolutionCache.getModuleResolutionCache(); });
|
|
126285
126294
|
var userProvidedResolution = !!host.resolveModuleNames || !!host.resolveTypeReferenceDirectives;
|
|
126286
|
-
var userProvidedHasInvalidatedResolution = ts.maybeBind(host, host.hasInvalidatedResolution) || ts.returnTrue;
|
|
126287
126295
|
builderProgram = readBuilderProgram(compilerOptions, compilerHost);
|
|
126288
126296
|
synchronizeProgram();
|
|
126289
126297
|
// Update the wild card directory watch
|
|
@@ -126350,7 +126358,7 @@ var ts;
|
|
|
126350
126358
|
}
|
|
126351
126359
|
}
|
|
126352
126360
|
// All resolutions are invalid if user provided resolutions
|
|
126353
|
-
var hasInvalidatedResolution = resolutionCache.createHasInvalidatedResolution(userProvidedResolution
|
|
126361
|
+
var hasInvalidatedResolution = resolutionCache.createHasInvalidatedResolution(userProvidedResolution);
|
|
126354
126362
|
var _a = ts.changeCompilerHostLikeToUseCache(compilerHost, toPath), originalReadFile = _a.originalReadFile, originalFileExists = _a.originalFileExists, originalDirectoryExists = _a.originalDirectoryExists, originalCreateDirectory = _a.originalCreateDirectory, originalWriteFile = _a.originalWriteFile;
|
|
126355
126363
|
if (ts.isProgramUptoDate(getCurrentProgram(), rootFileNames, compilerOptions, getSourceVersion, function (fileName) { return compilerHost.fileExists(fileName); }, hasInvalidatedResolution, hasChangedAutomaticTypeDirectiveNames, getParsedCommandLine, projectReferences)) {
|
|
126356
126364
|
if (hasChangedConfigFileParsingErrors) {
|
package/lib/typescript.d.ts
CHANGED
|
@@ -3320,7 +3320,6 @@ declare namespace ts {
|
|
|
3320
3320
|
*/
|
|
3321
3321
|
resolveTypeReferenceDirectives?(typeReferenceDirectiveNames: string[] | readonly FileReference[], containingFile: string, redirectedReference: ResolvedProjectReference | undefined, options: CompilerOptions, containingFileMode?: SourceFile["impliedNodeFormat"] | undefined): (ResolvedTypeReferenceDirective | undefined)[];
|
|
3322
3322
|
getEnvironmentVariable?(name: string): string | undefined;
|
|
3323
|
-
hasInvalidatedResolution?(filePath: Path): boolean;
|
|
3324
3323
|
createHash?(data: string): string;
|
|
3325
3324
|
getParsedCommandLine?(fileName: string): ParsedCommandLine | undefined;
|
|
3326
3325
|
}
|
|
@@ -5443,8 +5442,6 @@ declare namespace ts {
|
|
|
5443
5442
|
resolveModuleNames?(moduleNames: string[], containingFile: string, reusedNames: string[] | undefined, redirectedReference: ResolvedProjectReference | undefined, options: CompilerOptions, containingSourceFile?: SourceFile): (ResolvedModule | undefined)[];
|
|
5444
5443
|
/** If provided, used to resolve type reference directives, otherwise typescript's default resolution */
|
|
5445
5444
|
resolveTypeReferenceDirectives?(typeReferenceDirectiveNames: string[] | readonly FileReference[], containingFile: string, redirectedReference: ResolvedProjectReference | undefined, options: CompilerOptions, containingFileMode?: SourceFile["impliedNodeFormat"] | undefined): (ResolvedTypeReferenceDirective | undefined)[];
|
|
5446
|
-
/** If provided along with custom resolveModuleNames or resolveTypeReferenceDirectives, used to determine if unchanged file path needs to re-resolve modules/type reference directives */
|
|
5447
|
-
hasInvalidatedResolution?(filePath: Path): boolean;
|
|
5448
5445
|
/**
|
|
5449
5446
|
* Returns the module resolution cache used by a provided `resolveModuleNames` implementation so that any non-name module resolution operations (eg, package.json lookup) can reuse it
|
|
5450
5447
|
*/
|
package/lib/typescript.js
CHANGED
|
@@ -65026,8 +65026,13 @@ var ts;
|
|
|
65026
65026
|
return ts.hasContextSensitiveParameters(node) || hasContextSensitiveReturnExpression(node);
|
|
65027
65027
|
}
|
|
65028
65028
|
function hasContextSensitiveReturnExpression(node) {
|
|
65029
|
-
|
|
65030
|
-
|
|
65029
|
+
if (node.typeParameters || ts.getEffectiveReturnTypeNode(node) || !node.body) {
|
|
65030
|
+
return false;
|
|
65031
|
+
}
|
|
65032
|
+
if (node.body.kind !== 238 /* SyntaxKind.Block */) {
|
|
65033
|
+
return isContextSensitive(node.body);
|
|
65034
|
+
}
|
|
65035
|
+
return !!ts.forEachReturnStatement(node.body, function (statement) { return !!statement.expression && isContextSensitive(statement.expression); });
|
|
65031
65036
|
}
|
|
65032
65037
|
function isContextSensitiveFunctionOrObjectLiteralMethod(func) {
|
|
65033
65038
|
return (ts.isFunctionExpressionOrArrowFunction(func) || ts.isObjectLiteralMethod(func)) &&
|
|
@@ -123888,13 +123893,17 @@ var ts;
|
|
|
123888
123893
|
var value = filesWithInvalidatedNonRelativeUnresolvedImports.get(path);
|
|
123889
123894
|
return !!value && !!value.length;
|
|
123890
123895
|
}
|
|
123891
|
-
function createHasInvalidatedResolution(
|
|
123896
|
+
function createHasInvalidatedResolution(forceAllFilesAsInvalidated) {
|
|
123892
123897
|
// Ensure pending resolutions are applied
|
|
123893
123898
|
invalidateResolutionsOfFailedLookupLocations();
|
|
123899
|
+
if (forceAllFilesAsInvalidated) {
|
|
123900
|
+
// Any file asked would have invalidated resolution
|
|
123901
|
+
filesWithInvalidatedResolutions = undefined;
|
|
123902
|
+
return ts.returnTrue;
|
|
123903
|
+
}
|
|
123894
123904
|
var collected = filesWithInvalidatedResolutions;
|
|
123895
123905
|
filesWithInvalidatedResolutions = undefined;
|
|
123896
|
-
return function (path) { return (
|
|
123897
|
-
!!(collected === null || collected === void 0 ? void 0 : collected.has(path)) ||
|
|
123906
|
+
return function (path) { return (!!collected && collected.has(path)) ||
|
|
123898
123907
|
isFileWithInvalidatedNonRelativeUnresolvedImports(path); };
|
|
123899
123908
|
}
|
|
123900
123909
|
function startCachingPerDirectoryResolution() {
|
|
@@ -126274,7 +126283,6 @@ var ts;
|
|
|
126274
126283
|
ts.maybeBind(host, host.getModuleResolutionCache) :
|
|
126275
126284
|
(function () { return resolutionCache.getModuleResolutionCache(); });
|
|
126276
126285
|
var userProvidedResolution = !!host.resolveModuleNames || !!host.resolveTypeReferenceDirectives;
|
|
126277
|
-
var userProvidedHasInvalidatedResolution = ts.maybeBind(host, host.hasInvalidatedResolution) || ts.returnTrue;
|
|
126278
126286
|
builderProgram = readBuilderProgram(compilerOptions, compilerHost);
|
|
126279
126287
|
synchronizeProgram();
|
|
126280
126288
|
// Update the wild card directory watch
|
|
@@ -126341,7 +126349,7 @@ var ts;
|
|
|
126341
126349
|
}
|
|
126342
126350
|
}
|
|
126343
126351
|
// All resolutions are invalid if user provided resolutions
|
|
126344
|
-
var hasInvalidatedResolution = resolutionCache.createHasInvalidatedResolution(userProvidedResolution
|
|
126352
|
+
var hasInvalidatedResolution = resolutionCache.createHasInvalidatedResolution(userProvidedResolution);
|
|
126345
126353
|
var _a = ts.changeCompilerHostLikeToUseCache(compilerHost, toPath), originalReadFile = _a.originalReadFile, originalFileExists = _a.originalFileExists, originalDirectoryExists = _a.originalDirectoryExists, originalCreateDirectory = _a.originalCreateDirectory, originalWriteFile = _a.originalWriteFile;
|
|
126346
126354
|
if (ts.isProgramUptoDate(getCurrentProgram(), rootFileNames, compilerOptions, getSourceVersion, function (fileName) { return compilerHost.fileExists(fileName); }, hasInvalidatedResolution, hasChangedAutomaticTypeDirectiveNames, getParsedCommandLine, projectReferences)) {
|
|
126347
126355
|
if (hasChangedConfigFileParsingErrors) {
|
|
@@ -3320,7 +3320,6 @@ declare namespace ts {
|
|
|
3320
3320
|
*/
|
|
3321
3321
|
resolveTypeReferenceDirectives?(typeReferenceDirectiveNames: string[] | readonly FileReference[], containingFile: string, redirectedReference: ResolvedProjectReference | undefined, options: CompilerOptions, containingFileMode?: SourceFile["impliedNodeFormat"] | undefined): (ResolvedTypeReferenceDirective | undefined)[];
|
|
3322
3322
|
getEnvironmentVariable?(name: string): string | undefined;
|
|
3323
|
-
hasInvalidatedResolution?(filePath: Path): boolean;
|
|
3324
3323
|
createHash?(data: string): string;
|
|
3325
3324
|
getParsedCommandLine?(fileName: string): ParsedCommandLine | undefined;
|
|
3326
3325
|
}
|
|
@@ -5443,8 +5442,6 @@ declare namespace ts {
|
|
|
5443
5442
|
resolveModuleNames?(moduleNames: string[], containingFile: string, reusedNames: string[] | undefined, redirectedReference: ResolvedProjectReference | undefined, options: CompilerOptions, containingSourceFile?: SourceFile): (ResolvedModule | undefined)[];
|
|
5444
5443
|
/** If provided, used to resolve type reference directives, otherwise typescript's default resolution */
|
|
5445
5444
|
resolveTypeReferenceDirectives?(typeReferenceDirectiveNames: string[] | readonly FileReference[], containingFile: string, redirectedReference: ResolvedProjectReference | undefined, options: CompilerOptions, containingFileMode?: SourceFile["impliedNodeFormat"] | undefined): (ResolvedTypeReferenceDirective | undefined)[];
|
|
5446
|
-
/** If provided along with custom resolveModuleNames or resolveTypeReferenceDirectives, used to determine if unchanged file path needs to re-resolve modules/type reference directives */
|
|
5447
|
-
hasInvalidatedResolution?(filePath: Path): boolean;
|
|
5448
5445
|
/**
|
|
5449
5446
|
* Returns the module resolution cache used by a provided `resolveModuleNames` implementation so that any non-name module resolution operations (eg, package.json lookup) can reuse it
|
|
5450
5447
|
*/
|
|
@@ -65026,8 +65026,13 @@ var ts;
|
|
|
65026
65026
|
return ts.hasContextSensitiveParameters(node) || hasContextSensitiveReturnExpression(node);
|
|
65027
65027
|
}
|
|
65028
65028
|
function hasContextSensitiveReturnExpression(node) {
|
|
65029
|
-
|
|
65030
|
-
|
|
65029
|
+
if (node.typeParameters || ts.getEffectiveReturnTypeNode(node) || !node.body) {
|
|
65030
|
+
return false;
|
|
65031
|
+
}
|
|
65032
|
+
if (node.body.kind !== 238 /* SyntaxKind.Block */) {
|
|
65033
|
+
return isContextSensitive(node.body);
|
|
65034
|
+
}
|
|
65035
|
+
return !!ts.forEachReturnStatement(node.body, function (statement) { return !!statement.expression && isContextSensitive(statement.expression); });
|
|
65031
65036
|
}
|
|
65032
65037
|
function isContextSensitiveFunctionOrObjectLiteralMethod(func) {
|
|
65033
65038
|
return (ts.isFunctionExpressionOrArrowFunction(func) || ts.isObjectLiteralMethod(func)) &&
|
|
@@ -123888,13 +123893,17 @@ var ts;
|
|
|
123888
123893
|
var value = filesWithInvalidatedNonRelativeUnresolvedImports.get(path);
|
|
123889
123894
|
return !!value && !!value.length;
|
|
123890
123895
|
}
|
|
123891
|
-
function createHasInvalidatedResolution(
|
|
123896
|
+
function createHasInvalidatedResolution(forceAllFilesAsInvalidated) {
|
|
123892
123897
|
// Ensure pending resolutions are applied
|
|
123893
123898
|
invalidateResolutionsOfFailedLookupLocations();
|
|
123899
|
+
if (forceAllFilesAsInvalidated) {
|
|
123900
|
+
// Any file asked would have invalidated resolution
|
|
123901
|
+
filesWithInvalidatedResolutions = undefined;
|
|
123902
|
+
return ts.returnTrue;
|
|
123903
|
+
}
|
|
123894
123904
|
var collected = filesWithInvalidatedResolutions;
|
|
123895
123905
|
filesWithInvalidatedResolutions = undefined;
|
|
123896
|
-
return function (path) { return (
|
|
123897
|
-
!!(collected === null || collected === void 0 ? void 0 : collected.has(path)) ||
|
|
123906
|
+
return function (path) { return (!!collected && collected.has(path)) ||
|
|
123898
123907
|
isFileWithInvalidatedNonRelativeUnresolvedImports(path); };
|
|
123899
123908
|
}
|
|
123900
123909
|
function startCachingPerDirectoryResolution() {
|
|
@@ -126274,7 +126283,6 @@ var ts;
|
|
|
126274
126283
|
ts.maybeBind(host, host.getModuleResolutionCache) :
|
|
126275
126284
|
(function () { return resolutionCache.getModuleResolutionCache(); });
|
|
126276
126285
|
var userProvidedResolution = !!host.resolveModuleNames || !!host.resolveTypeReferenceDirectives;
|
|
126277
|
-
var userProvidedHasInvalidatedResolution = ts.maybeBind(host, host.hasInvalidatedResolution) || ts.returnTrue;
|
|
126278
126286
|
builderProgram = readBuilderProgram(compilerOptions, compilerHost);
|
|
126279
126287
|
synchronizeProgram();
|
|
126280
126288
|
// Update the wild card directory watch
|
|
@@ -126341,7 +126349,7 @@ var ts;
|
|
|
126341
126349
|
}
|
|
126342
126350
|
}
|
|
126343
126351
|
// All resolutions are invalid if user provided resolutions
|
|
126344
|
-
var hasInvalidatedResolution = resolutionCache.createHasInvalidatedResolution(userProvidedResolution
|
|
126352
|
+
var hasInvalidatedResolution = resolutionCache.createHasInvalidatedResolution(userProvidedResolution);
|
|
126345
126353
|
var _a = ts.changeCompilerHostLikeToUseCache(compilerHost, toPath), originalReadFile = _a.originalReadFile, originalFileExists = _a.originalFileExists, originalDirectoryExists = _a.originalDirectoryExists, originalCreateDirectory = _a.originalCreateDirectory, originalWriteFile = _a.originalWriteFile;
|
|
126346
126354
|
if (ts.isProgramUptoDate(getCurrentProgram(), rootFileNames, compilerOptions, getSourceVersion, function (fileName) { return compilerHost.fileExists(fileName); }, hasInvalidatedResolution, hasChangedAutomaticTypeDirectiveNames, getParsedCommandLine, projectReferences)) {
|
|
126347
126355
|
if (hasChangedConfigFileParsingErrors) {
|
package/lib/typingsInstaller.js
CHANGED
|
@@ -65016,8 +65016,13 @@ var ts;
|
|
|
65016
65016
|
return ts.hasContextSensitiveParameters(node) || hasContextSensitiveReturnExpression(node);
|
|
65017
65017
|
}
|
|
65018
65018
|
function hasContextSensitiveReturnExpression(node) {
|
|
65019
|
-
|
|
65020
|
-
|
|
65019
|
+
if (node.typeParameters || ts.getEffectiveReturnTypeNode(node) || !node.body) {
|
|
65020
|
+
return false;
|
|
65021
|
+
}
|
|
65022
|
+
if (node.body.kind !== 238 /* SyntaxKind.Block */) {
|
|
65023
|
+
return isContextSensitive(node.body);
|
|
65024
|
+
}
|
|
65025
|
+
return !!ts.forEachReturnStatement(node.body, function (statement) { return !!statement.expression && isContextSensitive(statement.expression); });
|
|
65021
65026
|
}
|
|
65022
65027
|
function isContextSensitiveFunctionOrObjectLiteralMethod(func) {
|
|
65023
65028
|
return (ts.isFunctionExpressionOrArrowFunction(func) || ts.isObjectLiteralMethod(func)) &&
|
|
@@ -123878,13 +123883,17 @@ var ts;
|
|
|
123878
123883
|
var value = filesWithInvalidatedNonRelativeUnresolvedImports.get(path);
|
|
123879
123884
|
return !!value && !!value.length;
|
|
123880
123885
|
}
|
|
123881
|
-
function createHasInvalidatedResolution(
|
|
123886
|
+
function createHasInvalidatedResolution(forceAllFilesAsInvalidated) {
|
|
123882
123887
|
// Ensure pending resolutions are applied
|
|
123883
123888
|
invalidateResolutionsOfFailedLookupLocations();
|
|
123889
|
+
if (forceAllFilesAsInvalidated) {
|
|
123890
|
+
// Any file asked would have invalidated resolution
|
|
123891
|
+
filesWithInvalidatedResolutions = undefined;
|
|
123892
|
+
return ts.returnTrue;
|
|
123893
|
+
}
|
|
123884
123894
|
var collected = filesWithInvalidatedResolutions;
|
|
123885
123895
|
filesWithInvalidatedResolutions = undefined;
|
|
123886
|
-
return function (path) { return (
|
|
123887
|
-
!!(collected === null || collected === void 0 ? void 0 : collected.has(path)) ||
|
|
123896
|
+
return function (path) { return (!!collected && collected.has(path)) ||
|
|
123888
123897
|
isFileWithInvalidatedNonRelativeUnresolvedImports(path); };
|
|
123889
123898
|
}
|
|
123890
123899
|
function startCachingPerDirectoryResolution() {
|
|
@@ -126264,7 +126273,6 @@ var ts;
|
|
|
126264
126273
|
ts.maybeBind(host, host.getModuleResolutionCache) :
|
|
126265
126274
|
(function () { return resolutionCache.getModuleResolutionCache(); });
|
|
126266
126275
|
var userProvidedResolution = !!host.resolveModuleNames || !!host.resolveTypeReferenceDirectives;
|
|
126267
|
-
var userProvidedHasInvalidatedResolution = ts.maybeBind(host, host.hasInvalidatedResolution) || ts.returnTrue;
|
|
126268
126276
|
builderProgram = readBuilderProgram(compilerOptions, compilerHost);
|
|
126269
126277
|
synchronizeProgram();
|
|
126270
126278
|
// Update the wild card directory watch
|
|
@@ -126331,7 +126339,7 @@ var ts;
|
|
|
126331
126339
|
}
|
|
126332
126340
|
}
|
|
126333
126341
|
// All resolutions are invalid if user provided resolutions
|
|
126334
|
-
var hasInvalidatedResolution = resolutionCache.createHasInvalidatedResolution(userProvidedResolution
|
|
126342
|
+
var hasInvalidatedResolution = resolutionCache.createHasInvalidatedResolution(userProvidedResolution);
|
|
126335
126343
|
var _a = ts.changeCompilerHostLikeToUseCache(compilerHost, toPath), originalReadFile = _a.originalReadFile, originalFileExists = _a.originalFileExists, originalDirectoryExists = _a.originalDirectoryExists, originalCreateDirectory = _a.originalCreateDirectory, originalWriteFile = _a.originalWriteFile;
|
|
126336
126344
|
if (ts.isProgramUptoDate(getCurrentProgram(), rootFileNames, compilerOptions, getSourceVersion, function (fileName) { return compilerHost.fileExists(fileName); }, hasInvalidatedResolution, hasChangedAutomaticTypeDirectiveNames, getParsedCommandLine, projectReferences)) {
|
|
126337
126345
|
if (hasChangedConfigFileParsingErrors) {
|
|
@@ -1427,7 +1427,6 @@
|
|
|
1427
1427
|
"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362": "算术运算左侧必须是 \"any\"、\"number\"、\"bigint\" 或枚举类型。",
|
|
1428
1428
|
"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779": "赋值表达式的左侧不能是可选属性访问。",
|
|
1429
1429
|
"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364": "赋值表达式的左侧必须是变量或属性访问。",
|
|
1430
|
-
"The_left_hand_side_of_an_in_expression_must_be_a_private_identifier_or_of_type_any_string_number_or__2360": "\"in\" 表达式的左侧必须是专用标识符或其类型必须为 \"any\"、\"string\"、\"number\" 或 \"symbol\"。",
|
|
1431
1430
|
"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358": "\"instanceof\" 表达式左侧必须是 \"any\" 类型、对象类型或类型参数。",
|
|
1432
1431
|
"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156": "向用户显示消息时所用的区域设置(例如,\"en-us\")",
|
|
1433
1432
|
"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136": "用于搜索 node_modules 和加载 JavaScript 文件的最大依赖项深度。",
|
|
@@ -1448,7 +1447,6 @@
|
|
|
1448
1447
|
"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_wri_1064": "异步函数或方法的返回类型必须为全局 Promise<T> 类型。你是否是指写入 \"Promise<{0}>\"?",
|
|
1449
1448
|
"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407": "\"for...in\" 语句右侧必须是 \"any\" 类型、对象类型或类型参数,但此处的类型为“{0}”。",
|
|
1450
1449
|
"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363": "算术运算右侧必须是 \"any\"、\"number\"、\"bigint\" 或枚举类型。",
|
|
1451
|
-
"The_right_hand_side_of_an_in_expression_must_not_be_a_primitive_2361": "\"in\" 表达式的右侧不得是基元。",
|
|
1452
1450
|
"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359": "\"instanceof\" 表达式的右侧必须属于类型 \"any\",或属于可分配给 \"Function\" 接口类型的类型。",
|
|
1453
1451
|
"The_root_value_of_a_0_file_must_be_an_object_5092": "“{0}”文件的根值必须是一个对象。",
|
|
1454
1452
|
"The_shadowing_declaration_of_0_is_defined_here_18017": "在此处定义了“{0}”的阴影声明",
|
|
@@ -1476,6 +1474,7 @@
|
|
|
1476
1474
|
"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "此 JSX 标记的 \"{0}\" 属性需要 \"{1}\" 类型的子级,但提供了多个子级。",
|
|
1477
1475
|
"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "此 JSX 标记的 \"{0}\" 属性需要类型 \"{1}\",该类型需要多个子级,但仅提供了一个子级。",
|
|
1478
1476
|
"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "此比较似乎是无意的,因为类型“{0}”和“{1}”没有重叠。",
|
|
1477
|
+
"This_condition_will_always_return_0_2845": "此条件将始终返回“{0}”。",
|
|
1479
1478
|
"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839": "此条件将始终返回“{0}”,因为 JavaScript 按引用而不是值比较对象。",
|
|
1480
1479
|
"This_condition_will_always_return_true_since_this_0_is_always_defined_2801": "此条件将始终返回 true,因为此“{0}”已始终定义。",
|
|
1481
1480
|
"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774": "此条件将始终返回 true,因为始终定义了函数。你是想改为调用它吗?",
|
|
@@ -1551,6 +1550,7 @@
|
|
|
1551
1550
|
"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2412": "类型 “{0}” 不能分配给“exactOptionalPropertyTypes: true”的类型 “{1}”。请考虑将 “undefined” 添加到目标类型。。",
|
|
1552
1551
|
"Type_0_is_not_comparable_to_type_1_2678": "类型“{0}”不可与类型“{1}”进行比较。",
|
|
1553
1552
|
"Type_0_is_not_generic_2315": "类型“{0}”不是泛型类型。",
|
|
1553
|
+
"Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operato_2638": "类型 \"{0}\" 可以表示基元值,该值不允许作为“in”运算符的右操作数。",
|
|
1554
1554
|
"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504": "类型“{0}”必须具有返回异步迭代器的 \"[Symbol.asyncIterator]()\" 方法。",
|
|
1555
1555
|
"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488": "类型“{0}”必须具有返回迭代器的 \"[Symbol.iterator]()\" 方法。",
|
|
1556
1556
|
"Type_0_provides_no_match_for_the_signature_1_2658": "类型“{0}”提供的内容与签名“{1}”不匹配。",
|
|
@@ -1649,6 +1649,8 @@
|
|
|
1649
1649
|
"Updating_output_of_project_0_6373": "正在更新项目 \"{0}\" 的输出…",
|
|
1650
1650
|
"Updating_output_timestamps_of_project_0_6359": "正在更新项目“{0}”的输出时间戳...",
|
|
1651
1651
|
"Updating_unchanged_output_timestamps_of_project_0_6371": "正在更新项目 \"{0}\" 未更改的输出时间戳…",
|
|
1652
|
+
"Use_0_95174": "使用 `{0}`",
|
|
1653
|
+
"Use_Number_isNaN_in_all_conditions_95175": "在所有条件下使用 `Number.isNaN`。",
|
|
1652
1654
|
"Use_element_access_for_0_95145": "对“{0}”使用元素访问",
|
|
1653
1655
|
"Use_element_access_for_all_undeclared_properties_95146": "对所有未声明的属性使用元素访问。",
|
|
1654
1656
|
"Use_synthetic_default_member_95016": "使用综合的“默认”成员。",
|
|
@@ -1474,6 +1474,7 @@
|
|
|
1474
1474
|
"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "此 JSX 標籤的 '{0}' 屬性只能有一個 '{1}' 類型的子系,但提供的子系卻有多個。",
|
|
1475
1475
|
"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "此 JSX 標籤的 '{0}' 屬性需要必須有多個子系的類型 '{1}',但僅提供的子系只有一個。",
|
|
1476
1476
|
"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "此比較似乎是無意的,因為類型 '{0}' 和 '{1}' 沒有重疊。",
|
|
1477
|
+
"This_condition_will_always_return_0_2845": "此條件一律傳回 '{0}'。",
|
|
1477
1478
|
"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839": "此條件一律會傳回 '{0}',因為 JavaScript 會依參照而非值比較物件。",
|
|
1478
1479
|
"This_condition_will_always_return_true_since_this_0_is_always_defined_2801": "因為此 '{0}' 一律會被定義,所以此條件一律傳回 True。",
|
|
1479
1480
|
"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774": "因為永遠會定義此函式,所以此條件永遠會傳回 true。您是要改為呼叫該條件嗎?",
|
|
@@ -1648,6 +1649,8 @@
|
|
|
1648
1649
|
"Updating_output_of_project_0_6373": "正在更新專案 '{0}' 的輸出...",
|
|
1649
1650
|
"Updating_output_timestamps_of_project_0_6359": "正在更新專案 '{0}' 的輸出時間戳記...",
|
|
1650
1651
|
"Updating_unchanged_output_timestamps_of_project_0_6371": "正在更新專案 '{0}' 的未更變輸出時間戳記...",
|
|
1652
|
+
"Use_0_95174": "使用 `{0}`。",
|
|
1653
|
+
"Use_Number_isNaN_in_all_conditions_95175": "在所有條件中都使用 'Number.isNaN'。",
|
|
1651
1654
|
"Use_element_access_for_0_95145": "對 '{0}' 使用元素存取",
|
|
1652
1655
|
"Use_element_access_for_all_undeclared_properties_95146": "對所有未宣告的屬性使用元素存取。",
|
|
1653
1656
|
"Use_synthetic_default_member_95016": "使用綜合 'default' 成員。",
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@typescript-deploys/pr-build",
|
|
3
3
|
"author": "Microsoft Corp.",
|
|
4
4
|
"homepage": "https://www.typescriptlang.org/",
|
|
5
|
-
"version": "4.9.0-pr-
|
|
5
|
+
"version": "4.9.0-pr-50903-10",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|