typescript 6.0.0-dev.20251204 → 6.0.0-dev.20251206

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.20251204`;
21
+ var version = `${versionMajorMinor}.0-dev.20251206`;
22
22
 
23
23
  // src/compiler/core.ts
24
24
  var emptyArray = [];
@@ -47206,7 +47206,6 @@ function createTypeChecker(host) {
47206
47206
  }
47207
47207
  };
47208
47208
  var anyIterationTypes = createIterationTypes(anyType, anyType, anyType);
47209
- var silentNeverIterationTypes = createIterationTypes(silentNeverType, silentNeverType, silentNeverType);
47210
47209
  var asyncIterationTypesResolver = {
47211
47210
  iterableCacheKey: "iterationTypesOfAsyncIterable",
47212
47211
  iteratorCacheKey: "iterationTypesOfAsyncIterator",
@@ -47729,7 +47728,9 @@ function createTypeChecker(host) {
47729
47728
  const targetSymbol = target.get(id);
47730
47729
  const merged = targetSymbol ? mergeSymbol(targetSymbol, sourceSymbol, unidirectional) : getMergedSymbol(sourceSymbol);
47731
47730
  if (mergedParent && targetSymbol) {
47732
- merged.parent = mergedParent;
47731
+ if (merged.flags & 33554432 /* Transient */) {
47732
+ merged.parent = mergedParent;
47733
+ }
47733
47734
  }
47734
47735
  target.set(id, merged);
47735
47736
  });
@@ -68283,7 +68284,7 @@ function createTypeChecker(host) {
68283
68284
  const templateType = getTemplateTypeFromMappedType(target);
68284
68285
  const inference = createInferenceInfo(typeParameter);
68285
68286
  inferTypes([inference], sourceType, templateType);
68286
- return getTypeFromInference(inference) || unknownType;
68287
+ return getWidenedType(getTypeFromInference(inference) || unknownType);
68287
68288
  }
68288
68289
  function inferReverseMappedType(source, target, constraint) {
68289
68290
  const cacheKey = source.id + "," + target.id + "," + constraint.id;
@@ -78710,7 +78711,7 @@ function createTypeChecker(host) {
78710
78711
  const nextTypes = [];
78711
78712
  const isAsync = (getFunctionFlags(func) & 2 /* Async */) !== 0;
78712
78713
  forEachYieldExpression(func.body, (yieldExpression) => {
78713
- let yieldExpressionType = yieldExpression.expression ? checkExpression(yieldExpression.expression, checkMode) : undefinedWideningType;
78714
+ let yieldExpressionType = yieldExpression.expression ? checkExpression(yieldExpression.expression, checkMode && checkMode & ~8 /* SkipGenericFunctions */) : undefinedWideningType;
78714
78715
  if (yieldExpression.expression && isConstContext(yieldExpression.expression)) {
78715
78716
  yieldExpressionType = getRegularTypeOfLiteralType(yieldExpressionType);
78716
78717
  }
@@ -78735,9 +78736,6 @@ function createTypeChecker(host) {
78735
78736
  return { yieldTypes, nextTypes };
78736
78737
  }
78737
78738
  function getYieldedTypeOfYieldExpression(node, expressionType, sentType, isAsync) {
78738
- if (expressionType === silentNeverType) {
78739
- return silentNeverType;
78740
- }
78741
78739
  const errorNode = node.expression || node;
78742
78740
  const yieldedType = node.asteriskToken ? checkIteratedTypeOrElementType(isAsync ? 19 /* AsyncYieldStar */ : 17 /* YieldStar */, expressionType, sentType, errorNode) : expressionType;
78743
78741
  return !isAsync ? yieldedType : getAwaitedType(
@@ -83908,9 +83906,6 @@ function createTypeChecker(host) {
83908
83906
  function getIterationTypesOfIterable(type, use, errorNode) {
83909
83907
  var _a, _b;
83910
83908
  type = getReducedType(type);
83911
- if (type === silentNeverType) {
83912
- return silentNeverIterationTypes;
83913
- }
83914
83909
  if (isTypeAny(type)) {
83915
83910
  return anyIterationTypes;
83916
83911
  }
@@ -885,6 +885,7 @@
885
885
  "Identifier_string_literal_or_number_literal_expected_1496": "Očekával se identifikátor, řetězcový literál nebo číselný literál.",
886
886
  "If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040": "Pokud balíček ‚{0}‘ ve skutečnosti zveřejňuje tento modul, zvažte možnost poslat žádost o přijetí změn, aby se připojila adresa ‚https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}‘",
887
887
  "If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_decl_7058": "Pokud balíček {0} skutečně zpřístupňuje tento modul, zkuste přidat nový soubor deklarace (.d.ts), který obsahuje declare module {1};",
888
+ "Ignore_the_tsconfig_found_and_build_with_commandline_options_and_files_1549": "Ignorujte nalezenou konfiguraci tsconfig a sestavte pomocí možností příkazového řádku a souborů.",
888
889
  "Ignore_this_error_message_90019": "Ignorovat tuto chybovou zprávu",
889
890
  "Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924": "Ignoruje se tsconfig.js, zkompiluje zadané soubory s výchozími možnostmi kompilátoru.",
890
891
  "Implement_all_inherited_abstract_classes_95040": "Implementovat všechny zděděné abstraktní třídy",
@@ -2023,6 +2024,7 @@
2023
2024
  "await_expressions_cannot_be_used_in_a_parameter_initializer_2524": "Výrazy await nejdou použít v inicializátoru parametru.",
2024
2025
  "await_has_no_effect_on_the_type_of_this_expression_80007": "Výraz await nemá žádný vliv na typ tohoto výrazu.",
2025
2026
  "await_using_declarations_are_not_allowed_in_ambient_contexts_1546": "Deklarace await using nejsou v ambientní kontextech povolené.",
2027
+ "await_using_declarations_are_not_allowed_in_case_or_default_clauses_unless_contained_within_a_block_1548": "Deklarace await using nejsou povoleny v klauzulích case ani default, pokud nejsou obsaženy v bloku.",
2026
2028
  "await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_th_2853": "Příkazy „await using“ jsou povoleny jen na nejvyšší úrovni souboru, když je daný soubor modul, ale tento soubor nemá žádné importy ani exporty. Zvažte možnost přidat „export {}“, aby se tento soubor převedl na modul.",
2027
2029
  "await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_2852": "Výrazy „await“ se povolují jen v asynchronních funkcích na nejvyšší úrovni modulů.",
2028
2030
  "await_using_statements_cannot_be_used_inside_a_class_static_block_18054": "Příkazy „await using“ nelze použít uvnitř statického bloku třídy.",
@@ -2111,6 +2113,7 @@
2111
2113
  "true_if_composite_false_otherwise_6909": "„true“, pokud „composite“, „false“ jinak",
2112
2114
  "true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false_6411": "Má hodnotu True, když „moduleResolution“ je „node16“, „nodenext“ nebo „bundler“; v opačném případě má hodnotu False.",
2113
2115
  "tsc_Colon_The_TypeScript_Compiler_6922": "TSC: kompilátor TypeScriptu",
2116
+ "tsconfig_json_is_present_but_will_not_be_loaded_if_files_are_specified_on_commandline_Use_ignoreConf_5112": "tsconfig.json je k dispozici, ale nebude načten, pokud jsou soubory zadány v příkazovém řádku. K přeskočení této chyby použijte --ignoreConfig.",
2114
2117
  "type_Colon_6902": "typ:",
2115
2118
  "unique_symbol_types_are_not_allowed_here_1335": "Typy unique symbol tady nejsou povolené.",
2116
2119
  "unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334": "Typy unique symbol jsou povolené jen u proměnných v příkazu proměnné.",
@@ -2118,6 +2121,7 @@
2118
2121
  "use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347": "Direktiva use strict se nedá použít se seznamem parametrů, které nejsou jednoduché.",
2119
2122
  "use_strict_directive_used_here_1349": "Direktiva use strict se použila tady.",
2120
2123
  "using_declarations_are_not_allowed_in_ambient_contexts_1545": "Deklarace using nejsou v ambientní kontextech povolené.",
2124
+ "using_declarations_are_not_allowed_in_case_or_default_clauses_unless_contained_within_a_block_1547": "Deklarace using nejsou povoleny v klauzulích case ani default, pokud nejsou obsaženy v bloku.",
2121
2125
  "with_statements_are_not_allowed_in_an_async_function_block_1300": "Příkazy with se ve funkčním bloku async nepovolují.",
2122
2126
  "with_statements_are_not_allowed_in_strict_mode_1101": "Příkazy with se ve striktním režimu nepovolují.",
2123
2127
  "yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057": "Implicitním výsledkem výrazu yield je typ any, protože v jeho obsahujícím generátoru chybí anotace návratového typu.",
@@ -885,6 +885,7 @@
885
885
  "Identifier_string_literal_or_number_literal_expected_1496": "Se esperaba un identificador, un literal de cadena o un literal de número.",
886
886
  "If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040": "Si el paquete \"{0}\" expone realmente este módulo, considere la posibilidad de enviar una solicitud de incorporación de cambios para corregir \"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}\".",
887
887
  "If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_decl_7058": "Si el paquete '{0}' realmente expone este módulo, intente agregar un nuevo archivo de declaración (.d.ts) que contenga 'declarar módulo '{1}';`",
