typescript 4.9.0-dev.20221017 → 4.9.0-dev.20221019

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.
@@ -660,6 +660,8 @@
660
660
  "Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219": "La compatibilidad experimental con los decoradores es una característica que está sujeta a cambios en una próxima versión. Establezca la opción \"experimentalDecorators\" en \"tsconfig\" o \"jsconfig\" para quitar esta advertencia.",
661
661
  "Explicitly_specified_module_resolution_kind_Colon_0_6087": "Tipo de resolución de módulo especificado de forma explícita: '{0}'.",
662
662
  "Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791": "No se puede realizar la exponenciación en los valores \"bigint\", a menos que la opción \"target\" esté establecida en \"es2016\" o posterior.",
663
+ "Export_0_from_module_1_90059": "Exportar '{0}' desde el módulo '{1}'",
664
+ "Export_all_referenced_locals_90060": "Exportar todas las variables locales a las que se hace referencia",
663
665
  "Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203": "No se puede usar una asignación de exportación cuando se eligen módulos de ECMAScript como destino. Considere la posibilidad de usar \"export default\" u otro formato de módulo en su lugar.",
664
666
  "Export_assignment_is_not_supported_when_module_flag_is_system_1218": "La asignación de exportación no es compatible cuando la marca \"--module\" es \"system\".",
665
667
  "Export_declaration_conflicts_with_exported_declaration_of_0_2484": "La declaración de exportación está en conflicto con la declaración exportada de \"{0}\".",
@@ -908,6 +910,7 @@
908
910
  "Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650": "Haga que keyof solo devuelva cadenas en lugar de cadenas, números o símbolos. Opción heredada.",
909
911
  "Make_super_call_the_first_statement_in_the_constructor_90002": "Hacer que la llamada a \"super()\" sea la primera instrucción del constructor",
910
912
  "Mapped_object_type_implicitly_has_an_any_template_type_7039": "El tipo de objeto asignado tiene implícitamente un tipo de plantilla \"any\".",
913
+ "Matched_0_condition_1_6403": "Coincidente con '{0}' condición '{1}'.",
911
914
  "Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk_1457": "La coincidencia de forma predeterminada incluye el patrón '**/*'",
912
915
  "Matched_by_include_pattern_0_in_1_1407": "Coincidencia con el patrón de inclusión \"{0}\" en \"{1}\"",
913
916
  "Member_0_implicitly_has_an_1_type_7008": "El miembro '{0}' tiene un tipo '{1}' implícitamente.",
@@ -1220,6 +1223,7 @@
1220
1223
  "Resolution_for_module_0_was_found_in_cache_from_location_1_6147": "La resolución del módulo \"{0}\" se encontró en la memoria caché de la ubicación \"{1}\".",
1221
1224
  "Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241": "La resolución de la directiva de referencia de tipo \"{0}\" se encontró en la memoria caché de la ubicación \"{1}\".",
1222
1225
  "Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195": "Resolver \"keyof\" exclusivamente como nombres de propiedad con valores de cadena (sin números ni símbolos).",
1226
+ "Resolving_in_0_mode_with_conditions_1_6402": "Resolviendo en modo {0} con condiciones {1}.",
1223
1227
  "Resolving_module_0_from_1_6086": "======== Resolviendo el módulo '{0}' de '{1}'. ========",
1224
1228
  "Resolving_module_name_0_relative_to_base_url_1_2_6094": "Resolviendo el nombre de módulo '{0}' relativo a la dirección URL base '{1}' - '{2}'.",
1225
1229
  "Resolving_real_path_for_0_result_1_6130": "Resolviendo la ruta de acceso real de \"{0}\", resultado: \"{1}\".",
@@ -1276,6 +1280,7 @@
1276
1280
  "Root_file_specified_for_compilation_1427": "Archivo raíz especificado para la compilación",
1277
1281
  "STRATEGY_6039": "ESTRATEGIA",
1278
1282
  "Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642": "Guarde archivos .tsbuildinfo para permitir la compilación incremental de proyectos.",
1283
+ "Saw_non_matching_condition_0_6405": "Se vio una condición no coincidente '{0}'.",
1279
1284
  "Scoped_package_detected_looking_in_0_6182": "Se detectó un paquete con ámbito al buscar en \"{0}\"",
1280
1285
  "Selection_is_not_a_valid_statement_or_statements_95155": "La selección no es una instrucción ni instrucciones válidas",
1281
1286
  "Selection_is_not_a_valid_type_node_95133": "La selección no es un nodo de tipo válido",
@@ -1654,6 +1659,7 @@
1654
1659
  "Use_element_access_for_0_95145": "Usar acceso de elemento para \"{0}\"",
1655
1660
  "Use_element_access_for_all_undeclared_properties_95146": "Use el acceso de elemento para todas las propiedades no declaradas.",
1656
1661
  "Use_synthetic_default_member_95016": "Use el miembro sintético \"default\".",
1662
+ "Using_0_subpath_1_with_target_2_6404": "Usando '{0}' subruta '{1}' con destino '{2}'.",
1657
1663
  "Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494": "El uso de una cadena en una instrucción \"for...of\" solo se admite en ECMAScript 5 y versiones posteriores.",
1658
1664
  "Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915": "Con --build, -b hará que tsc se comporte más como un orquestador de compilación que como un compilador. Se usa para desencadenar la compilación de proyectos compuestos, sobre los que puede obtener más información en {0}",
1659
1665
  "Using_compiler_options_of_project_reference_redirect_0_6215": "Uso de las opciones del compilador de redireccionamiento de la referencia del proyecto \"{0}\".",
@@ -660,6 +660,8 @@
660
660
  "Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219": "Il supporto sperimentale per gli elementi Decorator è una funzionalità soggetta a modifica nelle prossime versioni. Per rimuovere questo avviso, impostare l'opzione 'experimentalDecorators' nel file 'tsconfig' o 'jsconfig'.",
661
661
  "Explicitly_specified_module_resolution_kind_Colon_0_6087": "Il tipo di risoluzione del modulo '{0}' è stato specificato in modo esplicito.",
662
662
  "Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791": "Non è possibile usare l'elevamento a potenza su valori 'bigint' a meno che l'opzione 'target' non sia impostata su 'es2016' o versioni successive.",
