typescript 6.0.0-dev.20251031 → 6.0.0-dev.20251101

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/_tsc.js CHANGED
@@ -18,7 +18,7 @@ and limitations under the License.
18
18
 
19
19
  // src/compiler/corePublic.ts
20
20
  var versionMajorMinor = "6.0";
21
- var version = `${versionMajorMinor}.0-dev.20251031`;
21
+ var version = `${versionMajorMinor}.0-dev.20251101`;
22
22
 
23
23
  // src/compiler/core.ts
24
24
  var emptyArray = [];
@@ -65566,35 +65566,11 @@ function createTypeChecker(host) {
65566
65566
  /*reportErrors*/
65567
65567
  false
65568
65568
  ) : compareTypesIdentical(s, t);
65569
- } else if (variance === 1 /* Covariant */) {
65570
- related = isRelatedTo(
65571
- s,
65572
- t,
65573
- 3 /* Both */,
65574
- reportErrors2,
65575
- /*headMessage*/
65576
- void 0,
65577
- intersectionState
65578
- );
65579
- } else if (variance === 2 /* Contravariant */) {
65580
- related = isRelatedTo(
65581
- t,
65582
- s,
65583
- 3 /* Both */,
65584
- reportErrors2,
65585
- /*headMessage*/
65586
- void 0,
65587
- intersectionState
65588
- );
65589
- } else if (variance === 3 /* Bivariant */) {
65590
- related = isRelatedTo(
65591
- t,
65592
- s,
65593
- 3 /* Both */,
65594
- /*reportErrors*/
65595
- false
65596
- );
65597
- if (!related) {
65569
+ } else {
65570
+ if (inVarianceComputation && varianceFlags & 16 /* Unreliable */) {
65571
+ instantiateType(s, reportUnreliableMapper);
65572
+ }
65573
+ if (variance === 1 /* Covariant */) {
65598
65574
  related = isRelatedTo(
65599
65575
  s,
65600
65576
  t,
@@ -65604,19 +65580,8 @@ function createTypeChecker(host) {
65604
65580
  void 0,
65605
65581
  intersectionState
65606
65582
  );
65607
- }
65608
- } else {
65609
- related = isRelatedTo(
65610
- s,
65611
- t,
65612
- 3 /* Both */,
65613
- reportErrors2,
65614
- /*headMessage*/
65615
- void 0,
65616
- intersectionState
65617
- );
65618
- if (related) {
65619
- related &= isRelatedTo(
65583
+ } else if (variance === 2 /* Contravariant */) {
65584
+ related = isRelatedTo(
65620
65585
  t,
65621
65586
  s,
65622
65587
  3 /* Both */,
@@ -65625,6 +65590,46 @@ function createTypeChecker(host) {
65625
65590
  void 0,
65626
65591
  intersectionState
65627
65592
  );
65593
+ } else if (variance === 3 /* Bivariant */) {
65594
+ related = isRelatedTo(
65595
+ t,
65596
+ s,
65597
+ 3 /* Both */,
65598
+ /*reportErrors*/
65599
+ false
65600
+ );
65601
+ if (!related) {
65602
+ related = isRelatedTo(
65603
+ s,
65604
+ t,
65605
+ 3 /* Both */,
65606
+ reportErrors2,
65607
+ /*headMessage*/
65608
+ void 0,
65609
+ intersectionState
65610
+ );
65611
+ }
65612
+ } else {
65613
+ related = isRelatedTo(
65614
+ s,
65615
+ t,
65616
+ 3 /* Both */,
65617
+ reportErrors2,
65618
+ /*headMessage*/
65619
+ void 0,
65620
+ intersectionState
65621
+ );
65622
+ if (related) {
65623
+ related &= isRelatedTo(
65624
+ t,
65625
+ s,
65626
+ 3 /* Both */,
65627
+ reportErrors2,
65628
+ /*headMessage*/
65629
+ void 0,
65630
+ intersectionState
65631
+ );
65632
+ }
65628
65633
  }
65629
65634
  }
65630
65635
  if (!related) {
@@ -26,7 +26,7 @@
26
26
  "A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165": "Název počítané vlastnosti v ambientním kontextu musí odkazovat na výraz, jehož typ je literál nebo unique symbol.",
27
27
  "A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169": "Název počítané vlastnosti v rozhraní musí odkazovat na výraz, jehož typ je literál nebo unique symbol.",
28
28
  "A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464": "Název počítané vlastnosti musí být typu string, number, symbol nebo any.",
29
- "A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355": "Kontrolní výrazy const se dají použít jen pro odkazy na členy výčtu, řetězec, číslo, logickou hodnotu, pole nebo literály objektů.",
29
+ "A_const_assertion_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_o_1355": "Kontrolní výraz const lze použít pouze na odkazy na členy výčtu nebo na řetězce, čísla, logické hodnoty, pole nebo objektové literály.",
30
30
  "A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476": "Ke členu konstantního výčtu se dá získat přístup jenom pomocí řetězcového literálu.",
31
31
  "A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254": "Inicializátor const v ambientním kontextu musí být řetězec, číselný literál nebo odkaz na výčet literálů.",
32
32
  "A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005": "Konstruktor nemůže obsahovat volání super, pokud jeho třída rozšiřuje null.",
@@ -365,6 +365,7 @@
365
365
  "Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732": "Nepovedlo se najít modul {0}. Zvažte možnost importovat modul s příponou .json pomocí --resolveJsonModule.",
366
366
  "Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_t_2792": "Nepovedlo se najít modul „{0}“. Nechtěli jste nastavit možnost „moduleResolution“ na „nodenext“ nebo přidat do možnosti „paths“ aliasy?",
367
367
  "Cannot_find_module_0_or_its_corresponding_type_declarations_2307": "Nepovedlo se najít modul {0} nebo jeho odpovídající deklarace typů.",
368
+ "Cannot_find_module_or_type_declarations_for_side_effect_import_of_0_2882": "Nelze najít deklarace modulu nebo typu pro import vedlejšího efektu {0}.",
368
369
  "Cannot_find_name_0_2304": "Název {0} se nenašel.",
369
370
  "Cannot_find_name_0_Did_you_mean_1_2552": "Nepovedlo se najít název {0}. Měli jste na mysli {1}?",
370
371
  "Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663": "Název {0} se nedá najít. Měli jste na mysli člena instance this.{0}?",
@@ -1895,6 +1896,7 @@
1895
1896
  "Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625": "Element variadic na pozici {0} ve zdroji neodpovídá elementu na pozici {1} v cíli.",
1896
1897
  "Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_t_2637": "Poznámky Variance se podporují pouze u aliasů typů pro typy objektů, funkcí, konstruktorů a mapování.",
1897
1898
  "Version_0_6029": "Verze {0}",
1899
+ "Visit_https_Colon_Slash_Slashaka_ms_Slashts6_for_migration_information_5111": "Informace o migraci najdete na https://aka.ms/ts6.",
1898
1900
  "Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file_95110": "Další informace o tomto souboru si můžete přečíst na https://aka.ms/tsconfig",
1899
1901
  "WATCH_OPTIONS_6918": "MOŽNOSTI SLEDOVÁNÍ",
1900
1902
  "Watch_and_Build_Modes_6250": "Režimy sledování a sestavování",
@@ -2045,6 +2047,7 @@
2045
2047
  "extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020": "Klauzule extends exportované třídy {0} má nebo používá privátní název {1}.",
2046
2048
  "extends_clause_of_exported_class_has_or_is_using_private_name_0_4021": "Klauzule extends exportované třídy má nebo používá privátní název {0}.",
2047
2049
  "extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022": "Klauzule extends exportovaného rozhraní {0} má nebo používá privátní název {1}.",
2050
+ "false_unless_checkJs_is_set_6932": "„false“, pokud není nastavené „checkJs“.",
2048
2051
  "false_unless_composite_is_set_6906": "„false“, pokud není nastavené „composite“.",
2049
2052
  "false_unless_strict_is_set_6905": "„false“, pokud není nastavená hodnota „strict“.",
2050
2053
  "file_6025": "soubor",
@@ -2059,10 +2062,9 @@
2059
2062
  "infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338": "Deklarace infer jsou povolené jenom v klauzuli extends podmíněného typu.",
2060
2063
  "k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets_1510": "Po „\\k“ musí následovat název zachycující skupiny uzavřený do ostrých závorek.",
2061
2064
  "let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480": "Nepovoluje se používat let jako název v deklaracích let nebo const.",
2062
- "module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010": "module === `AMD` or `UMD` or `System` or `ES6`, then `Classic`, Otherwise `Node`",
2063
- "module_system_or_esModuleInterop_6904": "module === \"system\" or esModuleInterop",
2064
2065
  "new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009": "Výraz new s chybějící signaturou konstruktoru v cíli má implicitně typ any.",
2065
2066
  "node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified_6907": "[\"node_modules\", \"bower_components\", \"jspm_packages\"] a hodnotu „outDir“, pokud je zadána.",
2067
+ "nodenext_if_module_is_nodenext_node16_if_module_is_node16_or_node18_otherwise_bundler_69010": "`nodenext`, pokud je `module` nastaveno na `nodenext`; `node16`, pokud je `module` nastaveno na `node16` nebo `node18`; jinak `bundler`.",
2066
2068
  "one_of_Colon_6900": "jeden z:",
2067
2069
  "one_or_more_Colon_6901": "1 nebo více:",
2068
2070
  "options_6024": "možnosti",
@@ -26,7 +26,7 @@
26
26
  "A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165": "Un nome di proprietà calcolato in un contesto di ambiente deve fare riferimento a un'espressione il cui tipo è un tipo di valore letterale o un tipo 'unique symbol'.",
27
27
  "A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169": "Un nome di proprietà calcolato in un'interfaccia deve fare riferimento a un'espressione il cui tipo è un tipo di valore letterale o un tipo 'unique symbol'.",
28
28
  "A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464": "Un nome di proprietà calcolato deve essere di tipo 'string', 'number', 'symbol' o 'any'.",
29
- "A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355": "Le asserzioni 'const' possono essere applicate solo a riferimenti a membri di enumerazione oppure a valori letterali stringa, numerico, booleano, di oggetto o matrice.",
29
+ "A_const_assertion_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_o_1355": "Un'asserzione 'const' può essere applicata solo a riferimenti a membri di enumerazione oppure a valori letterali stringa, numerici, booleani, di oggetto o matrice.",
30
30
  "A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476": "È possibile accedere a un membro di enumerazione const solo tramite un valore letterale stringa.",
31
31
  "A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254": "Un inizializzatore 'const' in un contesto di ambiente deve essere un valore letterale numerico o stringa oppure un riferimento a un'enumerazione di valori letterali.",
32
32
  "A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005": "Un costruttore non può contenere una chiamata 'super' quando la relativa classe estende 'null'.",
@@ -365,6 +365,7 @@
365
365
  "Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732": "Non è possibile trovare il modulo '{0}'. Provare a usare '--resolveJsonModule' per importare il modulo con estensione '.json'.",
366
366
  "Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_t_2792": "Non è possibile trovare il modulo '{0}'. Si intendeva impostare l'opzione 'moduleResolution' su 'nodenext' o aggiungere alias all'opzione 'paths'?",
367
367
  "Cannot_find_module_0_or_its_corresponding_type_declarations_2307": "Non è possibile trovare il modulo '{0}' o le relative dichiarazioni di tipo corrispondenti.",
368
+ "Cannot_find_module_or_type_declarations_for_side_effect_import_of_0_2882": "Non è possibile trovare dichiarazioni di modulo o di tipo per l'importazione a effetto collaterale di '{0}'.",
368
369
  "Cannot_find_name_0_2304": "Il nome '{0}' non è stato trovato.",
369
370
  "Cannot_find_name_0_Did_you_mean_1_2552": "Il nome '{0}' non è stato trovato. Si intendeva '{1}'?",
370
371
  "Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663": "Il nome '{0}' non è stato trovato. Si intendeva il membro di istanza 'this.{0}'?",
@@ -1895,6 +1896,7 @@
1895
1896
  "Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625": "L'elemento variadic alla posizione {0} nell'origine non corrisponde all'elemento alla posizione {1} nella destinazione.",
1896
1897
  "Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_t_2637": "Le annotazioni di varianza sono supportate solo negli alias di tipo per oggetti, funzioni, costruttori e tipi mappati.",
1897
1898
  "Version_0_6029": "Versione {0}",
1899
+ "Visit_https_Colon_Slash_Slashaka_ms_Slashts6_for_migration_information_5111": "Per informazioni sulla migrazione, visitare https://aka.ms/ts6.",
1898
1900
  "Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file_95110": "Per altre informazioni su questo file, visitare https://aka.ms/tsconfig",
1899
1901
  "WATCH_OPTIONS_6918": "OPZIONI DELL'ESPRESSIONE DI CONTROLLO",
1900
1902
  "Watch_and_Build_Modes_6250": "Modalità di espressione di controllo e compilazione",
@@ -2045,6 +2047,7 @@
2045
2047
  "extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020": "La clausola 'extends' della classe esportata '{0}' contiene o usa il nome privato '{1}'.",
2046
2048
  "extends_clause_of_exported_class_has_or_is_using_private_name_0_4021": "La clausola 'extends' della classe esportata contiene o usa il nome privato '{0}'.",
2047
2049
  "extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022": "La clausola 'extends' dell'interfaccia esportata '{0}' contiene o usa il nome privato '{1}'.",
2050
+ "false_unless_checkJs_is_set_6932": "''false'', a meno che non sia impostato ''checkJs''",
2048
2051
  "false_unless_composite_is_set_6906": "`false`, a meno che non sia impostato `composite`",
2049
2052
  "false_unless_strict_is_set_6905": "`false`, a meno che non sia impostato `strict`",
2050
2053
  "file_6025": "file",
@@ -2059,10 +2062,9 @@
2059
2062
  "infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338": "Le dichiarazioni 'infer' sono consentite solo nella clausola 'extends' di un tipo condizionale.",
2060
2063
  "k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets_1510": "'\\k' deve essere seguito da un nome di gruppo di acquisizione racchiuso tra parentesi acute.",
2061
2064
  "let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480": "Non è consentito usare 'let' come nome in dichiarazioni 'let' o 'const'.",
2062
- "module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010": "module === `AMD` o `UMD` o `System` o `ES6`, quindi `Classic`; in caso contrario `Node`",
2063
- "module_system_or_esModuleInterop_6904": "module === \"system\" o esModuleInterop",
2064
2065
  "new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009": "L'espressione 'new', nella cui destinazione manca una firma del costrutto, contiene implicitamente un tipo 'any'.",
2065
2066
  "node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified_6907": "`[\"node_modules\", \"bower_components\", \"jspm_packages\"]`, nonché il valore di `outDir` se ne è specificato uno.",
2067
+ "nodenext_if_module_is_nodenext_node16_if_module_is_node16_or_node18_otherwise_bundler_69010": "''nodenext'' se ''module'' è ''nodenext''; ''node16'' se ''module'' è ''node16'' o ''node18''; in caso contrario, ''bundler''.",
2066
2068
  "one_of_Colon_6900": "uno di:",
2067
2069
  "one_or_more_Colon_6901": "uno o più:",
2068
2070
  "options_6024": "opzioni",
@@ -1896,6 +1896,7 @@
1896
1896
  "Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625": "소스의 {0} 위치에 있는 가변 인자 요소가 대상의 {1} 위치에 있는 요소와 일치하지 않습니다.",
1897
1897
  "Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_t_2637": "차이 주석은 개체, 함수, 생성자 및 매핑된 형식의 형식 별칭에서만 지원됩니다.",
1898
1898
  "Version_0_6029": "버전 {0}",
1899
+ "Visit_https_Colon_Slash_Slashaka_ms_Slashts6_for_migration_information_5111": "마이그레이션 정보를 보려면 https://aka.ms/ts6을 방문하세요.",
1899
1900
  "Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file_95110": "이 파일에 대해 자세히 알아보려면 https://aka.ms/tsconfig을 방문하세요.",
1900
1901
  "WATCH_OPTIONS_6918": "조사식 옵션",
1901
1902
  "Watch_and_Build_Modes_6250": "시청 및 빌드 모드",
@@ -2046,6 +2047,7 @@
2046
2047
  "extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020": "내보낸 클래스 '{0}'의 Extends 절이 프라이빗 이름 '{1}'을(를) 가지고 있거나 사용 중입니다.",
2047
2048
  "extends_clause_of_exported_class_has_or_is_using_private_name_0_4021": "내보낸 클래스의 'extends' 절이 프라이빗 이름 '{0}'을(를) 가지고 있거나 사용 중입니다.",
2048
2049
  "extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022": "내보낸 인터페이스 '{0}'의 Extends 절이 프라이빗 이름 '{1}'을(를) 가지고 있거나 사용 중입니다.",
2050
+ "false_unless_checkJs_is_set_6932": "'checkJs'가 설정되지 않은 한 'false'입니다.",
2049
2051
  "false_unless_composite_is_set_6906": "'composite'가 설정되지 않은 한 'false'입니다.",
2050
2052
  "false_unless_strict_is_set_6905": "'strict'가 설정되지 않은 한 'false'입니다.",
2051
2053
  "file_6025": "파일",
@@ -2060,10 +2062,9 @@
2060
2062
  "infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338": "'infer' 선언은 조건 형식의 'extends' 절에서만 사용할 수 있습니다.",
2061
2063
  "k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets_1510": "'\\k' 뒤에는 꺾쇠 괄호로 묶인 캡처 그룹 이름이 와야 합니다.",
2062
2064
  "let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480": "'let'은 'let' 또는 'const' 선언에서 이름으로 사용할 수 없습니다.",
2063
- "module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010": "모듈 === 'AMD' 또는 'UMD' 또는 'System' 또는 'ES6', 'Classic', 그렇지 않으면 'Node'",
2064
- "module_system_or_esModuleInterop_6904": "모듈 === \"system\" 또는 esModuleInterop",
2065
2065
  "new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009": "대상에 구문 시그니처가 없는 'new' 식에는 암시적으로 'any' 형식이 포함됩니다.",
2066
2066
  "node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified_6907": "'[\"node_modules\", \"bower_components\", \"jspm_packages\"]', 지정한 경우 'outDir' 값이 추가됩니다.",
2067
+ "nodenext_if_module_is_nodenext_node16_if_module_is_node16_or_node18_otherwise_bundler_69010": "`module`이 `nodenext`이면 `nodenext`, `module`이 `node16` 또는 `node18`이면 `node16`, 그 외에는 `bundler`입니다.",
2067
2068
  "one_of_Colon_6900": "다음 중 하나:",
2068
2069
  "one_or_more_Colon_6901": "하나 이상:",
2069
2070
  "options_6024": "옵션",
@@ -1896,6 +1896,7 @@
1896
1896
  "Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625": "O elemento variádico na posição {0} na fonte não corresponde ao elemento na posição {1} no destino.",
1897
1897
  "Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_t_2637": "Só há suporte para anotações de variação em aliases do tipo para objetos, funções, construtores e tipos mapeados.",
1898
1898
  "Version_0_6029": "Versão {0}",
1899
+ "Visit_https_Colon_Slash_Slashaka_ms_Slashts6_for_migration_information_5111": "Visite https://aka.ms/ts6 para obter informações de migração.",
1899
1900
  "Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file_95110": "Visite https://aka.ms/tsconfig para ler mais sobre este arquivo",
1900
1901
  "WATCH_OPTIONS_6918": "OPÇÕES DE INSPEÇÃO",
1901
1902
  "Watch_and_Build_Modes_6250": "Modos Inspeção e Compilação",
@@ -2046,6 +2047,7 @@
2046
2047
  "extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020": "A cláusula 'extends' da classe exportada '{0}' tem ou está usando o nome particular '{1}'.",
2047
2048
  "extends_clause_of_exported_class_has_or_is_using_private_name_0_4021": "A cláusula 'extends' da classe exportada tem ou está usando o nome particular '{0}'.",
2048
2049
  "extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022": "A cláusula 'extends' da interface exportada '{0}' tem ou está usando o nome particular '{1}'.",
2050
+ "false_unless_checkJs_is_set_6932": "“false”, a menos que “checkJs” esteja definido",
2049
2051
  "false_unless_composite_is_set_6906": "`false`, a menos que `composite` esteja definido",
2050
2052
  "false_unless_strict_is_set_6905": "`false`, a menos que `strict` esteja definido",
2051
2053
  "file_6025": "arquivo",
@@ -2060,10 +2062,9 @@
2060
2062
  "infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338": "As declarações 'infer' só são permitidas na cláusula 'extends' de um tipo condicional.",
2061
2063
  "k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets_1510": "'\\k' deve ser seguido por um nome de grupo de captura entre colchetes angulares.",
2062
2064
  "let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480": "O uso de 'let' não é permitido como um nome em declarações 'let' ou 'const'.",
2063
- "module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010": "módulo === `AMD` ou `UMD` ou `System` ou `ES6` e `Classic`. Caso contrário, `Node`",
2064
- "module_system_or_esModuleInterop_6904": "módulo === \"system\" ou esModuleInterop",
2065
2065
  "new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009": "A expressão 'new', cujo destino não tem uma assinatura de constructo, implicitamente tem um tipo 'any'.",
2066
2066
  "node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified_6907": "`[\" node_modules \",\" bower_components \",\" jspm_packages \"]`, mais o valor de `outDir`, caso seja especificado.",
2067
+ "nodenext_if_module_is_nodenext_node16_if_module_is_node16_or_node18_otherwise_bundler_69010": "“nodenext” se “module” for “nodenext”; “node16” se “module” for “node16” ou “node18”; caso contrário, “bundler”.",
2067
2068
  "one_of_Colon_6900": "um dos:",
2068
2069
  "one_or_more_Colon_6901": "um ou mais:",
2069
2070
  "options_6024": "opções",
@@ -26,7 +26,7 @@
26
26
  "A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165": "Имя вычисляемого свойства в окружающем контексте должно ссылаться на выражение, тип которого — литерал или \"unique symbol\".",
27
27
  "A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169": "Имя вычисляемого свойства в интерфейсе должно ссылаться на выражение, тип которого — литерал или \"unique symbol\".",
28
28
  "A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464": "Имя вычисляемого свойства должно иметь тип string, number, symbol или any.",
29
- "A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355": "Утверждения \"const\" могут применяться только к ссылкам на члены перечисления либо к строковым, числовым, логическим литералам, литералам массивов или объектов.",
29
+ "A_const_assertion_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_o_1355": "Утверждение \"const\" может применяться только к ссылкам на элементы перечисления либо к строковым, числовым, логическим литералам, литералам массивов или объектов.",
30
30
  "A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476": "Доступ к элементу перечисления констант может осуществляться только с использованием строкового литерала.",
31
31
  "A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254": "Инициализатор \"const\" во внешнем контексте должен быть строкой или числовым литералом либо ссылкой на литеральное перечисление.",
32
32
  "A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005": "Конструктор не может содержать вызов \"super\", если его класс расширяет \"null\".",
@@ -365,6 +365,7 @@
365
365
  "Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732": "Не удается найти модуль \"{0}\". Рекомендуется использовать параметр \"--resolveJsonModule\" для импорта модуля с расширением \".json\".",
366
366
  "Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_t_2792": "Не найден модуль \"{0}\". Вы имели в виду установить для параметра \"moduleResolution\" значение \"nodenext\" или добавить псевдонимы к параметру \"paths\"?",
367
367
  "Cannot_find_module_0_or_its_corresponding_type_declarations_2307": "Не удается найти модуль \"{0}\" или связанные с ним объявления типов.",
368
+ "Cannot_find_module_or_type_declarations_for_side_effect_import_of_0_2882": "Не удается найти объявления модуля или типа для импорта с побочным эффектом \"{0}\".",
368
369
  "Cannot_find_name_0_2304": "Не удается найти имя \"{0}\".",
369
370
  "Cannot_find_name_0_Did_you_mean_1_2552": "Не удается найти имя \"{0}\". Вы имели в виду \"{1}\"?",
370
371
  "Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663": "Не удается найти имя \"{0}\". Возможно, вы имели в виду элемент экземпляра \"this.{0}\"?",
@@ -1895,6 +1896,7 @@
1895
1896
  "Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625": "Элемент с переменным числом аргументов в позиции {0} в источнике не соответствует элементу в позиции {1} в целевом объекте.",
1896
1897
  "Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_t_2637": "Заметки вариантности поддерживаются только в псевдонимах типов для объектов, функций, конструкторов и сопоставленных типов.",
1897
1898
  "Version_0_6029": "Версия {0}",
1899
+ "Visit_https_Colon_Slash_Slashaka_ms_Slashts6_for_migration_information_5111": "Посетите https://aka.ms/ts6 для получения сведений о миграции.",
1898
1900
  "Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file_95110": "Дополнительные сведения об этом файле: https://aka.ms/tsconfig.",
1899
1901
  "WATCH_OPTIONS_6918": "ПАРАМЕТРЫ ПРОСМОТРА",
1900
1902
  "Watch_and_Build_Modes_6250": "Режимы отслеживания и сборки",
@@ -2045,6 +2047,7 @@
2045
2047
  "extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020": "Предложение extends экспортированного класса \"{0}\" имеет или использует закрытое имя \"{1}\".",
2046
2048
  "extends_clause_of_exported_class_has_or_is_using_private_name_0_4021": "Предложение extends экспортированного класса имеет или использует закрытое имя \"{0}\".",
2047
2049
  "extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022": "Предложение extends экспортированного интерфейса \"{0}\" имеет или использует закрытое имя \"{1}\".",
2050
+ "false_unless_checkJs_is_set_6932": "\"false\", если не задано значение \"checkJs\"",
2048
2051
  "false_unless_composite_is_set_6906": "\"false\", если не задано значение \"composite\"",
2049
2052
  "false_unless_strict_is_set_6905": "\"false\", если не задано \"strict\"",
2050
2053
  "file_6025": "файл",
@@ -2059,10 +2062,9 @@
2059
2062
  "infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338": "Объявления \"infer\" допустимы только в предложении \"extends\" условного типа.",
2060
2063
  "k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets_1510": "За '\\k' должно следовать имя группы захвата, заключенное в угловые скобки.",
2061
2064
  "let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480": "Не допускается использование let в качестве имени в объявлениях let или const.",
2062
- "module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010": "модуль === \"AMD\" или \"UMD\" или \"Система\" или \"ES6\", затем \"Классический\", или \"Узел\"",
2063
- "module_system_or_esModuleInterop_6904": "модуль === \"system\" или \"esModuleInterop\"",
2064
2065
  "new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009": "Выражение new, у цели которого нет сигнатуры конструктора, неявно имеет тип any.",
2065
2066
  "node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified_6907": "\"[\"node_modules\", \"bower_components\", \"jspm_packages\"]\" и значение \"outDir\", если оно указано.",
2067
+ "nodenext_if_module_is_nodenext_node16_if_module_is_node16_or_node18_otherwise_bundler_69010": "\"nodenext\", если \"module\" — \"nodenext\"; \"node16\", если \"module\" — \"node16\" или \"node18\"; в противном случае — \"bundler\".",
2066
2068
  "one_of_Colon_6900": "один из:",
2067
2069
  "one_or_more_Colon_6901": "один или более:",
2068
2070
  "options_6024": "параметры",
@@ -26,7 +26,7 @@
26
26
  "A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165": "Bir çevresel bağlamdaki hesaplanan özellik adı, sabit değer türündeki veya 'unique symbol' türündeki bir ifadeye başvurmalıdır.",
27
27
  "A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169": "Bir arabirimdeki hesaplanan özellik adı, sabit değer türündeki veya 'unique symbol' türündeki bir ifadeye başvurmalıdır.",
28
28
  "A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464": "Hesaplanan özellik adı 'string', 'number', 'symbol' veya 'any' türünde olmalıdır.",
29
- "A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355": "'const' onaylamaları yalnızca sabit listesi üyelerine veya dize, sayı, Boolean, dizi ya da nesne sabit değerlerine yönelik başvurulara uygulanabilir.",
29
+ "A_const_assertion_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_o_1355": "'const' onaylamasu yalnızca sabit listesi üyelerine veya dize, sayı, Boolean, dizi ya da nesne sabit değerlerine yönelik başvurulara uygulanabilir.",
30
30
  "A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476": "const numaralandırma üyesine yalnızca dize sabit değeri kullanılarak erişilebilir.",
31
31
  "A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254": "Çevresel bağlamdaki 'const' başlatıcısı bir dize veya sayısal sabit değer ya da sabit değer sabit listesi başvurusu olmalıdır.",
32
32
  "A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005": "Sınıfı 'null' değerini aşan bir oluşturucu 'super' çağrısını içeremez.",
@@ -365,6 +365,7 @@
365
365
  "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.",
366
366
  "Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_t_2792": "'{0}' modülü bulunamıyor. 'moduleResolution' seçeneğini 'nodenext' olarak ayarlamak veya 'paths' seçeneğine diğer adlar eklemek mi istediniz?",
367
367
  "Cannot_find_module_0_or_its_corresponding_type_declarations_2307": "'{0}' modülü veya karşılık gelen tür bildirimleri bulunamıyor.",
368
+ "Cannot_find_module_or_type_declarations_for_side_effect_import_of_0_2882": "'{0}' yan etkili içe aktarma için modül veya tür bildirimleri bulunamadı.",
368
369
  "Cannot_find_name_0_2304": "'{0}' adı bulunamıyor.",
369
370
  "Cannot_find_name_0_Did_you_mean_1_2552": "'{0}' adı bulunamıyor. Bunu mu demek istediniz: '{1}'?",
370
371
  "Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663": "'{0}' adı bulunamıyor. 'this.{0}' örnek üyesini mi aradınız?",
@@ -1895,6 +1896,7 @@
1895
1896
  "Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625": "Kaynaktaki {0} konumunda bulunan değişen sayıda bağımsız değişken içeren öğe, hedefteki {1} konumunda bulunan öğeyle eşleşmiyor.",
1896
1897
  "Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_t_2637": "Varyans ek açıklamaları yalnızca nesne, işlev, oluşturucu ve eşlenen türler için tür diğer adlarında desteklenir.",
1897
1898
  "Version_0_6029": "Sürüm {0}",
1899
+ "Visit_https_Colon_Slash_Slashaka_ms_Slashts6_for_migration_information_5111": "Geçiş bilgileri için https://aka.ms/ts6 adresini ziyaret edin.",
1898
1900
  "Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file_95110": "Bu dosya hakkında daha fazla bilgi için https://aka.ms/tsconfig sayfasını ziyaret edin",
1899
1901
  "WATCH_OPTIONS_6918": "İZLEME SEÇENEKLERİ",
1900
1902
  "Watch_and_Build_Modes_6250": "İzleme ve Derleme Modları",
@@ -2045,6 +2047,7 @@
2045
2047
  "extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020": "Dışarı aktarılan '{0}' sınıfının 'extends' yan tümcesi, '{1}' özel adına sahip veya bu adı kullanıyor.",
2046
2048
  "extends_clause_of_exported_class_has_or_is_using_private_name_0_4021": "Dışarı aktarılan sınıfın 'extends' yan tümcesi, '{0}' özel adına sahip veya bu adı kullanıyor.",
2047
2049
  "extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022": "Dışarı aktarılan '{0}' arabiriminin 'extends' yan tümcesi, '{1}' özel adına sahip veya bu adı kullanıyor.",
2050
+ "false_unless_checkJs_is_set_6932": "`checkJs` ayarlanmadıkça `false`",
2048
2051
  "false_unless_composite_is_set_6906": "'Kompozit' ayarlanmamışsa 'false'",
2049
2052
  "false_unless_strict_is_set_6905": "'Katı' ayarlanmamışsa 'false'",
2050
2053
  "file_6025": "dosya",
@@ -2059,10 +2062,9 @@
2059
2062
  "infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338": "'infer' bildirimlerine yalnızca bir koşullu türün 'extends' yan tümcesinde izin verilir.",
2060
2063
  "k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets_1510": "'\\k' ifadesinden sonra açılı ayraçlar içine alınmış bir yakalama grubu adı gelmelidir.",
2061
2064
  "let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480": "'let' ifadesi, 'let' veya 'const' bildirimlerinde ad olarak kullanılamaz.",
2062
- "module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010": "module === 'AMD' veya 'UMD' veya 'Sistem' veya 'ES6' ve ardından 'Klasik', aksi durumda 'Node'",
2063
- "module_system_or_esModuleInterop_6904": "module === \"sistem\" veya esModuleInterop",
2064
2065
  "new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009": "Yapı imzası bulunmayan 'new' ifadesi örtük olarak 'any' türüne sahip.",
2065
2066
  "node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified_6907": "`[\"node_modules\", \"bower_components\", \"jspm_packages\"]` ve belirtilmişse ek olarak `outDir`.",
2067
+ "nodenext_if_module_is_nodenext_node16_if_module_is_node16_or_node18_otherwise_bundler_69010": "`module` değeri `nodenext` ise `nodenext`; `module` değeri `node16` veya `node18` ise `node16`; aksi takdirde `bundler`.",
2066
2068
  "one_of_Colon_6900": "şunlardan biri:",
2067
2069
  "one_or_more_Colon_6901": "bir veya daha fazla:",
2068
2070
  "options_6024": "seçenekler",
package/lib/typescript.js CHANGED
@@ -2286,7 +2286,7 @@ module.exports = __toCommonJS(typescript_exports);
2286
2286
 
2287
2287
  // src/compiler/corePublic.ts
2288
2288
  var versionMajorMinor = "6.0";
2289
- var version = `${versionMajorMinor}.0-dev.20251031`;
2289
+ var version = `${versionMajorMinor}.0-dev.20251101`;
2290
2290
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
2291
2291
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
2292
2292
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -70172,35 +70172,11 @@ function createTypeChecker(host) {
70172
70172
  /*reportErrors*/
70173
70173
  false
70174
70174
  ) : compareTypesIdentical(s, t);
70175
- } else if (variance === 1 /* Covariant */) {
70176
- related = isRelatedTo(
70177
- s,
70178
- t,
70179
- 3 /* Both */,
70180
- reportErrors2,
70181
- /*headMessage*/
70182
- void 0,
70183
- intersectionState
70184
- );
70185
- } else if (variance === 2 /* Contravariant */) {
70186
- related = isRelatedTo(
70187
- t,
70188
- s,
70189
- 3 /* Both */,
70190
- reportErrors2,
70191
- /*headMessage*/
70192
- void 0,
70193
- intersectionState
70194
- );
70195
- } else if (variance === 3 /* Bivariant */) {
70196
- related = isRelatedTo(
70197
- t,
70198
- s,
70199
- 3 /* Both */,
70200
- /*reportErrors*/
70201
- false
70202
- );
70203
- if (!related) {
70175
+ } else {
70176
+ if (inVarianceComputation && varianceFlags & 16 /* Unreliable */) {
70177
+ instantiateType(s, reportUnreliableMapper);
70178
+ }
70179
+ if (variance === 1 /* Covariant */) {
70204
70180
  related = isRelatedTo(
70205
70181
  s,
70206
70182
  t,
@@ -70210,19 +70186,8 @@ function createTypeChecker(host) {
70210
70186
  void 0,
70211
70187
  intersectionState
70212
70188
  );
70213
- }
70214
- } else {
70215
- related = isRelatedTo(
70216
- s,
70217
- t,
70218
- 3 /* Both */,
70219
- reportErrors2,
70220
- /*headMessage*/
70221
- void 0,
70222
- intersectionState
70223
- );
70224
- if (related) {
70225
- related &= isRelatedTo(
70189
+ } else if (variance === 2 /* Contravariant */) {
70190
+ related = isRelatedTo(
70226
70191
  t,
70227
70192
  s,
70228
70193
  3 /* Both */,
@@ -70231,6 +70196,46 @@ function createTypeChecker(host) {
70231
70196
  void 0,
70232
70197
  intersectionState
70233
70198
  );
70199
+ } else if (variance === 3 /* Bivariant */) {
70200
+ related = isRelatedTo(
70201
+ t,
70202
+ s,
70203
+ 3 /* Both */,
70204
+ /*reportErrors*/
70205
+ false
70206
+ );
70207
+ if (!related) {
70208
+ related = isRelatedTo(
70209
+ s,
70210
+ t,
70211
+ 3 /* Both */,
70212
+ reportErrors2,
70213
+ /*headMessage*/
70214
+ void 0,
70215
+ intersectionState
70216
+ );
70217
+ }
70218
+ } else {
70219
+ related = isRelatedTo(
70220
+ s,
70221
+ t,
70222
+ 3 /* Both */,
70223
+ reportErrors2,
70224
+ /*headMessage*/
70225
+ void 0,
70226
+ intersectionState
70227
+ );
70228
+ if (related) {
70229
+ related &= isRelatedTo(
70230
+ t,
70231
+ s,
70232
+ 3 /* Both */,
70233
+ reportErrors2,
70234
+ /*headMessage*/
70235
+ void 0,
70236
+ intersectionState
70237
+ );
70238
+ }
70234
70239
  }
70235
70240
  }
70236
70241
  if (!related) {
@@ -26,7 +26,7 @@
26
26
  "A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165": "环境上下文中的计算属性名称必须引用类型为文本类型或 \"unique symbol\" 类型的表达式。",
27
27
  "A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169": "接口中的计算属性名称必须引用必须引用类型为文本类型或 \"unique symbol\" 的表达式。",
28
28
  "A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464": "计算属性名的类型必须为 \"string\"、\"number\"、\"symbol\" 或 \"any\"。",
29
- "A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355": "'const' 断言只能作用于枚举成员、字符串、数字、布尔值、数组或对象字面量。",
29
+ "A_const_assertion_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_o_1355": "\"const\" 断言只能作用于枚举成员、字符串、数字、布尔值、数组或对象字面量。",
30
30
  "A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476": "只有使用字符串文本才能访问常数枚举成员。",
31
31
  "A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254": "环境上下文中的 \"const\" 初始化表达式必须为字符串、数字文本或文本枚举引用。",
32
32
  "A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005": "当构造函数的类扩展 \"null\" 时,它不能包含 \"super\" 调用。",
@@ -365,6 +365,7 @@
365
365
  "Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732": "找不到模块“{0}”。请考虑使用 \"--resolveJsonModule\" 导入带 \".json\" 扩展的模块。",
366
366
  "Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_t_2792": "找不到模块“{0}”。你的意思是要将 \"moduleResolution\" 选项设置为 \"nodenext\",还是要将别名添加到 \"paths\" 选项中?",
367
367
  "Cannot_find_module_0_or_its_corresponding_type_declarations_2307": "找不到模块“{0}”或其相应的类型声明。",
368
+ "Cannot_find_module_or_type_declarations_for_side_effect_import_of_0_2882": "找不到“{0}”的副作用导入的模块或类型声明。",
368
369
  "Cannot_find_name_0_2304": "找不到名称“{0}”。",
369
370
  "Cannot_find_name_0_Did_you_mean_1_2552": "找不到名称“{0}”。你是否指的是“{1}”?",
370
371
  "Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663": "找不到名称“{0}”。你的意思是实例成员“this.{0}”?",
@@ -1895,6 +1896,7 @@
1895
1896
  "Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625": "源中位置 {0} 的可变元素与目标中位置 {1} 的元素不匹配。",
1896
1897
  "Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_t_2637": "仅对象、函数、构造函数、映射类型的类型别名支持方差注释。",
1897
1898
  "Version_0_6029": "版本 {0}",
1899
+ "Visit_https_Colon_Slash_Slashaka_ms_Slashts6_for_migration_information_5111": "请访问 https://aka.ms/ts6 以获取迁移信息。",
1898
1900
  "Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file_95110": "请访问 https://aka.ms/tsconfig,了解有关此文件的详细信息",
1899
1901
  "WATCH_OPTIONS_6918": "监视选项",
1900
1902
  "Watch_and_Build_Modes_6250": "观看和生成模式",
@@ -2045,6 +2047,7 @@
2045
2047
  "extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020": "导出的类“{0}”的 \"extends\" 子句具有或正在使用专用名称“{1}”。",
2046
2048
  "extends_clause_of_exported_class_has_or_is_using_private_name_0_4021": "导出的类的 \"extends\" 子句具有或正在使用专用名称“{0}”。",
2047
2049
  "extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022": "导出接口“{0}”的 \"extends\" 子句具有或正在使用专用名称“{1}”。",
2050
+ "false_unless_checkJs_is_set_6932": "为 `false`,除非设置了 `checkJs`",
2048
2051
  "false_unless_composite_is_set_6906": "\"false\",除非设置了 \"composite\"",
2049
2052
  "false_unless_strict_is_set_6905": "\"false\",除非设置了 \"strict\"",
2050
2053
  "file_6025": "文件",
@@ -2059,10 +2062,9 @@
2059
2062
  "infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338": "仅条件类型的 \"extends\" 子句中才允许 \"infer\" 声明。",
2060
2063
  "k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets_1510": "\"\\k\" 后面必须有一个括在尖括号中的捕获组名称。",
2061
2064
  "let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480": "\"let\" 不能用作 \"let\" 或 \"const\" 声明中的名称。",
2062
- "module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010": "module === 'AMD' 或 'UMD' 或 'System' 或 'ES6',然后 'Classic', 否则为 'Node'",
2063
- "module_system_or_esModuleInterop_6904": "module === \"system\" 或 esModuleInterop",
2064
2065
  "new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009": "其目标缺少构造签名的 \"new\" 表达式隐式具有 \"any\" 类型。",
2065
2066
  "node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified_6907": "`[\"node_modules\"、\"bower_components\"、\"jspm_packages\"]`,以及 \"outDir\" 的值(如果指定)。",
2067
+ "nodenext_if_module_is_nodenext_node16_if_module_is_node16_or_node18_otherwise_bundler_69010": "如果 `module` 是 `nodenext`,则为 `nodenext`;如果 `module` 是 `node16` 或 `node18`,则为 `node16`;否则为 `bundler`。",
2066
2068
  "one_of_Colon_6900": "以下其中一个:",
2067
2069
  "one_or_more_Colon_6901": "一个或更多:",
2068
2070
  "options_6024": "选项",
@@ -1896,6 +1896,7 @@
1896
1896
  "Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625": "來源中位於 {0} 的可變元素與目標中位於 {1} 的元素不相符。",
1897
1897
  "Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_t_2637": "只有物件、函式、建構函式和對應類型的類型別名才支援差異註釋。",
1898
1898
  "Version_0_6029": "版本 {0}",
1899
+ "Visit_https_Colon_Slash_Slashaka_ms_Slashts6_for_migration_information_5111": "請造訪 https://aka.ms/ts6 以取得移轉資訊。",
1899
1900
  "Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file_95110": "瀏覽 https://aka.ms/tsconfig 以閱讀此檔案的詳細資訊",
1900
1901
  "WATCH_OPTIONS_6918": "監看式選項",
1901
1902
  "Watch_and_Build_Modes_6250": "觀看及建置模式",
@@ -2046,6 +2047,7 @@
2046
2047
  "extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020": "匯出類別 '{0}' 的 'extends' 子句具有或使用私用名稱 '{1}'。",
2047
2048
  "extends_clause_of_exported_class_has_or_is_using_private_name_0_4021": "匯出類別的 'extends' 子句包含或使用了私人名稱 '{0}'。",
2048
2049
  "extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022": "匯出介面 '{0}' 的 'extends' 子句具有或使用私用名稱 '{1}'。",
2050
+ "false_unless_checkJs_is_set_6932": "'false',除非已設定 'checkJs'",
2049
2051
  "false_unless_composite_is_set_6906": "`false`,除非已設定 `composite`",
2050
2052
  "false_unless_strict_is_set_6905": "`false`,除非已設定 `strict`",
2051
2053
  "file_6025": "檔案",
@@ -2060,10 +2062,9 @@
2060
2062
  "infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338": "只允許在條件式類型的 'extends' 子句中使用 'infer' 宣告。",
2061
2063
  "k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets_1510": "'\\k' 後必須是以角括弧括住的擷取群組名稱。",
2062
2064
  "let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480": "'let' 或 'const' 宣告中不得使用 'let' 作為名稱。",
2063
- "module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010": "模組 === `AMD` 或 `UMD` 或 `System` 或 `ES6`,則為 `Classic`,否則為 `Node`",
2064
- "module_system_or_esModuleInterop_6904": "模組 === \"system\" 或 esModuleInterop",
2065
2065
  "new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009": "目標缺少建構簽章的 'new' 運算式隱含了 'any' 類型。",
2066
2066
  "node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified_6907": "`[\"node_modules\", \"bower_components\", \"jspm_packages\"]`,加上 `outDir` 的值 (如果有指定)。",
2067
+ "nodenext_if_module_is_nodenext_node16_if_module_is_node16_or_node18_otherwise_bundler_69010": "如果 `module` 是 `nodenext`,則為 `nodenext`; 如果 `module` 是 `node16` 或 `node18`,則為 `node16`; 否則為 `bundler`。",
2067
2068
  "one_of_Colon_6900": "以下其中一個:",
2068
2069
  "one_or_more_Colon_6901": "以下一或多個:",
2069
2070
  "options_6024": "選項",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "typescript",
3
3
  "author": "Microsoft Corp.",
4
4
  "homepage": "https://www.typescriptlang.org/",
5
- "version": "6.0.0-dev.20251031",
5
+ "version": "6.0.0-dev.20251101",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [
@@ -115,5 +115,5 @@
115
115
  "node": "20.1.0",
116
116
  "npm": "8.19.4"
117
117
  },
118
- "gitHead": "ac7825c48476a39aeeb7ea519d416c5d77fc34b8"
118
+ "gitHead": "1654ebfb54facadb3a0468ced0ca779ee323c7e5"
119
119
  }