888
+ "Ignore_the_tsconfig_found_and_build_with_commandline_options_and_files_1549": "Omita la configuración tsconfig encontrada y compile con archivos y opciones de línea de comandos.",
888
889
  "Ignore_this_error_message_90019": "Ignorar este mensaje de error",
889
890
  "Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924": "Ignora tsconfig.json y se compilan los archivos especificados con las opciones predeterminadas del compilador.",
890
891
  "Implement_all_inherited_abstract_classes_95040": "Implementar todas las clases abstractas heredadas",
@@ -2023,6 +2024,7 @@
2023
2024
  "await_expressions_cannot_be_used_in_a_parameter_initializer_2524": "Las expresiones \"await\" no se pueden usar en un inicializador de parámetros.",
2024
2025
  "await_has_no_effect_on_the_type_of_this_expression_80007": "\"await\" no tiene efecto en el tipo de esta expresión.",
2025
2026
  "await_using_declarations_are_not_allowed_in_ambient_contexts_1546": "No se permiten declaraciones \"await using\" en contextos de ambiente.",
2027
+ "await_using_declarations_are_not_allowed_in_case_or_default_clauses_unless_contained_within_a_block_1548": "Las declaraciones \"await using\" no se permiten en las cláusulas \"case\" o \"default\", a menos que estén contenidas en un bloque.",
2026
2028
  "await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_th_2853": "Las declaraciones “await using” solo se permiten en el nivel superior de un archivo cuando el archivo es un módulo, pero este archivo no tiene importaciones ni exportaciones. Considere la posibilidad de agregar un elemento \"export {}\" vacío para convertir este archivo en módulo.",
2027
2029
  "await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_2852": "Las declaraciones “await using” solo se permiten en las funciones asincrónicas y en los niveles superiores de los módulos.",
2028
2030
  "await_using_statements_cannot_be_used_inside_a_class_static_block_18054": "Las instrucciones “await using” no se pueden usar dentro de un bloque estático de clase.",
@@ -2111,6 +2113,7 @@
2111
2113
  "true_if_composite_false_otherwise_6909": "\"true\", si \"composite\"; \"false\", en caso contrario",
2112
2114
  "true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false_6411": "“true” cuando “moduleResolution” es “node16”, “nodenext” o “bundler”; en caso contrario, “false”.",
2113
2115
  "tsc_Colon_The_TypeScript_Compiler_6922": "tsc: el compilador de TypeScript",
2116
+ "tsconfig_json_is_present_but_will_not_be_loaded_if_files_are_specified_on_commandline_Use_ignoreConf_5112": "tsconfig.json está presente, pero no se cargará si se especifican archivos en la línea de comandos. Use '--ignoreConfig' para omitir este error.",
2114
2117
  "type_Colon_6902": "tipo:",
2115
2118
  "unique_symbol_types_are_not_allowed_here_1335": "Aquí no se permiten tipos \"unique symbol\".",
2116
2119
  "unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334": "Los tipos \"unique symbol\" se permiten solo en variables en una instrucción de variable.",
@@ -2118,6 +2121,7 @@
2118
2121
  "use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347": "La directiva \"use strict\" no se puede usar con una lista de parámetros no simples.",
2119
2122
  "use_strict_directive_used_here_1349": "La directiva \"use strict\" se ha usado aquí.",
2120
2123
  "using_declarations_are_not_allowed_in_ambient_contexts_1545": "No se permiten declaraciones 'using' en contextos de ambiente.",