663
+ "Export_0_from_module_1_90059": "Esporta '{0}' dal modulo '{1}'",
664
+ "Export_all_referenced_locals_90060": "Esporta tutte le variabili locali di riferimento",
663
665
  "Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203": "Non è possibile usare l'assegnazione di esportazione se destinata a moduli ECMAScript. Provare a usare 'export default' o un altro formato di modulo.",
664
666
  "Export_assignment_is_not_supported_when_module_flag_is_system_1218": "L'assegnazione dell'esportazione non è supportata quando il valore del flag '--module' è 'system'.",
665
667
  "Export_declaration_conflicts_with_exported_declaration_of_0_2484": "La dichiarazione di esportazione è in conflitto con la dichiarazione esportata di '{0}'.",
@@ -908,6 +910,7 @@
908
910
  "Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650": "Imposta keyof in modo che restituisca solo stringhe invece di stringhe, numeri o simboli. Opzione legacy.",
909
911
  "Make_super_call_the_first_statement_in_the_constructor_90002": "Impostare la chiamata a 'super()' come prima istruzione nel costruttore",
910
912
  "Mapped_object_type_implicitly_has_an_any_template_type_7039": "Il tipo di oggetto con mapping contiene implicitamente un tipo di modello 'any'.",
913
+ "Matched_0_condition_1_6403": "Corrispondenza tra '{0}' condizione '{1}'.",
911
914
  "Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk_1457": "Corrispondente per impostazione predefinita al criterio di inclusione '**/*'",
912
915
  "Matched_by_include_pattern_0_in_1_1407": "Corrispondenza tramite criterio di inclusione '{0}' in '{1}'",
913
916
  "Member_0_implicitly_has_an_1_type_7008": "Il membro '{0}' contiene implicitamente un tipo '{1}'.",
@@ -1220,6 +1223,7 @@
1220
1223
  "Resolution_for_module_0_was_found_in_cache_from_location_1_6147": "La risoluzione per il modulo '{0}' è stata trovata nella cache dal percorso '{1}'.",
1221
1224
  "Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241": "La risoluzione per la direttiva '{0}' del riferimento al tipo è stata trovata nella cache dal percorso '{1}'.",
1222
1225
  "Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195": "Risolvere 'keyof' solo in nomi di proprietà con valori stringa (senza numeri o simboli).",
1226
+ "Resolving_in_0_mode_with_conditions_1_6402": "Risoluzione in modalità {0} con condizioni {1}.",
1223
1227
  "Resolving_module_0_from_1_6086": "======== Risoluzione del modulo '{0}' da '{1}'. ========",
1224
1228
  "Resolving_module_name_0_relative_to_base_url_1_2_6094": "Verrà eseguita la risoluzione del nome del modulo '{0}' relativo all'URL di base '{1}' - '{2}'.",
1225
1229
  "Resolving_real_path_for_0_result_1_6130": "Risoluzione del percorso reale per '{0}'. Risultato: '{1}'.",
@@ -1276,6 +1280,7 @@
1276
1280
  "Root_file_specified_for_compilation_1427": "File radice specificato per la compilazione",
1277
1281
  "STRATEGY_6039": "STRATEGIA",
1278
1282
  "Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642": "Salva i file .tsbuildinfo per consentire la compilazione incrementale dei progetti.",
1283
+ "Saw_non_matching_condition_0_6405": "Visualizzata la condizione di corrispondenza '{0}'.",
1279
1284
  "Scoped_package_detected_looking_in_0_6182": "Il pacchetto con ambito è stato rilevato. Verrà eseguita una ricerca in '{0}'",
1280
1285
  "Selection_is_not_a_valid_statement_or_statements_95155": "La selezione non corrisponde a una o più istruzioni valide",
1281
1286
  "Selection_is_not_a_valid_type_node_95133": "La selezione non corrisponde a un nodo di tipo valido",
@@ -1654,6 +1659,7 @@
1654
1659
  "Use_element_access_for_0_95145": "Usare l'accesso agli elementi per '{0}'",
1655
1660
  "Use_element_access_for_all_undeclared_properties_95146": "Usare l'accesso agli elementi per tutte le proprietà non dichiarate.",
1656
1661
  "Use_synthetic_default_member_95016": "Usare il membro 'default' sintetico.",
1662
+ "Using_0_subpath_1_with_target_2_6404": "Utilizzo di '{0}' sottotracciato '{1}' con destinazione '{2}'.",
1657
1663
  "Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494": "L'uso di una stringa in un'istruzione 'for...of' è supportato solo in ECMAScript 5 e versioni successive.",
1658
1664
  "Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915": "Se si usa --build, l'opzione -b modificherà il comportamento di tsc in modo che sia più simile a un agente di orchestrazione di compilazione che a un compilatore. Viene usata per attivare la compilazione di progetti compositi. Per altre informazioni, vedere {0}",
1659
1665
  "Using_compiler_options_of_project_reference_redirect_0_6215": "Using compiler options of project reference redirect '{0}'.",
@@ -660,6 +660,8 @@
660
660
  "Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219": "데코레이터에 대한 실험적 지원 기능은 이후 릴리스에서 변경될 수 있습니다. 이 경고를 제거하려면 'tsconfig' 또는 'jsconfig'에서 'experimentalDecorators' 옵션을 설정합니다.",
661
661
  "Explicitly_specified_module_resolution_kind_Colon_0_6087": "명시적으로 지정된 모듈 확인 종류 '{0}'입니다.",
662
662
  "Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791": "'target' 옵션이 'es2016' 이상으로 설정되어 있지 않으면 'bigint' 값에 지수화를 수행할 수 없습니다.",
663
+ "Export_0_from_module_1_90059": "'{0}'을(를) '{1}' 모듈에서 내보냅니다.",
664
+ "Export_all_referenced_locals_90060": "참조된 모든 로컬 내보내기",
663
665
  "Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203": "ECMAScript 모듈을 대상으로 하는 경우 내보내기 할당을 사용할 수 없습니다. 대신 'export default'나 다른 모듈 형식의 사용을 고려하세요.",
664
666
  "Export_assignment_is_not_supported_when_module_flag_is_system_1218": "'--module' 플래그가 'system'이면 내보내기 할당은 지원되지 않습니다.",
665
667
  "Export_declaration_conflicts_with_exported_declaration_of_0_2484": "내보내기 선언이 '{0}'의 내보낸 선언과 충돌합니다.",