2124
+ "using_declarations_are_not_allowed_in_case_or_default_clauses_unless_contained_within_a_block_1547": "Las declaraciones \"using\" no se permiten en las cláusulas \"case\" o \"default\", a menos que estén contenidas en un bloque.",
2121
2125
  "with_statements_are_not_allowed_in_an_async_function_block_1300": "No se permiten instrucciones \"with\" en un bloque de funciones asincrónicas.",
2122
2126
  "with_statements_are_not_allowed_in_strict_mode_1101": "No se permiten instrucciones \"with\" en modo strict.",
2123
2127
  "yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057": "La expresión \"yield\" da como resultado un tipo \"any\" de forma implícita porque el generador que la contiene no tiene una anotación de tipo de valor devuelto.",
@@ -885,6 +885,7 @@
885
885
  "Identifier_string_literal_or_number_literal_expected_1496": "Identificateur, littéral de chaîne ou littéral de nombre attendu.",
886
886
  "If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040": "Si le package '{0}' expose réellement ce module, envoyez une demande de tirage (pull request) pour modifier 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}'",
887
887
  "If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_decl_7058": "Si le package' {0} 'expose effectivement ce module, essayez d’ajouter un nouveau fichier de déclaration (. d. TS) contenant’declare module' {1} '; '",
888
+ "Ignore_the_tsconfig_found_and_build_with_commandline_options_and_files_1549": "Ignorez le fichier tsconfig trouvé et compilez avec les options et fichiers spécifiés en ligne de commande.",
888
889
  "Ignore_this_error_message_90019": "Ignorer ce message d'erreur",
889
890
  "Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924": "Ignore tsconfig.json, compile les fichiers spécifiés avec les options du compilateur par défaut.",
890
891
  "Implement_all_inherited_abstract_classes_95040": "Implémenter toutes les classes abstraites héritées",
@@ -2023,6 +2024,7 @@
2023
2024
  "await_expressions_cannot_be_used_in_a_parameter_initializer_2524": "Impossible d'utiliser des expressions 'await' dans un initialiseur de paramètre.",
2024
2025
  "await_has_no_effect_on_the_type_of_this_expression_80007": "'await' n'a aucun effet sur le type de cette expression.",
2025
2026
  "await_using_declarations_are_not_allowed_in_ambient_contexts_1546": "Les déclarations « await using » ne sont pas autorisées dans les contextes ambiants.",
2027
+ "await_using_declarations_are_not_allowed_in_case_or_default_clauses_unless_contained_within_a_block_1548": "Les déclarations 'await using' ne sont pas autorisées dans les clauses 'case' ou 'default', sauf si elles sont contenues dans un bloc.",
2026
2028
  "await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_th_2853": "Les instructions « await using » sont uniquement autorisées au niveau supérieur d’un fichier quand celui-ci est un module, mais le fichier actuel n’a aucune importation ou exportation. Envisagez d’ajouter un « export {} » vide pour faire de ce fichier un module.",
2027
2029
  "await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_2852": "Les expressions « await using » sont autorisées uniquement dans les fonctions asynchrones et aux niveaux supérieurs des modules.",
2028
2030
  "await_using_statements_cannot_be_used_inside_a_class_static_block_18054": "Des instructions « await using » ne peuvent pas être utilisées à l’intérieur d’un bloc statique de classe.",
@@ -2111,6 +2113,7 @@
2111
2113
  "true_if_composite_false_otherwise_6909": "« true » si « composite », « false » sinon",
2112
2114
  "true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false_6411": "« true » quand « moduleResolution » a la valeur « node16 », « nodenext » ou « bundler » ; sinon « false ».",
2113
2115
  "tsc_Colon_The_TypeScript_Compiler_6922": "tsc : compilateur TypeScript",
2116
+ "tsconfig_json_is_present_but_will_not_be_loaded_if_files_are_specified_on_commandline_Use_ignoreConf_5112": "Le fichier tsconfig.json est présent mais ne sera pas chargé si des fichiers sont spécifiés en ligne de commande. Utilisez '--ignoreConfig' pour ignorer cette erreur.",
2114
2117
  "type_Colon_6902": "type :",
2115
2118
  "unique_symbol_types_are_not_allowed_here_1335": "Les types 'unique symbol' ne sont pas autorisés ici.",
2116
2119
  "unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334": "Les types 'unique symbol' sont uniquement autorisés sur les variables d'une déclaration de variable.",
@@ -2118,6 +2121,7 @@
2118
2121
  "use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347": "La directive 'use strict' ne peut pas être utilisée avec une liste de paramètres non simple.",
2119
2122
  "use_strict_directive_used_here_1349": "directive 'use strict' utilisée ici.",
2120
2123
  "using_declarations_are_not_allowed_in_ambient_contexts_1545": "Les déclarations « using » ne sont pas autorisées dans les contextes ambiants.",
2124
+ "using_declarations_are_not_allowed_in_case_or_default_clauses_unless_contained_within_a_block_1547": "Les déclarations 'using' ne sont pas autorisées dans les clauses 'case' ou 'default' sauf si elles sont incluses dans un bloc.",
2121
2125
  "with_statements_are_not_allowed_in_an_async_function_block_1300": "Les instructions 'with' ne sont pas autorisées dans un bloc de fonctions async.",
2122
2126
  "with_statements_are_not_allowed_in_strict_mode_1101": "Les instructions 'with' ne sont pas autorisées en mode strict.",
2123
2127
  "yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057": "L'expression 'yield' génère implicitement un type 'any', car le générateur qui la contient n'a pas d'annotation de type de retour.",
@@ -885,6 +885,7 @@
885
885
  "Identifier_string_literal_or_number_literal_expected_1496": "識別子、文字列リテラル、または数値リテラルが必要です。",
886
886
  "If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040": "'{0}' パッケージが実際にこのモジュールを公開する場合は、pull request を送信して 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}' を修正することを検討してください",
887
887
  "If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_decl_7058": "'{0}' パッケージが実際にこのモジュールを公開する場合は、'declare module '{1}';' を含む新しい宣言 (d.ts) ファイルを追加してみてください。",
888
+ "Ignore_the_tsconfig_found_and_build_with_commandline_options_and_files_1549": "見つかった tsconfig を無視し、コマンドライン オプションとファイルを使用してビルドします。",
888
889
  "Ignore_this_error_message_90019": "このエラー メッセージを無視する",
889
890
  "Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924": "tsconfig.json を無視し、既定のコンパイラ オプションを使用して指定されたファイルをコンパイルします。",
890
891
  "Implement_all_inherited_abstract_classes_95040": "継承されたすべての抽象クラスを実装します",
@@ -2023,6 +2024,7 @@
2023
2024
  "await_expressions_cannot_be_used_in_a_parameter_initializer_2524": "'await' 式は、パラメーター初期化子では使用できません。",
2024
2025
  "await_has_no_effect_on_the_type_of_this_expression_80007": "'await' は、この式の型に対しては効果がありません。",
2025
2026
  "await_using_declarations_are_not_allowed_in_ambient_contexts_1546": "'await using' 宣言はアンビエント コンテキストでは使用できません。",
2027
+ "await_using_declarations_are_not_allowed_in_case_or_default_clauses_unless_contained_within_a_block_1548": "'await using' 宣言は、ブロック内に含まれていない限り、'case' または 'default' 句では使用できません。",
2026
2028
  "await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_th_2853": "'await using' ステートメントは、ファイルがモジュールである場合、そのファイルのトップ レベルでのみ使用できますが、このファイルにはインポートもエクスポートも含まれていません。空の 'export {}' を追加して、このファイルをモジュールにすることを検討してください。",
2027
2029
  "await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_2852": "'await using' ステートメントは、非同期関数内と、モジュールのトップ レベルでのみ許可されます。",
2028
2030
  "await_using_statements_cannot_be_used_inside_a_class_static_block_18054": "'await using' ステートメントをクラスの静的ブロック内で使用することはできません。",
@@ -2111,6 +2113,7 @@
2111
2113
  "true_if_composite_false_otherwise_6909": "'composite' の場合は 'true'、それ以外の場合は 'false'",
2112
2114
  "true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false_6411": "'moduleResolution' が 'node16'、'nodenext'、または 'bundler' である場合は 'true'、それ以外の場合は 'false' です。",
2113
2115
  "tsc_Colon_The_TypeScript_Compiler_6922": "tsc: TypeScript コンパイラ",
2116
+ "tsconfig_json_is_present_but_will_not_be_loaded_if_files_are_specified_on_commandline_Use_ignoreConf_5112": "tsconfig.json は存在しますが、コマンドラインでファイルが指定されている場合は読み込まれません。このエラーをスキップするには、'--ignoreConfig' を使用します。",
2114
2117
  "type_Colon_6902": "種類:",
2115
2118
  "unique_symbol_types_are_not_allowed_here_1335": "'unique symbol' 型はここでは許可されていません。",
2116
2119
  "unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334": "'unique symbol' 型は変数ステートメントの変数でのみ許可されています。",
@@ -2118,6 +2121,7 @@
2118
2121
  "use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347": "'use strict' ディレクティブは、複雑なパラメーター リストでは使用できません。",
2119
2122
  "use_strict_directive_used_here_1349": "'use strict' ディレクティブがここで使用されています。",
2120
2123
  "using_declarations_are_not_allowed_in_ambient_contexts_1545": "'using' 宣言はアンビエント コンテキストでは使用できません。",
2124
+ "using_declarations_are_not_allowed_in_case_or_default_clauses_unless_contained_within_a_block_1547": "'using' 宣言は、ブロック内に含まれていない限り、'case' または 'default' 句では使用できません。",
2121
2125
  "with_statements_are_not_allowed_in_an_async_function_block_1300": "'with' 式は、非同期関数ブロックでは使用できません。",
2122
2126
  "with_statements_are_not_allowed_in_strict_mode_1101": "厳格モードでは 'with' ステートメントは使用できません。",
2123
2127
  "yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057": "'yield' 式は、それを含むジェネレーターに戻り値の型の注釈がないため、暗黙的に 'any' 型になります。",
@@ -885,6 +885,7 @@
885
885
  "Identifier_string_literal_or_number_literal_expected_1496": "식별자, 문자열 리터럴 또는 숫자 리터럴이 필요합니다.",
886
886
  "If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040": "'{0}' 패키지가 이 모듈을 실제로 공개하는 경우 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}' 수정을 위한 끌어오기 요청을 보내는 것이 좋습니다.",
887
887
  "If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_decl_7058": "'{0}' 패키지가 실제로 이 모듈을 노출하는 경우 'declare module {1}';'이(가) 포함된 새 선언(.d.ts) 파일을 추가해 보세요.",
888
+ "Ignore_the_tsconfig_found_and_build_with_commandline_options_and_files_1549": "찾은 tsconfig를 무시하고 명령줄 옵션과 파일로 빌드합니다.",
888
889
  "Ignore_this_error_message_90019": "이 오류 메시지 무시",
889
890
  "Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924": "tsconfig.json을 무시하고 기본 컴파일러 옵션을 사용하여 지정된 파일을 컴파일합니다.",
890
891
  "Implement_all_inherited_abstract_classes_95040": "상속된 추상 클래스 모두 구현",
@@ -2023,6 +2024,7 @@
2023
2024
  "await_expressions_cannot_be_used_in_a_parameter_initializer_2524": "'await' 식은 매개 변수 이니셜라이저에서 사용할 수 없습니다.",
2024
2025
  "await_has_no_effect_on_the_type_of_this_expression_80007": "'await'는 이 식의 형식에 영향을 주지 않습니다.",
2025
2026
  "await_using_declarations_are_not_allowed_in_ambient_contexts_1546": "앰비언트 컨텍스트에서는 'await using' 선언을 사용할 수 없습니다.",
2027
+ "await_using_declarations_are_not_allowed_in_case_or_default_clauses_unless_contained_within_a_block_1548": "'await using' 선언은 블록 내에 포함되지 않는 한 'case' 또는 'default' 조항에서는 허용되지 않습니다.",
2026
2028
  "await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_th_2853": "'await using' 문은 파일이 모듈일 경우 해당 파일의 최상위에서만 사용할 수 있지만, 이 파일에는 가져오기 또는 내보내기가 없습니다. 빈 'export {}'를 추가하여 이 파일을 모듈로 만드는 것이 좋습니다.",
2027
2029
  "await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_2852": "'await using' 문은 비동기 함수 내부 및 모듈의 최상위 수준에서만 사용할 수 있습니다.",
2028
2030
  "await_using_statements_cannot_be_used_inside_a_class_static_block_18054": "'await using' 문은 클래스 정적 블록 내에서 사용할 수 없습니다.",