@@ -908,6 +910,7 @@
908
910
  "Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650": "keyof가 문자열, 숫자 또는 기호 대신 문자열만 반환하도록 합니다. 레거시 옵션입니다.",
909
911
  "Make_super_call_the_first_statement_in_the_constructor_90002": "생성자의 첫 번째 문을 'super()'로 호출",
910
912
  "Mapped_object_type_implicitly_has_an_any_template_type_7039": "매핑된 개체 형식에는 'any' 템플릿 형식이 암시적으로 포함됩니다.",
913
+ "Matched_0_condition_1_6403": "'{0}' 조건 '{1}'과(와) 일치합니다.",
911
914
  "Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk_1457": "기본적으로 일치되는 포함 패턴 '**/*'",
912
915
  "Matched_by_include_pattern_0_in_1_1407": "'{1}'의 포함 패턴 '{0}'(으)로 일치되었습니다.",
913
916
  "Member_0_implicitly_has_an_1_type_7008": "'{0}' 멤버에는 암시적으로 '{1}' 형식이 포함됩니다.",
@@ -1220,6 +1223,7 @@
1220
1223
  "Resolution_for_module_0_was_found_in_cache_from_location_1_6147": "'{0}' 모듈에 대한 해결을 '{1}' 위치의 캐시에서 찾았습니다.",
1221
1224
  "Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241": "'{1}' 위치의 캐시에서 형식 참조 지시어 '{0}'에 대한 해상도가 발견되었습니다.",
1222
1225
  "Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195": "문자열 값 속성 이름에 대해서만 'keyof'를 확인합니다(숫자나 기호 아님).",
1226
+ "Resolving_in_0_mode_with_conditions_1_6402": "조건이 {1}인 {0} 모드에서 확인하는 중입니다.",
1223
1227
  "Resolving_module_0_from_1_6086": "======== '{1}'에서 '{0}' 모듈을 확인하는 중입니다. ========",
1224
1228
  "Resolving_module_name_0_relative_to_base_url_1_2_6094": "기본 URL '{1}' - '{2}'을(를) 기준으로 모듈 이름 '{0}'을(를) 확인하는 중입니다.",
1225
1229
  "Resolving_real_path_for_0_result_1_6130": "'{0}'의 실제 경로를 확인하는 중입니다. 결과: '{1}'.",
@@ -1276,6 +1280,7 @@
1276
1280
  "Root_file_specified_for_compilation_1427": "컴파일을 위해 지정된 루트 파일",
1277
1281
  "STRATEGY_6039": "전략",
1278
1282
  "Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642": "프로젝트의 증분 컴파일을 허용하도록 .tsbuildinfo 파일을 저장합니다.",
1283
+ "Saw_non_matching_condition_0_6405": "비일치 조건 '{0}'을(를) 확인했습니다.",
1279
1284
  "Scoped_package_detected_looking_in_0_6182": "범위가 지정된 패키지가 검색되었습니다. '{0}'에서 찾습니다.",
1280
1285
  "Selection_is_not_a_valid_statement_or_statements_95155": "선택 항목이 유효한 하나의 문 또는 여러 문이 아닙니다.",
1281
1286
  "Selection_is_not_a_valid_type_node_95133": "선택 영역이 유효한 형식 노드가 아닙니다.",
@@ -1654,6 +1659,7 @@
1654
1659
  "Use_element_access_for_0_95145": "'{0}'에 요소 액세스 사용",
1655
1660
  "Use_element_access_for_all_undeclared_properties_95146": "선언되지 않은 모든 속성에 요소 액세스를 사용합니다.",
1656
1661
  "Use_synthetic_default_member_95016": "가상 '기본' 멤버를 사용합니다.",
1662
+ "Using_0_subpath_1_with_target_2_6404": "'{0}' 하위 경로 '{1}'과(와) 대상 '{2}'을(를) 사용하는 중입니다.",
1657
1663
  "Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494": "ECMAScript 5 이상에서만 'for...of' 문에서 문자열을 사용할 수 있습니다.",
1658
1664
  "Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915": "--build를 사용하면 -b가 tsc로 하여금 컴파일러보다 빌드 오케스트레이터처럼 작동하도록 합니다. 이 항목은 {0}에서 더 자세히 알아볼 수 있는 복합 프로젝트를 구축하는 데 사용됩니다.",
1659
1665
  "Using_compiler_options_of_project_reference_redirect_0_6215": "프로젝트 참조 리디렉션 '{0}'의 컴파일러 옵션을 사용 중입니다.",
@@ -660,6 +660,8 @@
660
660
  "Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219": "O suporte experimental de decorador é um recurso que está sujeito a alterações em uma liberação futura. Configure a opção 'experimentalDecorators' em seu 'tsconfig' ou 'jsconfig' para remover este aviso.",
661
661
  "Explicitly_specified_module_resolution_kind_Colon_0_6087": "Tipo de resolução de módulo especificado explicitamente: '{0}'.",
662
662
  "Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791": "A exponenciação não pode ser executada nos valores 'bigint', a menos que a opção 'target' esteja definida como 'es2016' ou posterior.",
663
+ "Export_0_from_module_1_90059": "Exportar '{0}' do módulo '{1}'",
664
+ "Export_all_referenced_locals_90060": "Exportar todos os locais referenciados",
663
665
  "Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203": "Não é possível usar a atribuição de exportação durante o direcionamento para módulos de ECMAScript. Use a 'exportação padrão' ou outro formato de módulo em vez disso.",
664
666
  "Export_assignment_is_not_supported_when_module_flag_is_system_1218": "A atribuição de exportação não tem suporte quando o sinalizador '--module' é 'system'.",
665
667
  "Export_declaration_conflicts_with_exported_declaration_of_0_2484": "Exportar conflitos de declaração com declaração exportada de '{0}'.",
@@ -908,6 +910,7 @@
908
910
  "Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650": "Fazer com que o keyof retorne apenas cadeias de caracteres, números ou símbolos. Opção herdada.",
909
911
  "Make_super_call_the_first_statement_in_the_constructor_90002": "Tornar a chamada 'super()' a primeira instrução no construtor",
910
912
  "Mapped_object_type_implicitly_has_an_any_template_type_7039": "O tipo de objeto mapeado implicitamente tem um tipo de modelo 'any'.",
913
+ "Matched_0_condition_1_6403": "'{0}' correspondente à condição '{1}'.",
911
914
  "Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk_1457": "Correspondido por padrão de inclusão padrão '**/*'",