@@ -2111,6 +2113,7 @@
2111
2113
  "true_if_composite_false_otherwise_6909": "'composite'이면 'true'이고, 그렇지 않으면 'false'입니다.",
2112
2114
  "true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false_6411": "'moduleResolution'이 'node16', 'nodenext' 또는 'bundler'인 경우 'true'입니다. 그렇지 않으면 'false'입니다.",
2113
2115
  "tsc_Colon_The_TypeScript_Compiler_6922": "tsc: TypeScript 컴파일러",
2116
+ "tsconfig_json_is_present_but_will_not_be_loaded_if_files_are_specified_on_commandline_Use_ignoreConf_5112": "tsconfig.json이 있지만 명령줄에 파일을 지정한 경우 로드되지 않습니다. '--ignoreConfig'를 사용하여 이 오류를 건너뜁니다.",
2114
2117
  "type_Colon_6902": "형식:",
2115
2118
  "unique_symbol_types_are_not_allowed_here_1335": "여기에서 'unique symbol' 형식은 허용되지 않습니다.",
2116
2119
  "unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334": "'unique symbol' 형식은 변수 문의 변수에만 허용됩니다.",
@@ -2118,6 +2121,7 @@
2118
2121
  "use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347": "'use strict' 지시문은 단순하지 않은 매개 변수 목록에서 사용할 수 없습니다.",
2119
2122
  "use_strict_directive_used_here_1349": "여기서는 'use strict' 지시문이 사용됩니다.",
2120
2123
  "using_declarations_are_not_allowed_in_ambient_contexts_1545": "앰비언트 컨텍스트에서는 'using' 선언을 사용할 수 없습니다.",
2124
+ "using_declarations_are_not_allowed_in_case_or_default_clauses_unless_contained_within_a_block_1547": "'using' 선언은 블록 내에 포함되지 않는 한 'case' 또는 'default' 조항에서는 허용되지 않습니다.",
2121
2125
  "with_statements_are_not_allowed_in_an_async_function_block_1300": "'with' 문은 비동기 함수 블록에서 사용할 수 없습니다.",
2122
2126
  "with_statements_are_not_allowed_in_strict_mode_1101": "'with' 문은 strict 모드에서 사용할 수 없습니다.",
2123
2127
  "yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057": "'yield' 식은 포함하는 생성기에 반환 형식 주석이 없으므로 암시적으로 'any' 형식으로 생성됩니다.",
@@ -885,6 +885,7 @@
885
885
  "Identifier_string_literal_or_number_literal_expected_1496": "Oczekiwano identyfikatora, literału ciągu lub literału liczbowego.",
886
886
  "If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040": "Jeśli pakiet \"{0}\" faktycznie udostępnia ten moduł, rozważ wysłanie żądania ściągnięcia w celu zmiany elementu \"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}\"",
887
887
  "If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_decl_7058": "Jeśli pakiet „{0}” rzeczywiście uwidacznia ten moduł, spróbuj dodać nowy plik deklaracji (.d.ts) zawierający „declare module”{1}';`",
888
+ "Ignore_the_tsconfig_found_and_build_with_commandline_options_and_files_1549": "Zignoruj znaleziony plik tsconfig i skompiluj za pomocą opcji wiersza polecenia i plików.",
888
889
  "Ignore_this_error_message_90019": "Ignoruj ten komunikat o błędzie",
889
890
  "Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924": "Ignorując plik tsconfig.json, kompiluje określone pliki z domyślnymi opcjami kompilatora.",
890
891
  "Implement_all_inherited_abstract_classes_95040": "Zaimplementuj wszystkie dziedziczone klasy abstrakcyjne",
@@ -2023,6 +2024,7 @@
2023
2024
  "await_expressions_cannot_be_used_in_a_parameter_initializer_2524": "Wyrażeń „await” nie można używać w inicjatorze parametru.",
2024
2025
  "await_has_no_effect_on_the_type_of_this_expression_80007": "Operator „await” nie ma wpływu na typ tego wyrażenia.",
2025
2026
  "await_using_declarations_are_not_allowed_in_ambient_contexts_1546": "Deklaracje „await using” są niedozwolone w kontekstach otoczenia.",
2027
+ "await_using_declarations_are_not_allowed_in_case_or_default_clauses_unless_contained_within_a_block_1548": "Deklaracje „await using” nie są dozwolone w klauzulach „case” lub „default”, chyba że znajdują się w bloku.",
2026
2028
  "await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_th_2853": "Instrukcje „await using” są dozwolone tylko na najwyższym poziomie pliku, gdy ten plik jest modułem, ale ten plik nie ma importów ani eksportów. Rozważ dodanie pustego wyrażenia „export {}”, aby uczynić ten plik modułem.",
2027
2029
  "await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_2852": "Instrukcje „await using” są dozwolone tylko w ramach funkcji asynchronicznych i na najwyższych poziomach modułów.",
2028
2030
  "await_using_statements_cannot_be_used_inside_a_class_static_block_18054": "Instrukcji „await using” nie można używać wewnątrz bloku statycznego klasy.",
@@ -2111,6 +2113,7 @@
2111
2113
  "true_if_composite_false_otherwise_6909": "\"true\", jeśli \"composite\", w przeciwnym razie \"false\"",
2112
2114
  "true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false_6411": "„true”, gdy element „moduleResolution” ma wartość „node16”, „nodenext” lub „bundler”; w przeciwnym razie „false”.",
2113
2115
  "tsc_Colon_The_TypeScript_Compiler_6922": "tsc: kompilator TypeScript",
2116
+ "tsconfig_json_is_present_but_will_not_be_loaded_if_files_are_specified_on_commandline_Use_ignoreConf_5112": "Plik tsconfig.json jest obecny, ale nie zostanie załadowany, jeśli w wierszu polecenia podano pliki. Aby pominąć ten błąd, użyj opcji „--ignoreConfig”.",
2114
2117
  "type_Colon_6902": "typ:",
2115
2118
  "unique_symbol_types_are_not_allowed_here_1335": "Typy „unique symbol” nie są dozwolone w tym miejscu.",
2116
2119
  "unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334": "Typy „unique symbol” są dozwolone tylko w zmiennych w instrukcji zmiennej.",
@@ -2118,6 +2121,7 @@
2118
2121
  "use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347": "Dyrektywy „use strict” nie można używać z listą parametrów, które nie są parametrami prostymi.",
2119
2122
  "use_strict_directive_used_here_1349": "Dyrektywa „use strict” użyta w tym miejscu.",
2120
2123
  "using_declarations_are_not_allowed_in_ambient_contexts_1545": "Deklaracje „using” nie są dozwolone w kontekstach otoczenia.",
2124
+ "using_declarations_are_not_allowed_in_case_or_default_clauses_unless_contained_within_a_block_1547": "Deklaracje „using” nie są dozwolone w klauzulach „case” lub „default”, chyba że znajdują się w bloku.",
2121
2125
  "with_statements_are_not_allowed_in_an_async_function_block_1300": "Instrukcje „with” są niedozwolone w bloku funkcji asynchronicznej.",
2122
2126
  "with_statements_are_not_allowed_in_strict_mode_1101": "Instrukcje „with” są niedozwolone w trybie z ograniczeniami.",
2123
2127
  "yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057": "Wyrażenie „yield” niejawnie zwraca wynik w postaci typu „any”, ponieważ w zawierającym generatorze brakuje adnotacji zwracanego typu.",
@@ -885,6 +885,7 @@
885
885
  "Identifier_string_literal_or_number_literal_expected_1496": "Identificador, literal de cadeia de caracteres ou literal de número esperado.",
886
886
  "If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040": "Se o pacote '{0}' realmente expõe este módulo, considere enviar uma solicitação de pull para corrigir 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}'",
887
887
  "If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_decl_7058": "Se o pacote '{0}' realmente expõe este módulo, tente adicionar um novo arquivo de declaração (.d.ts) contendo o módulo `declare '{1}';`",
888
+ "Ignore_the_tsconfig_found_and_build_with_commandline_options_and_files_1549": "Ignore o tsconfig encontrado e crie com as opções de linha de comando e arquivos.",
888
889
  "Ignore_this_error_message_90019": "Ignorar essa mensagem de erro",
889
890
  "Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924": "Ignorar o tsconfig.json, compila os arquivos especificados com as opções do compilador padrão.",
890
891
  "Implement_all_inherited_abstract_classes_95040": "Implementar todas as classes abstratas herdadas",
@@ -2023,6 +2024,7 @@
2023
2024
  "await_expressions_cannot_be_used_in_a_parameter_initializer_2524": "As expressões 'await' não podem ser usadas em inicializadores de parâmetros.",
2024
2025
  "await_has_no_effect_on_the_type_of_this_expression_80007": "'await' não tem efeito sobre o tipo desta expressão.",
2025
2026
  "await_using_declarations_are_not_allowed_in_ambient_contexts_1546": "Declarações \"await using\" não são permitidas em contextos de ambiente.",
2027
+ "await_using_declarations_are_not_allowed_in_case_or_default_clauses_unless_contained_within_a_block_1548": "Declarações \"await using\" não são permitidas em cláusulas \"case\" ou \"default\", a menos que estejam contidas em um bloco.",
2026
2028
  "await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_th_2853": "As instruções 'for await' só são permitidas no nível superior de um arquivo quando esse arquivo é um módulo, mas este arquivo não tem importações nem exportações. Considere adicionar um 'export {}' vazio para transformar este arquivo em um módulo.",
2027
2029
  "await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_2852": "Instruções 'await using' só são permitidas em funções assíncronas e nos níveis superiores de módulos.",
2028
2030
  "await_using_statements_cannot_be_used_inside_a_class_static_block_18054": "Instruções 'await using' não podem ser usadas dentro de um bloco estático de classe.",
@@ -2111,6 +2113,7 @@
2111
2113
  "true_if_composite_false_otherwise_6909": "`true` se` composite`, `false` caso contrário",
2112
2114
  "true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false_6411": "'true' quando 'moduleResolution' é 'node16', 'nodenext' ou 'bundler'; caso contrário, \"false\".",
2113
2115
  "tsc_Colon_The_TypeScript_Compiler_6922": "tsc: o Compilador TypeScript",
2116
+ "tsconfig_json_is_present_but_will_not_be_loaded_if_files_are_specified_on_commandline_Use_ignoreConf_5112": "O tsconfig.json está presente, mas não será carregado se os arquivos forem especificados na linha de comando. Use '--ignoreConfig' para ignorar esse erro.",
2114
2117
  "type_Colon_6902": "tipo:",
2115
2118
  "unique_symbol_types_are_not_allowed_here_1335": "Tipos de 'unique symbol' não são permitidos aqui.",
2116
2119
  "unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334": "Tipos de 'unique symbol' são permitidos apenas em variáveis em uma declaração de variável.",
@@ -2118,6 +2121,7 @@
2118
2121
  "use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347": "A diretiva 'use strict' não pode ser usada com uma lista de parâmetros não simples.",
2119
2122
  "use_strict_directive_used_here_1349": "A diretiva 'use strict' usada aqui.",
2120
2123
  "using_declarations_are_not_allowed_in_ambient_contexts_1545": "Declarações \"using\" não são permitidas em contextos de ambiente.",
2124
+ "using_declarations_are_not_allowed_in_case_or_default_clauses_unless_contained_within_a_block_1547": "Declarações \"using\" não são permitidas em cláusulas \"case\" ou \"default\", a menos que estejam contidas em um bloco.",
2121
2125
  "with_statements_are_not_allowed_in_an_async_function_block_1300": "As declarações 'with' não são permitidas em blocos de funções assíncronas.",
2122
2126
  "with_statements_are_not_allowed_in_strict_mode_1101": "Instruções 'with' não são permitidas no modo estrito.",
2123
2127
  "yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057": "Expressão 'yield' resulta implicitamente em um tipo 'any' porque seu gerador contido não tem uma anotação de tipo de retorno.",
@@ -885,6 +885,7 @@
885
885
  "Identifier_string_literal_or_number_literal_expected_1496": "Tanımlayıcı, sabit değerli dize veya sabit değerli sayı bekleniyor.",
886
886
  "If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040": "'{0}' paketi bu modülü gerçekten kullanıma sunarsa, 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}' öğesini düzeltmek için bir çekme isteği göndermeyi deneyin",
887
887
  "If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_decl_7058": "‘{0}’ paketi bu modülü fiili olarak kullanıma sunuyorsa `'{1}' modülünü bildir;` ifadesini içeren yeni bir bildirim (.d.ts) dosyası eklemeyi deneyin",