912
915
  "Matched_by_include_pattern_0_in_1_1407": "Correspondência pelo padrão de inclusão '{0}' em '{1}'",
913
916
  "Member_0_implicitly_has_an_1_type_7008": "O membro '{0}' implicitamente tem um tipo '{1}'.",
@@ -1220,6 +1223,7 @@
1220
1223
  "Resolution_for_module_0_was_found_in_cache_from_location_1_6147": "A resolução para o módulo '{0}' foi encontrada no cache do local '{1}'.",
1221
1224
  "Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241": "A resolução para a diretiva de referência de tipo '{0}' foi encontrada no cache a partir do local '{1}'.",
1222
1225
  "Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195": "Resolva 'keyof' somente para nomes de propriedades com valores de cadeia de caracteres (sem números nem símbolos).",
1226
+ "Resolving_in_0_mode_with_conditions_1_6402": "Resolvendo no modo {0} com condições {1}.",
1223
1227
  "Resolving_module_0_from_1_6086": "======== Resolvendo módulo '{0}' de '{1}'. ========",
1224
1228
  "Resolving_module_name_0_relative_to_base_url_1_2_6094": "Resolvendo nome de módulo '{0}' relativo à URL base '{1}' - '{2}'.",
1225
1229
  "Resolving_real_path_for_0_result_1_6130": "Resolvendo o caminho real de '{0}', resultado '{1}'.",
@@ -1276,6 +1280,7 @@
1276
1280
  "Root_file_specified_for_compilation_1427": "Arquivo raiz especificado para compilação",
1277
1281
  "STRATEGY_6039": "ESTRATÉGIA",
1278
1282
  "Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642": "Salvar arquivos .tsbuildinfo para permitir a compilação incremental de projetos.",
1283
+ "Saw_non_matching_condition_0_6405": "Viu condição de não correspondência '{0}'.",
1279
1284
  "Scoped_package_detected_looking_in_0_6182": "Pacote com escopo detectado, procurando no '{0}'",
1280
1285
  "Selection_is_not_a_valid_statement_or_statements_95155": "A seleção não é uma instrução ou instruções válidas",
1281
1286
  "Selection_is_not_a_valid_type_node_95133": "A seleção não é um nó de tipo válido",
@@ -1654,6 +1659,7 @@
1654
1659
  "Use_element_access_for_0_95145": "Usar o acesso de elemento para '{0}'",
1655
1660
  "Use_element_access_for_all_undeclared_properties_95146": "Usar o acesso de elemento para todas as propriedades não declaradas.",
1656
1661
  "Use_synthetic_default_member_95016": "Use o membro sintético 'padrão'.",
1662
+ "Using_0_subpath_1_with_target_2_6404": "Usando '{0}' subcaminho '{1}' com destino '{2}'.",
1657
1663
  "Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494": "Há suporte para o uso de uma cadeia de caracteres em uma instrução 'for...of' somente no ECMAScript 5 e superior.",
1658
1664
  "Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915": "Usar --build, -b fará com que o tsc se comporte mais como um orquestrador de build do que como um compilador. Isso é usado para acionar a construção de projetos compostos sobre os quais você pode aprender mais em {0}",
1659
1665
  "Using_compiler_options_of_project_reference_redirect_0_6215": "Usando as opções do compilador de redirecionamento de referência do projeto '{0}'.",
package/lib/tsc.js CHANGED
@@ -69,7 +69,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
69
69
  var ts;