888
+ "Ignore_the_tsconfig_found_and_build_with_commandline_options_and_files_1549": "Bulunan tsconfig dosyasını yoksayıp komut satırı seçenekleri ve dosyalarla oluşturun.",
888
889
  "Ignore_this_error_message_90019": "Bu hata iletisini yoksay",
889
890
  "Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924": "tsconfig.json yok sayılıyor, belirtilen dosyaları varsayılan derleyici seçenekleriyle derler.",
890
891
  "Implement_all_inherited_abstract_classes_95040": "Devralınan tüm soyut sınıfları uygula",
@@ -2023,6 +2024,7 @@
2023
2024
  "await_expressions_cannot_be_used_in_a_parameter_initializer_2524": "'await' ifadeleri bir parametre başlatıcısında kullanılamaz.",
2024
2025
  "await_has_no_effect_on_the_type_of_this_expression_80007": "'await' öğesinin bu ifadenin türü üzerinde etkisi yoktur.",
2025
2026
  "await_using_declarations_are_not_allowed_in_ambient_contexts_1546": "Çevresel bağlamlarda 'await using' bildirimlerine izin verilmez.",
2027
+ "await_using_declarations_are_not_allowed_in_case_or_default_clauses_unless_contained_within_a_block_1548": "'await using' bildirimlerine, bir blok içinde olmadıkça 'case' veya 'default' yan tümcelerinde izin verilmez.",
2026
2028
  "await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_th_2853": "'await using' ifadelerine yalnızca dosya bir modül olduğunda dosyanın en üst düzeyinde izin verilir ancak bu dosyanın içeri veya dışarı aktarma işlemi yok. Bu dosyayı modül yapmak için boş bir 'export {}' eklemeyi deneyin.",
2027
2029
  "await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_2852": "'await using' ifadelerine yalnızca asenkron işlevler içinde ve modüllerin en üst düzeylerinde izin verilir.",
2028
2030
  "await_using_statements_cannot_be_used_inside_a_class_static_block_18054": "'await using' ifadeleri bir sınıf statik bloğu içinde kullanılamaz.",
@@ -2111,6 +2113,7 @@
2111
2113
  "true_if_composite_false_otherwise_6909": "'Kompozit' ayarlanmışsa 'true', değilse 'false'",
2112
2114
  "true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false_6411": "'moduleResolution'; 'node16', 'nodenext' veya 'bundler' olduğunda `true`, aksi halde `false`.",
2113
2115
  "tsc_Colon_The_TypeScript_Compiler_6922": "tsc: The TypeScript Derleyicisi",
2116
+ "tsconfig_json_is_present_but_will_not_be_loaded_if_files_are_specified_on_commandline_Use_ignoreConf_5112": "tsconfig.json dosyası mevcut ancak komut satırında dosyalar belirtilmişse yüklenmeyecek. Bu hatayı atlamak için '--ignoreConfig' seçeneğini kullanın.",
2114
2117
  "type_Colon_6902": "tür:",
2115
2118
  "unique_symbol_types_are_not_allowed_here_1335": "Burada 'unique symbol' türlerine izin verilmez.",
2116
2119
  "unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334": "'unique symbol' türlerine yalnızca bir değişken deyimindeki değişkenlerde izin verilir.",
@@ -2118,6 +2121,7 @@
2118
2121
  "use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347": "'use strict' yönergesi, basit olmayan parametre listesiyle birlikte kullanılamıyor.",
2119
2122
  "use_strict_directive_used_here_1349": "'use strict' yönergesi burada kullanıldı.",
2120
2123
  "using_declarations_are_not_allowed_in_ambient_contexts_1545": "Çevresel bağlamlarda 'using' bildirimlerine izin verilmez.",
2124
+ "using_declarations_are_not_allowed_in_case_or_default_clauses_unless_contained_within_a_block_1547": "'using' bildirimlerine, bir blok içinde olmadıkça 'case' veya 'default' yan tümcelerinde izin verilmez.",
2121
2125
  "with_statements_are_not_allowed_in_an_async_function_block_1300": "'with' deyimlerine zaman uyumsuz bir işlev bloğunda izin verilmez.",
2122
2126
  "with_statements_are_not_allowed_in_strict_mode_1101": "'with' deyimlerine katı modda izin verilmez.",