70
70
  (function (ts) {
71
71
  ts.versionMajorMinor = "4.9";
72
- ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20221017");
72
+ ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20221019");
73
73
  var NativeCollections;
74
74
  (function (NativeCollections) {
75
75
  var globals = typeof globalThis !== "undefined" ? globalThis :
@@ -60362,7 +60362,7 @@ var ts;
60362
60362
  type = narrowTypeBySwitchOnDiscriminant(type, flow.switchStatement, flow.clauseStart, flow.clauseEnd);
60363
60363
  }
60364
60364
  else if (expr.kind === 218 && isMatchingReference(reference, expr.expression)) {
60365
- type = narrowBySwitchOnTypeOf(type, flow.switchStatement, flow.clauseStart, flow.clauseEnd);
60365
+ type = narrowTypeBySwitchOnTypeOf(type, flow.switchStatement, flow.clauseStart, flow.clauseEnd);
60366
60366
  }
60367
60367
  else {
60368
60368
  if (strictNullChecks) {
@@ -60595,7 +60595,7 @@ var ts;
60595
60595
  !!(prop.flags & 16777216) || assumeTrue :
60596
60596
  !!getApplicableIndexInfoForName(type, propName) || !assumeTrue;
60597
60597
  }
60598
- function narrowByInKeyword(type, nameType, assumeTrue) {
60598
+ function narrowTypeByInKeyword(type, nameType, assumeTrue) {
60599
60599
  var name = getPropertyNameFromType(nameType);
60600
60600
  var isKnownProperty = someType(type, function (t) { return isTypePresencePossible(t, name, true); });
60601
60601
  if (isKnownProperty) {
@@ -60672,7 +60672,7 @@ var ts;
60672
60672
  return getTypeWithFacts(type, assumeTrue ? 524288 : 65536);
60673
60673
  }
60674
60674
  if (isMatchingReference(reference, target)) {
60675
- return narrowByInKeyword(type, leftType, assumeTrue);
60675
+ return narrowTypeByInKeyword(type, leftType, assumeTrue);
60676
60676
  }
60677
60677
  }
60678
60678
  break;
@@ -60834,7 +60834,7 @@ var ts;
60834
60834
  neverType;
60835
60835
  });
60836
60836
  }
60837
- function narrowBySwitchOnTypeOf(type, switchStatement, clauseStart, clauseEnd) {
60837
+ function narrowTypeBySwitchOnTypeOf(type, switchStatement, clauseStart, clauseEnd) {
60838
60838
  var witnesses = getSwitchClauseTypeOfWitnesses(switchStatement);
60839
60839
  if (!witnesses) {
60840
60840
  return type;
@@ -69785,7 +69785,7 @@ var ts;
69785
69785
  if (isGenericObjectType(type)) {
69786
69786
  var baseConstraint = getBaseConstraintOfType(type);
69787
69787
  if (baseConstraint ?
69788
- baseConstraint.flags & 3 || isEmptyObjectType(baseConstraint) || isThenableType(baseConstraint) :
69788
+ baseConstraint.flags & 3 || isEmptyObjectType(baseConstraint) || someType(baseConstraint, isThenableType) :
69789
69789
  maybeTypeOfKind(type, 8650752)) {
69790
69790
  return true;
69791
69791
  }
@@ -72940,11 +72940,10 @@ var ts;
72940
72940
  }
72941
72941
  }
72942
72942
  function checkModuleAugmentationElement(node, isGlobalAugmentation) {
72943
- var _a;
72944
72943
  switch (node.kind) {
72945
72944
  case 240:
72946
- for (var _i = 0, _b = node.declarationList.declarations; _i < _b.length; _i++) {
72947
- var decl = _b[_i];
72945
+ for (var _i = 0, _a = node.declarationList.declarations; _i < _a.length; _i++) {
72946
+ var decl = _a[_i];
72948
72947
  checkModuleAugmentationElement(decl, isGlobalAugmentation);
72949
72948
  }
72950
72949
  break;
@@ -72960,8 +72959,8 @@ var ts;
72960
72959
  case 257:
72961
72960
  var name = node.name;
72962
72961
  if (ts.isBindingPattern(name)) {
72963
- for (var _c = 0, _d = name.elements; _c < _d.length; _c++) {
72964
- var el = _d[_c];
72962
+ for (var _b = 0, _c = name.elements; _b < _c.length; _b++) {
72963
+ var el = _c[_b];
72965
72964
  checkModuleAugmentationElement(el, isGlobalAugmentation);
72966
72965
  }
72967
72966
  break;
@@ -72975,13 +72974,6 @@ var ts;
72975
72974
  if (isGlobalAugmentation) {
72976
72975
  return;
72977
72976
  }
72978
- var symbol = getSymbolOfNode(node);
72979
- if (symbol) {
72980
- var reportError = !(symbol.flags & 33554432);
72981
- if (!reportError) {
72982
- reportError = !!((_a = symbol.parent) === null || _a === void 0 ? void 0 : _a.declarations) && ts.isExternalModuleAugmentation(symbol.parent.declarations[0]);
72983
- }
72984
- }
72985
72977
  break;
72986
72978
  }
72987
72979
  }
@@ -88713,18 +88705,18 @@ var ts;
88713
88705
  return createImportCallExpressionUMD(argument !== null && argument !== void 0 ? argument : factory.createVoidZero(), containsLexicalThis);
88714
88706
  case ts.ModuleKind.CommonJS:
88715
88707
  default:
88716
- return createImportCallExpressionCommonJS(argument, containsLexicalThis);
88708
+ return createImportCallExpressionCommonJS(argument);
88717
88709
  }
88718
88710
  }
88719
88711
  function createImportCallExpressionUMD(arg, containsLexicalThis) {
88720
88712
  needUMDDynamicImportHelper = true;
88721
88713
  if (ts.isSimpleCopiableExpression(arg)) {
88722
88714
  var argClone = ts.isGeneratedIdentifier(arg) ? arg : ts.isStringLiteral(arg) ? factory.createStringLiteralFromNode(arg) : ts.setEmitFlags(ts.setTextRange(factory.cloneNode(arg), arg), 1536);
88723
- return factory.createConditionalExpression(factory.createIdentifier("__syncRequire"), undefined, createImportCallExpressionCommonJS(arg, containsLexicalThis), undefined, createImportCallExpressionAMD(argClone, containsLexicalThis));
88715
+ return factory.createConditionalExpression(factory.createIdentifier("__syncRequire"), undefined, createImportCallExpressionCommonJS(arg), undefined, createImportCallExpressionAMD(argClone, containsLexicalThis));
88724
88716
  }
88725
88717
  else {
88726
88718
  var temp = factory.createTempVariable(hoistVariableDeclaration);
88727
- return factory.createComma(factory.createAssignment(temp, arg), factory.createConditionalExpression(factory.createIdentifier("__syncRequire"), undefined, createImportCallExpressionCommonJS(temp, containsLexicalThis), undefined, createImportCallExpressionAMD(temp, containsLexicalThis)));
88719
+ return factory.createComma(factory.createAssignment(temp, arg), factory.createConditionalExpression(factory.createIdentifier("__syncRequire"), undefined, createImportCallExpressionCommonJS(temp, true), undefined, createImportCallExpressionAMD(temp, containsLexicalThis)));
88728
88720
  }
88729
88721
  }
88730
88722
  function createImportCallExpressionAMD(arg, containsLexicalThis) {
@@ -88753,9 +88745,10 @@ var ts;
88753
88745
  }
88754
88746
  return promise;
88755
88747
  }
88756
- function createImportCallExpressionCommonJS(arg, containsLexicalThis) {
88748
+ function createImportCallExpressionCommonJS(arg, isInlineable) {
88749
+ var temp = arg && !ts.isSimpleInlineableExpression(arg) && !isInlineable ? factory.createTempVariable(hoistVariableDeclaration) : undefined;
88757
88750
  var promiseResolveCall = factory.createCallExpression(factory.createPropertyAccessExpression(factory.createIdentifier("Promise"), "resolve"), undefined, []);
88758
- var requireCall = factory.createCallExpression(factory.createIdentifier("require"), undefined, arg ? [arg] : []);
88751
+ var requireCall = factory.createCallExpression(factory.createIdentifier("require"), undefined, temp ? [temp] : arg ? [arg] : []);
88759
88752
  if (ts.getESModuleInterop(compilerOptions)) {
88760
88753
  requireCall = emitHelpers().createImportStarHelper(requireCall);
88761
88754
  }
@@ -88765,11 +88758,9 @@ var ts;
88765
88758
  }
88766
88759
  else {
88767
88760
  func = factory.createFunctionExpression(undefined, undefined, undefined, undefined, [], undefined, factory.createBlock([factory.createReturnStatement(requireCall)]));
88768
- if (containsLexicalThis) {
88769
- ts.setEmitFlags(func, 8);
88770
- }
88771
88761
  }
88772
- return factory.createCallExpression(factory.createPropertyAccessExpression(promiseResolveCall, "then"), undefined, [func]);
88762
+ var downleveledImport = factory.createCallExpression(factory.createPropertyAccessExpression(promiseResolveCall, "then"), undefined, [func]);
88763
+ return temp === undefined ? downleveledImport : factory.createCommaListExpression([factory.createAssignment(temp, arg), downleveledImport]);
88773
88764
  }
88774
88765
  function getHelperExpressionForExport(node, innerExpr) {
88775
88766
  if (!ts.getESModuleInterop(compilerOptions) || ts.getEmitFlags(node) & 67108864) {
package/lib/tsserver.js CHANGED
@@ -109,7 +109,7 @@ var ts;
109
109
  // The following is baselined as a literal template type without intervention
110
110
  /** The version of the TypeScript compiler release */
111
111
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
112
- ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20221017");
112
+ ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20221019");
113
113
  /* @internal */
114
114
  var Comparison;
115
115
  (function (Comparison) {
@@ -21720,13 +21720,11 @@ var ts;
21720
21720
  * Creates a `BaseNodeFactory` which can be used to create `Node` instances from the constructors provided by the object allocator.
21721
21721
  */
21722
21722
  function createBaseNodeFactory() {
21723
- // tslint:disable variable-name
21724
21723
  var NodeConstructor;
21725
21724
  var TokenConstructor;
21726
21725
  var IdentifierConstructor;
21727
21726
  var PrivateIdentifierConstructor;
21728
21727
  var SourceFileConstructor;
21729
- // tslint:enable variable-name
21730
21728
  return {
21731
21729
  createBaseSourceFileNode: createBaseSourceFileNode,
21732
21730
  createBaseIdentifierNode: createBaseIdentifierNode,
@@ -27658,11 +27656,9 @@ var ts;
27658
27656
  rawTextScanner.setText("`" + rawText + "`");
27659
27657
  break;
27660
27658
  case 15 /* SyntaxKind.TemplateHead */:
27661
- // tslint:disable-next-line no-invalid-template-strings
27662
27659
  rawTextScanner.setText("`" + rawText + "${");
27663
27660
  break;
27664
27661
  case 16 /* SyntaxKind.TemplateMiddle */:
27665
- // tslint:disable-next-line no-invalid-template-strings
27666
27662
  rawTextScanner.setText("}" + rawText + "${");
27667
27663
  break;
27668
27664
  case 17 /* SyntaxKind.TemplateTail */:
@@ -28021,7 +28017,6 @@ var ts;
28021
28017
  return node;
28022
28018
  }
28023
28019
  ts.createInputFiles = createInputFiles;
28024
- // tslint:disable-next-line variable-name
28025
28020
  var SourceMapSource;
28026
28021
  /**
28027
28022
  * Create an external source map source file reference
@@ -32155,13 +32150,11 @@ var ts;
32155
32150
  var scanner = ts.createScanner(99 /* ScriptTarget.Latest */, /*skipTrivia*/ true);
32156
32151
  var disallowInAndDecoratorContext = 4096 /* NodeFlags.DisallowInContext */ | 16384 /* NodeFlags.DecoratorContext */;
32157
32152
  // capture constructors in 'initializeState' to avoid null checks
32158
- // tslint:disable variable-name
32159
32153
  var NodeConstructor;
32160
32154
  var TokenConstructor;
32161
32155
  var IdentifierConstructor;
32162
32156
  var PrivateIdentifierConstructor;
32163
32157
  var SourceFileConstructor;
32164
- // tslint:enable variable-name
32165
32158
  function countNode(node) {
32166
32159
  nodeCount++;
32167
32160
  return node;
@@ -72131,7 +72124,7 @@ var ts;
72131
72124
  type = narrowTypeBySwitchOnDiscriminant(type, flow.switchStatement, flow.clauseStart, flow.clauseEnd);
72132
72125
  }
72133
72126
  else if (expr.kind === 218 /* SyntaxKind.TypeOfExpression */ && isMatchingReference(reference, expr.expression)) {
72134
- type = narrowBySwitchOnTypeOf(type, flow.switchStatement, flow.clauseStart, flow.clauseEnd);
72127
+ type = narrowTypeBySwitchOnTypeOf(type, flow.switchStatement, flow.clauseStart, flow.clauseEnd);
72135
72128
  }
72136
72129
  else {
72137
72130
  if (strictNullChecks) {
@@ -72412,7 +72405,7 @@ var ts;
72412
72405
  !!(prop.flags & 16777216 /* SymbolFlags.Optional */) || assumeTrue :
72413
72406
  !!getApplicableIndexInfoForName(type, propName) || !assumeTrue;
72414
72407
  }
72415
- function narrowByInKeyword(type, nameType, assumeTrue) {
72408
+ function narrowTypeByInKeyword(type, nameType, assumeTrue) {
72416
72409
  var name = getPropertyNameFromType(nameType);
72417
72410
  var isKnownProperty = someType(type, function (t) { return isTypePresencePossible(t, name, /*assumeTrue*/ true); });
72418
72411
  if (isKnownProperty) {
@@ -72493,7 +72486,7 @@ var ts;
72493
72486
  return getTypeWithFacts(type, assumeTrue ? 524288 /* TypeFacts.NEUndefined */ : 65536 /* TypeFacts.EQUndefined */);
72494
72487
  }
72495
72488
  if (isMatchingReference(reference, target)) {
72496
- return narrowByInKeyword(type, leftType, assumeTrue);
72489
+ return narrowTypeByInKeyword(type, leftType, assumeTrue);
72497
72490
  }
72498
72491
  }
72499
72492
  break;
@@ -72682,7 +72675,7 @@ var ts;
72682
72675
  neverType;
72683
72676
  });
72684
72677
  }
72685
- function narrowBySwitchOnTypeOf(type, switchStatement, clauseStart, clauseEnd) {
72678
+ function narrowTypeBySwitchOnTypeOf(type, switchStatement, clauseStart, clauseEnd) {
72686
72679
  var witnesses = getSwitchClauseTypeOfWitnesses(switchStatement);
72687
72680
  if (!witnesses) {
72688
72681
  return type;
@@ -83049,7 +83042,7 @@ var ts;
83049
83042
  // We only need `Awaited<T>` if `T` is a type variable that has no base constraint, or the base constraint of `T` is `any`, `unknown`, `{}`, `object`,
83050
83043
  // or is promise-like.
83051
83044
  if (baseConstraint ?
83052
- baseConstraint.flags & 3 /* TypeFlags.AnyOrUnknown */ || isEmptyObjectType(baseConstraint) || isThenableType(baseConstraint) :
83045
+ baseConstraint.flags & 3 /* TypeFlags.AnyOrUnknown */ || isEmptyObjectType(baseConstraint) || someType(baseConstraint, isThenableType) :
83053
83046
  maybeTypeOfKind(type, 8650752 /* TypeFlags.TypeVariable */)) {
83054
83047
  return true;
83055
83048
  }
@@ -86864,12 +86857,11 @@ var ts;
86864
86857
  }
86865
86858
  }
86866
86859
  function checkModuleAugmentationElement(node, isGlobalAugmentation) {
86867
- var _a;
86868
86860
  switch (node.kind) {
86869
86861
  case 240 /* SyntaxKind.VariableStatement */:
86870
86862
  // error each individual name in variable statement instead of marking the entire variable statement
86871
- for (var _i = 0, _b = node.declarationList.declarations; _i < _b.length; _i++) {
86872
- var decl = _b[_i];
86863
+ for (var _i = 0, _a = node.declarationList.declarations; _i < _a.length; _i++) {
86864
+ var decl = _a[_i];
86873
86865
  checkModuleAugmentationElement(decl, isGlobalAugmentation);
86874
86866
  }
86875
86867
  break;
@@ -86885,8 +86877,8 @@ var ts;
86885
86877
  case 257 /* SyntaxKind.VariableDeclaration */:
86886
86878
  var name = node.name;
86887
86879
  if (ts.isBindingPattern(name)) {
86888
- for (var _c = 0, _d = name.elements; _c < _d.length; _c++) {
86889
- var el = _d[_c];
86880
+ for (var _b = 0, _c = name.elements; _b < _c.length; _b++) {
86881
+ var el = _c[_b];
86890
86882
  // mark individual names in binding pattern
86891
86883
  checkModuleAugmentationElement(el, isGlobalAugmentation);
86892
86884
  }
@@ -86902,18 +86894,6 @@ var ts;
86902
86894
  if (isGlobalAugmentation) {
86903
86895
  return;
86904
86896
  }
86905
- var symbol = getSymbolOfNode(node);
86906
- if (symbol) {
86907
- // module augmentations cannot introduce new names on the top level scope of the module
86908
- // this is done it two steps
86909
- // 1. quick check - if symbol for node is not merged - this is local symbol to this augmentation - report error
86910
- // 2. main check - report error if value declaration of the parent symbol is module augmentation)
86911
- var reportError = !(symbol.flags & 33554432 /* SymbolFlags.Transient */);
86912
- if (!reportError) {
86913
- // symbol should not originate in augmentation
86914
- reportError = !!((_a = symbol.parent) === null || _a === void 0 ? void 0 : _a.declarations) && ts.isExternalModuleAugmentation(symbol.parent.declarations[0]);
86915
- }
86916
- }
86917
86897
  break;
86918
86898
  }
86919
86899
  }
@@ -107408,7 +107388,7 @@ var ts;
107408
107388
  return createImportCallExpressionUMD(argument !== null && argument !== void 0 ? argument : factory.createVoidZero(), containsLexicalThis);
107409
107389
  case ts.ModuleKind.CommonJS:
107410
107390
  default:
107411
- return createImportCallExpressionCommonJS(argument, containsLexicalThis);
107391
+ return createImportCallExpressionCommonJS(argument);
107412
107392
  }
107413
107393
  }
107414
107394
  function createImportCallExpressionUMD(arg, containsLexicalThis) {
@@ -107431,7 +107411,7 @@ var ts;
107431
107411
  return factory.createConditionalExpression(
107432
107412
  /*condition*/ factory.createIdentifier("__syncRequire"),
107433
107413
  /*questionToken*/ undefined,
107434
- /*whenTrue*/ createImportCallExpressionCommonJS(arg, containsLexicalThis),
107414
+ /*whenTrue*/ createImportCallExpressionCommonJS(arg),
107435
107415
  /*colonToken*/ undefined,
107436
107416
  /*whenFalse*/ createImportCallExpressionAMD(argClone, containsLexicalThis));
107437
107417
  }
@@ -107440,7 +107420,7 @@ var ts;
107440
107420
  return factory.createComma(factory.createAssignment(temp, arg), factory.createConditionalExpression(
107441
107421
  /*condition*/ factory.createIdentifier("__syncRequire"),
107442
107422
  /*questionToken*/ undefined,
107443
- /*whenTrue*/ createImportCallExpressionCommonJS(temp, containsLexicalThis),
107423
+ /*whenTrue*/ createImportCallExpressionCommonJS(temp, /* isInlineable */ true),
107444
107424
  /*colonToken*/ undefined,
107445
107425
  /*whenFalse*/ createImportCallExpressionAMD(temp, containsLexicalThis)));
107446
107426
  }
@@ -107490,14 +107470,20 @@ var ts;
107490
107470
  }
107491
107471
  return promise;
107492
107472
  }
107493
- function createImportCallExpressionCommonJS(arg, containsLexicalThis) {
107494
- // import("./blah")
107473
+ function createImportCallExpressionCommonJS(arg, isInlineable) {
107474
+ // import(x)
107495
107475
  // emit as
107496
- // Promise.resolve().then(function () { return require(x); }) /*CommonJs Require*/
107476
+ // var _a;
107477
+ // (_a = x, Promise.resolve().then(() => require(_a)) /*CommonJs Require*/
107497
107478
  // We have to wrap require in then callback so that require is done in asynchronously
107498
107479
  // if we simply do require in resolve callback in Promise constructor. We will execute the loading immediately
107499
- var promiseResolveCall = factory.createCallExpression(factory.createPropertyAccessExpression(factory.createIdentifier("Promise"), "resolve"), /*typeArguments*/ undefined, /*argumentsArray*/ []);
107500
- var requireCall = factory.createCallExpression(factory.createIdentifier("require"), /*typeArguments*/ undefined, arg ? [arg] : []);
107480
+ // If the arg is not inlineable, we have to evaluate it in the current scope with a temp var
107481
+ var temp = arg && !ts.isSimpleInlineableExpression(arg) && !isInlineable ? factory.createTempVariable(hoistVariableDeclaration) : undefined;
107482
+ var promiseResolveCall = factory.createCallExpression(factory.createPropertyAccessExpression(factory.createIdentifier("Promise"), "resolve"),
107483
+ /*typeArguments*/ undefined,
107484
+ /*argumentsArray*/ []);
107485
+ var requireCall = factory.createCallExpression(factory.createIdentifier("require"),
107486
+ /*typeArguments*/ undefined, temp ? [temp] : arg ? [arg] : []);
107501
107487
  if (ts.getESModuleInterop(compilerOptions)) {
107502
107488
  requireCall = emitHelpers().createImportStarHelper(requireCall);
107503
107489
  }
@@ -107518,14 +107504,9 @@ var ts;
107518
107504
  /*typeParameters*/ undefined,
107519
107505
  /*parameters*/ [],
107520
107506
  /*type*/ undefined, factory.createBlock([factory.createReturnStatement(requireCall)]));
107521
- // if there is a lexical 'this' in the import call arguments, ensure we indicate
107522
- // that this new function expression indicates it captures 'this' so that the
107523
- // es2015 transformer will properly substitute 'this' with '_this'.
107524
- if (containsLexicalThis) {
107525
- ts.setEmitFlags(func, 8 /* EmitFlags.CapturesThis */);
107526
- }
107527
107507
  }
107528
- return factory.createCallExpression(factory.createPropertyAccessExpression(promiseResolveCall, "then"), /*typeArguments*/ undefined, [func]);
107508
+ var downleveledImport = factory.createCallExpression(factory.createPropertyAccessExpression(promiseResolveCall, "then"), /*typeArguments*/ undefined, [func]);
107509
+ return temp === undefined ? downleveledImport : factory.createCommaListExpression([factory.createAssignment(temp, arg), downleveledImport]);
107529
107510
  }
107530
107511
  function getHelperExpressionForExport(node, innerExpr) {
107531
107512
  if (!ts.getESModuleInterop(compilerOptions) || ts.getEmitFlags(node) & 67108864 /* EmitFlags.NeverApplyImportHelper */) {
@@ -135481,7 +135462,7 @@ var ts;
135481
135462
  if (preferences.includeCompletionsWithClassMemberSnippets &&
135482
135463
  preferences.includeCompletionsWithInsertText &&
135483
135464
  completionKind === 3 /* CompletionKind.MemberLike */ &&
135484
- isClassLikeMemberCompletion(symbol, location)) {
135465
+ isClassLikeMemberCompletion(symbol, location, sourceFile)) {
135485
135466
  var importAdder = void 0;
135486
135467
  (_b = getEntryForMemberCompletion(host, program, options, preferences, name, symbol, location, contextToken, formatContext), insertText = _b.insertText, isSnippet = _b.isSnippet, importAdder = _b.importAdder, replacementSpan = _b.replacementSpan);
135487
135468
  sortText = Completions.SortText.ClassMemberSnippets; // sortText has to be lower priority than the sortText for keywords. See #47852.
@@ -135553,7 +135534,7 @@ var ts;
135553
135534
  data: data,
135554
135535
  };
135555
135536
  }
135556
- function isClassLikeMemberCompletion(symbol, location) {
135537
+ function isClassLikeMemberCompletion(symbol, location, sourceFile) {
135557
135538
  // TODO: support JS files.
135558
135539
  if (ts.isInJSFile(location)) {
135559
135540
  return false;
@@ -135587,6 +135568,7 @@ var ts;
135587
135568
  location.parent.parent &&
135588
135569
  ts.isClassElement(location.parent) &&
135589
135570
  location === location.parent.name &&
135571
+ location.parent.getLastToken(sourceFile) === location.parent.name &&
135590
135572
  ts.isClassLike(location.parent.parent)) ||
135591
135573
  (location.parent &&
135592
135574
  ts.isSyntaxList(location) &&
@@ -143599,19 +143581,24 @@ var ts;
143599
143581
  return getCommentOwnerInfoWorker(commentOwner.initializer, options);
143600
143582
  case 260 /* SyntaxKind.ClassDeclaration */:
143601
143583
  case 261 /* SyntaxKind.InterfaceDeclaration */:
143602
- case 168 /* SyntaxKind.PropertySignature */:
143603
143584
  case 263 /* SyntaxKind.EnumDeclaration */:
143604
143585
  case 302 /* SyntaxKind.EnumMember */:
143605
143586
  case 262 /* SyntaxKind.TypeAliasDeclaration */:
143606
143587
  return { commentOwner: commentOwner };
143588
+ case 168 /* SyntaxKind.PropertySignature */: {
143589
+ var host_1 = commentOwner;
143590
+ return host_1.type && ts.isFunctionTypeNode(host_1.type)
143591
+ ? { commentOwner: commentOwner, parameters: host_1.type.parameters, hasReturn: hasReturn(host_1.type, options) }
143592
+ : { commentOwner: commentOwner };
143593
+ }
143607
143594
  case 240 /* SyntaxKind.VariableStatement */: {
143608
143595
  var varStatement = commentOwner;
143609
143596
  var varDeclarations = varStatement.declarationList.declarations;
143610
- var host_1 = varDeclarations.length === 1 && varDeclarations[0].initializer
143597
+ var host_2 = varDeclarations.length === 1 && varDeclarations[0].initializer
143611
143598
  ? getRightHandSideOfAssignment(varDeclarations[0].initializer)
143612
143599
  : undefined;
143613
- return host_1
143614
- ? { commentOwner: commentOwner, parameters: host_1.parameters, hasReturn: hasReturn(host_1, options) }
143600
+ return host_2
143601
+ ? { commentOwner: commentOwner, parameters: host_2.parameters, hasReturn: hasReturn(host_2, options) }
143615
143602
  : { commentOwner: commentOwner };
143616
143603
  }
143617
143604
  case 308 /* SyntaxKind.SourceFile */:
@@ -143641,7 +143628,7 @@ var ts;
143641
143628
  }
143642
143629
  function hasReturn(node, options) {
143643
143630
  return !!(options === null || options === void 0 ? void 0 : options.generateReturnInDocTemplate) &&
143644
- (ts.isArrowFunction(node) && ts.isExpression(node.body)
143631
+ (ts.isFunctionTypeNode(node) || ts.isArrowFunction(node) && ts.isExpression(node.body)
143645
143632
  || ts.isFunctionLikeDeclaration(node) && node.body && ts.isBlock(node.body) && !!ts.forEachReturnStatement(node.body, function (n) { return n; }));
143646
143633
  }
143647
143634
  function getRightHandSideOfAssignment(rightHandSide) {