2123
2127
  "yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057": "Kapsayan oluşturucusunda dönüş türü ek açıklaması olmadığından 'yield' ifadesi örtük olarak 'any' türü ile sonuçlanır.",
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.20251204`;
2289
+ var version = `${versionMajorMinor}.0-dev.20251206`;
2290
2290
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
2291
2291
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
2292
2292
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -51834,7 +51834,6 @@ function createTypeChecker(host) {
51834
51834
  }
51835
51835
  };
51836
51836
  var anyIterationTypes = createIterationTypes(anyType, anyType, anyType);
51837
- var silentNeverIterationTypes = createIterationTypes(silentNeverType, silentNeverType, silentNeverType);
51838
51837
  var asyncIterationTypesResolver = {
51839
51838
  iterableCacheKey: "iterationTypesOfAsyncIterable",
51840
51839
  iteratorCacheKey: "iterationTypesOfAsyncIterator",
@@ -52357,7 +52356,9 @@ function createTypeChecker(host) {
52357
52356
  const targetSymbol = target.get(id);
52358
52357
  const merged = targetSymbol ? mergeSymbol(targetSymbol, sourceSymbol, unidirectional) : getMergedSymbol(sourceSymbol);
52359
52358
  if (mergedParent && targetSymbol) {
52360
- merged.parent = mergedParent;
52359
+ if (merged.flags & 33554432 /* Transient */) {
52360
+ merged.parent = mergedParent;
52361
+ }
52361
52362
  }
52362
52363
  target.set(id, merged);
52363
52364
  });
@@ -72911,7 +72912,7 @@ function createTypeChecker(host) {
72911
72912
  const templateType = getTemplateTypeFromMappedType(target);
72912
72913
  const inference = createInferenceInfo(typeParameter);
72913
72914
  inferTypes([inference], sourceType, templateType);
72914
- return getTypeFromInference(inference) || unknownType;
72915
+ return getWidenedType(getTypeFromInference(inference) || unknownType);
72915
72916
  }
72916
72917
  function inferReverseMappedType(source, target, constraint) {
72917
72918
  const cacheKey = source.id + "," + target.id + "," + constraint.id;
@@ -83338,7 +83339,7 @@ function createTypeChecker(host) {
83338
83339
  const nextTypes = [];
83339
83340
  const isAsync = (getFunctionFlags(func) & 2 /* Async */) !== 0;
83340
83341
  forEachYieldExpression(func.body, (yieldExpression) => {
83341
- let yieldExpressionType = yieldExpression.expression ? checkExpression(yieldExpression.expression, checkMode) : undefinedWideningType;
83342
+ let yieldExpressionType = yieldExpression.expression ? checkExpression(yieldExpression.expression, checkMode && checkMode & ~8 /* SkipGenericFunctions */) : undefinedWideningType;
83342
83343
  if (yieldExpression.expression && isConstContext(yieldExpression.expression)) {
83343
83344
  yieldExpressionType = getRegularTypeOfLiteralType(yieldExpressionType);
83344
83345
  }
@@ -83363,9 +83364,6 @@ function createTypeChecker(host) {
83363
83364
  return { yieldTypes, nextTypes };
83364
83365
  }
83365
83366
  function getYieldedTypeOfYieldExpression(node, expressionType, sentType, isAsync) {
83366
- if (expressionType === silentNeverType) {
83367
- return silentNeverType;
83368
- }
83369
83367
  const errorNode = node.expression || node;
83370
83368
  const yieldedType = node.asteriskToken ? checkIteratedTypeOrElementType(isAsync ? 19 /* AsyncYieldStar */ : 17 /* YieldStar */, expressionType, sentType, errorNode) : expressionType;
83371
83369
  return !isAsync ? yieldedType : getAwaitedType(
@@ -88536,9 +88534,6 @@ function createTypeChecker(host) {
88536
88534
  function getIterationTypesOfIterable(type, use, errorNode) {
88537
88535
  var _a, _b;
88538
88536
  type = getReducedType(type);
88539
- if (type === silentNeverType) {
88540
- return silentNeverIterationTypes;
88541
- }
88542
88537
  if (isTypeAny(type)) {
88543
88538
  return anyIterationTypes;
88544
88539
  }
@@ -885,6 +885,7 @@
885
885
  "Identifier_string_literal_or_number_literal_expected_1496": "应为标识符、字符串文本或数字文本。",
886
886
  "If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040": "如果“{0}”包实际上公开此模块,请考虑发送拉取请求以修正“https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}”",
887
887
  "If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_decl_7058": "如果“{0}”包实际公开了此模块,请尝试添加包含 `declare module‘{1}';` 的新声明(.d.ts)文件",
888
+ "Ignore_the_tsconfig_found_and_build_with_commandline_options_and_files_1549": "忽略找到的 tsconfig,使用命令行选项和文件进行构建。",
888
889
  "Ignore_this_error_message_90019": "忽略此错误信息",
889
890
  "Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924": "忽略 tsconfig.json,使用默认编译器选项编译指定文件。",
890
891
  "Implement_all_inherited_abstract_classes_95040": "实现继承的所有抽象类",
@@ -2023,6 +2024,7 @@
2023
2024
  "await_expressions_cannot_be_used_in_a_parameter_initializer_2524": "不能在参数初始化表达式中使用 \"await\" 表达式。",
2024
2025
  "await_has_no_effect_on_the_type_of_this_expression_80007": "\"await\" 对此表达式的类型没有影响。",
2025
2026
  "await_using_declarations_are_not_allowed_in_ambient_contexts_1546": "环境上下文中不允许使用 ‘await using’ 声明。",
2027
+ "await_using_declarations_are_not_allowed_in_case_or_default_clauses_unless_contained_within_a_block_1548": "除非包含在块中,否则不允许在 \"case\" 或 \"default\" 子句中使用 \"await using\" 声明。",
2026
2028
  "await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_th_2853": "只有当文件是模块时,才允许在该文件的顶层使用 \"await using\" 语句,但此文件没有导入或导出。可考虑添加空的 \"export {}\" 将此文件变为模块。",
2027
2029
  "await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_2852": "\"await using\" 语句仅允许在异步函数和顶级模块中使用。",
2028
2030
  "await_using_statements_cannot_be_used_inside_a_class_static_block_18054": "\"await using\" 语句不能在类静态块内使用。",
@@ -2111,6 +2113,7 @@
2111
2113
  "true_if_composite_false_otherwise_6909": "如果为 \"composite\",则为 \"true\",否则为 \"false\"",
2112
2114
  "true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false_6411": "当 \"moduleResolution\" 为 \"node16\"、\"nodenext \"或 \"bundler\" 时为 `true`;否则为 `false`。",
2113
2115
  "tsc_Colon_The_TypeScript_Compiler_6922": "tsc: TypeScript 编译器",
2116
+ "tsconfig_json_is_present_but_will_not_be_loaded_if_files_are_specified_on_commandline_Use_ignoreConf_5112": "存在 tsconfig.json,但如果命令行指定了文件,则不会加载该文件。使用 \"--ignoreConfig\" 跳过此错误。",
2114
2117
  "type_Colon_6902": "类型:",
2115
2118
  "unique_symbol_types_are_not_allowed_here_1335": "此处不允许使用 \"unique symbol\" 类型。",
2116
2119
  "unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334": "\"unique symbol\" 类型仅可用于变量语句中的变量。",
@@ -2118,6 +2121,7 @@
2118
2121
  "use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347": "\"use strict\" 指令不能与非简单参数列表一起使用。",
2119
2122
  "use_strict_directive_used_here_1349": "此处使用了 \"use strict\" 指令。",
2120
2123
  "using_declarations_are_not_allowed_in_ambient_contexts_1545": "环境上下文中不允许使用 ‘using’ 声明。",
2124
+ "using_declarations_are_not_allowed_in_case_or_default_clauses_unless_contained_within_a_block_1547": "除非包含在块中,否则不允许在 \"case\" 或 \"default\" 子句中使用 \"using\" 声明。",
2121
2125
  "with_statements_are_not_allowed_in_an_async_function_block_1300": "不允许在异步函数块中使用 \"with\" 语句。",
2122
2126
  "with_statements_are_not_allowed_in_strict_mode_1101": "严格模式下不允许使用 \"with\" 语句。",
2123
2127
  "yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057": "\"yield\" 表达式隐式导致 \"any\" 类型,因为它的包含生成器缺少返回类型批注。",
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.20251204",
5
+ "version": "6.0.0-dev.20251206",
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": "4ef237895d6479bed3e02448a9792ade7308766f"
118
+ "gitHead": "38d95c8001300f525fd601dd0ce6d0ff5f12baee"
119
119
  }