typescript 4.9.0-dev.20221017 → 4.9.0-dev.20221018
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/es/diagnosticMessages.generated.json +6 -0
- package/lib/it/diagnosticMessages.generated.json +6 -0
- package/lib/ko/diagnosticMessages.generated.json +6 -0
- package/lib/pt-br/diagnosticMessages.generated.json +6 -0
- package/lib/tsc.js +5 -13
- package/lib/tsserver.js +18 -25
- package/lib/tsserverlibrary.js +18 -25
- package/lib/typescript.js +18 -25
- package/lib/typescriptServices.js +18 -25
- package/lib/typingsInstaller.js +5 -18
- package/lib/zh-cn/diagnosticMessages.generated.json +6 -0
- package/package.json +1 -1
|
@@ -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.
|
|
72
|
+
ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20221018");
|
|
73
73
|
var NativeCollections;
|
|
74
74
|
(function (NativeCollections) {
|
|
75
75
|
var globals = typeof globalThis !== "undefined" ? globalThis :
|
|
@@ -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,
|
|
72947
|
-
var decl =
|
|
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
|
|
72964
|
-
var el =
|
|
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
|
}
|
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.
|
|
112
|
+
ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20221018");
|
|
113
113
|
/* @internal */
|
|
114
114
|
var Comparison;
|
|
115
115
|
(function (Comparison) {
|
|
@@ -86864,12 +86864,11 @@ var ts;
|
|
|
86864
86864
|
}
|
|
86865
86865
|
}
|
|
86866
86866
|
function checkModuleAugmentationElement(node, isGlobalAugmentation) {
|
|
86867
|
-
var _a;
|
|
86868
86867
|
switch (node.kind) {
|
|
86869
86868
|
case 240 /* SyntaxKind.VariableStatement */:
|
|
86870
86869
|
// error each individual name in variable statement instead of marking the entire variable statement
|
|
86871
|
-
for (var _i = 0,
|
|
86872
|
-
var decl =
|
|
86870
|
+
for (var _i = 0, _a = node.declarationList.declarations; _i < _a.length; _i++) {
|
|
86871
|
+
var decl = _a[_i];
|
|
86873
86872
|
checkModuleAugmentationElement(decl, isGlobalAugmentation);
|
|
86874
86873
|
}
|
|
86875
86874
|
break;
|
|
@@ -86885,8 +86884,8 @@ var ts;
|
|
|
86885
86884
|
case 257 /* SyntaxKind.VariableDeclaration */:
|
|
86886
86885
|
var name = node.name;
|
|
86887
86886
|
if (ts.isBindingPattern(name)) {
|
|
86888
|
-
for (var
|
|
86889
|
-
var el =
|
|
86887
|
+
for (var _b = 0, _c = name.elements; _b < _c.length; _b++) {
|
|
86888
|
+
var el = _c[_b];
|
|
86890
86889
|
// mark individual names in binding pattern
|
|
86891
86890
|
checkModuleAugmentationElement(el, isGlobalAugmentation);
|
|
86892
86891
|
}
|
|
@@ -86902,18 +86901,6 @@ var ts;
|
|
|
86902
86901
|
if (isGlobalAugmentation) {
|
|
86903
86902
|
return;
|
|
86904
86903
|
}
|
|
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
86904
|
break;
|
|
86918
86905
|
}
|
|
86919
86906
|
}
|
|
@@ -135481,7 +135468,7 @@ var ts;
|
|
|
135481
135468
|
if (preferences.includeCompletionsWithClassMemberSnippets &&
|
|
135482
135469
|
preferences.includeCompletionsWithInsertText &&
|
|
135483
135470
|
completionKind === 3 /* CompletionKind.MemberLike */ &&
|
|
135484
|
-
isClassLikeMemberCompletion(symbol, location)) {
|
|
135471
|
+
isClassLikeMemberCompletion(symbol, location, sourceFile)) {
|
|
135485
135472
|
var importAdder = void 0;
|
|
135486
135473
|
(_b = getEntryForMemberCompletion(host, program, options, preferences, name, symbol, location, contextToken, formatContext), insertText = _b.insertText, isSnippet = _b.isSnippet, importAdder = _b.importAdder, replacementSpan = _b.replacementSpan);
|
|
135487
135474
|
sortText = Completions.SortText.ClassMemberSnippets; // sortText has to be lower priority than the sortText for keywords. See #47852.
|
|
@@ -135553,7 +135540,7 @@ var ts;
|
|
|
135553
135540
|
data: data,
|
|
135554
135541
|
};
|
|
135555
135542
|
}
|
|
135556
|
-
function isClassLikeMemberCompletion(symbol, location) {
|
|
135543
|
+
function isClassLikeMemberCompletion(symbol, location, sourceFile) {
|
|
135557
135544
|
// TODO: support JS files.
|
|
135558
135545
|
if (ts.isInJSFile(location)) {
|
|
135559
135546
|
return false;
|
|
@@ -135587,6 +135574,7 @@ var ts;
|
|
|
135587
135574
|
location.parent.parent &&
|
|
135588
135575
|
ts.isClassElement(location.parent) &&
|
|
135589
135576
|
location === location.parent.name &&
|
|
135577
|
+
location.parent.getLastToken(sourceFile) === location.parent.name &&
|
|
135590
135578
|
ts.isClassLike(location.parent.parent)) ||
|
|
135591
135579
|
(location.parent &&
|
|
135592
135580
|
ts.isSyntaxList(location) &&
|
|
@@ -143599,19 +143587,24 @@ var ts;
|
|
|
143599
143587
|
return getCommentOwnerInfoWorker(commentOwner.initializer, options);
|
|
143600
143588
|
case 260 /* SyntaxKind.ClassDeclaration */:
|
|
143601
143589
|
case 261 /* SyntaxKind.InterfaceDeclaration */:
|
|
143602
|
-
case 168 /* SyntaxKind.PropertySignature */:
|
|
143603
143590
|
case 263 /* SyntaxKind.EnumDeclaration */:
|
|
143604
143591
|
case 302 /* SyntaxKind.EnumMember */:
|
|
143605
143592
|
case 262 /* SyntaxKind.TypeAliasDeclaration */:
|
|
143606
143593
|
return { commentOwner: commentOwner };
|
|
143594
|
+
case 168 /* SyntaxKind.PropertySignature */: {
|
|
143595
|
+
var host_1 = commentOwner;
|
|
143596
|
+
return host_1.type && ts.isFunctionTypeNode(host_1.type)
|
|
143597
|
+
? { commentOwner: commentOwner, parameters: host_1.type.parameters, hasReturn: hasReturn(host_1.type, options) }
|
|
143598
|
+
: { commentOwner: commentOwner };
|
|
143599
|
+
}
|
|
143607
143600
|
case 240 /* SyntaxKind.VariableStatement */: {
|
|
143608
143601
|
var varStatement = commentOwner;
|
|
143609
143602
|
var varDeclarations = varStatement.declarationList.declarations;
|
|
143610
|
-
var
|
|
143603
|
+
var host_2 = varDeclarations.length === 1 && varDeclarations[0].initializer
|
|
143611
143604
|
? getRightHandSideOfAssignment(varDeclarations[0].initializer)
|
|
143612
143605
|
: undefined;
|
|
143613
|
-
return
|
|
143614
|
-
? { commentOwner: commentOwner, parameters:
|
|
143606
|
+
return host_2
|
|
143607
|
+
? { commentOwner: commentOwner, parameters: host_2.parameters, hasReturn: hasReturn(host_2, options) }
|
|
143615
143608
|
: { commentOwner: commentOwner };
|
|
143616
143609
|
}
|
|
143617
143610
|
case 308 /* SyntaxKind.SourceFile */:
|
|
@@ -143641,7 +143634,7 @@ var ts;
|
|
|
143641
143634
|
}
|
|
143642
143635
|
function hasReturn(node, options) {
|
|
143643
143636
|
return !!(options === null || options === void 0 ? void 0 : options.generateReturnInDocTemplate) &&
|
|
143644
|
-
(ts.isArrowFunction(node) && ts.isExpression(node.body)
|
|
143637
|
+
(ts.isFunctionTypeNode(node) || ts.isArrowFunction(node) && ts.isExpression(node.body)
|
|
143645
143638
|
|| ts.isFunctionLikeDeclaration(node) && node.body && ts.isBlock(node.body) && !!ts.forEachReturnStatement(node.body, function (n) { return n; }));
|
|
143646
143639
|
}
|
|
143647
143640
|
function getRightHandSideOfAssignment(rightHandSide) {
|
package/lib/tsserverlibrary.js
CHANGED
|
@@ -108,7 +108,7 @@ var ts;
|
|
|
108
108
|
// The following is baselined as a literal template type without intervention
|
|
109
109
|
/** The version of the TypeScript compiler release */
|
|
110
110
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
111
|
-
ts.version = "".concat(ts.versionMajorMinor, ".0-dev.
|
|
111
|
+
ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20221018");
|
|
112
112
|
/* @internal */
|
|
113
113
|
var Comparison;
|
|
114
114
|
(function (Comparison) {
|
|
@@ -86863,12 +86863,11 @@ var ts;
|
|
|
86863
86863
|
}
|
|
86864
86864
|
}
|
|
86865
86865
|
function checkModuleAugmentationElement(node, isGlobalAugmentation) {
|
|
86866
|
-
var _a;
|
|
86867
86866
|
switch (node.kind) {
|
|
86868
86867
|
case 240 /* SyntaxKind.VariableStatement */:
|
|
86869
86868
|
// error each individual name in variable statement instead of marking the entire variable statement
|
|
86870
|
-
for (var _i = 0,
|
|
86871
|
-
var decl =
|
|
86869
|
+
for (var _i = 0, _a = node.declarationList.declarations; _i < _a.length; _i++) {
|
|
86870
|
+
var decl = _a[_i];
|
|
86872
86871
|
checkModuleAugmentationElement(decl, isGlobalAugmentation);
|
|
86873
86872
|
}
|
|
86874
86873
|
break;
|
|
@@ -86884,8 +86883,8 @@ var ts;
|
|
|
86884
86883
|
case 257 /* SyntaxKind.VariableDeclaration */:
|
|
86885
86884
|
var name = node.name;
|
|
86886
86885
|
if (ts.isBindingPattern(name)) {
|
|
86887
|
-
for (var
|
|
86888
|
-
var el =
|
|
86886
|
+
for (var _b = 0, _c = name.elements; _b < _c.length; _b++) {
|
|
86887
|
+
var el = _c[_b];
|
|
86889
86888
|
// mark individual names in binding pattern
|
|
86890
86889
|
checkModuleAugmentationElement(el, isGlobalAugmentation);
|
|
86891
86890
|
}
|
|
@@ -86901,18 +86900,6 @@ var ts;
|
|
|
86901
86900
|
if (isGlobalAugmentation) {
|
|
86902
86901
|
return;
|
|
86903
86902
|
}
|
|
86904
|
-
var symbol = getSymbolOfNode(node);
|
|
86905
|
-
if (symbol) {
|
|
86906
|
-
// module augmentations cannot introduce new names on the top level scope of the module
|
|
86907
|
-
// this is done it two steps
|
|
86908
|
-
// 1. quick check - if symbol for node is not merged - this is local symbol to this augmentation - report error
|
|
86909
|
-
// 2. main check - report error if value declaration of the parent symbol is module augmentation)
|
|
86910
|
-
var reportError = !(symbol.flags & 33554432 /* SymbolFlags.Transient */);
|
|
86911
|
-
if (!reportError) {
|
|
86912
|
-
// symbol should not originate in augmentation
|
|
86913
|
-
reportError = !!((_a = symbol.parent) === null || _a === void 0 ? void 0 : _a.declarations) && ts.isExternalModuleAugmentation(symbol.parent.declarations[0]);
|
|
86914
|
-
}
|
|
86915
|
-
}
|
|
86916
86903
|
break;
|
|
86917
86904
|
}
|
|
86918
86905
|
}
|
|
@@ -135899,7 +135886,7 @@ var ts;
|
|
|
135899
135886
|
if (preferences.includeCompletionsWithClassMemberSnippets &&
|
|
135900
135887
|
preferences.includeCompletionsWithInsertText &&
|
|
135901
135888
|
completionKind === 3 /* CompletionKind.MemberLike */ &&
|
|
135902
|
-
isClassLikeMemberCompletion(symbol, location)) {
|
|
135889
|
+
isClassLikeMemberCompletion(symbol, location, sourceFile)) {
|
|
135903
135890
|
var importAdder = void 0;
|
|
135904
135891
|
(_b = getEntryForMemberCompletion(host, program, options, preferences, name, symbol, location, contextToken, formatContext), insertText = _b.insertText, isSnippet = _b.isSnippet, importAdder = _b.importAdder, replacementSpan = _b.replacementSpan);
|
|
135905
135892
|
sortText = Completions.SortText.ClassMemberSnippets; // sortText has to be lower priority than the sortText for keywords. See #47852.
|
|
@@ -135971,7 +135958,7 @@ var ts;
|
|
|
135971
135958
|
data: data,
|
|
135972
135959
|
};
|
|
135973
135960
|
}
|
|
135974
|
-
function isClassLikeMemberCompletion(symbol, location) {
|
|
135961
|
+
function isClassLikeMemberCompletion(symbol, location, sourceFile) {
|
|
135975
135962
|
// TODO: support JS files.
|
|
135976
135963
|
if (ts.isInJSFile(location)) {
|
|
135977
135964
|
return false;
|
|
@@ -136005,6 +135992,7 @@ var ts;
|
|
|
136005
135992
|
location.parent.parent &&
|
|
136006
135993
|
ts.isClassElement(location.parent) &&
|
|
136007
135994
|
location === location.parent.name &&
|
|
135995
|
+
location.parent.getLastToken(sourceFile) === location.parent.name &&
|
|
136008
135996
|
ts.isClassLike(location.parent.parent)) ||
|
|
136009
135997
|
(location.parent &&
|
|
136010
135998
|
ts.isSyntaxList(location) &&
|
|
@@ -144017,19 +144005,24 @@ var ts;
|
|
|
144017
144005
|
return getCommentOwnerInfoWorker(commentOwner.initializer, options);
|
|
144018
144006
|
case 260 /* SyntaxKind.ClassDeclaration */:
|
|
144019
144007
|
case 261 /* SyntaxKind.InterfaceDeclaration */:
|
|
144020
|
-
case 168 /* SyntaxKind.PropertySignature */:
|
|
144021
144008
|
case 263 /* SyntaxKind.EnumDeclaration */:
|
|
144022
144009
|
case 302 /* SyntaxKind.EnumMember */:
|
|
144023
144010
|
case 262 /* SyntaxKind.TypeAliasDeclaration */:
|
|
144024
144011
|
return { commentOwner: commentOwner };
|
|
144012
|
+
case 168 /* SyntaxKind.PropertySignature */: {
|
|
144013
|
+
var host_1 = commentOwner;
|
|
144014
|
+
return host_1.type && ts.isFunctionTypeNode(host_1.type)
|
|
144015
|
+
? { commentOwner: commentOwner, parameters: host_1.type.parameters, hasReturn: hasReturn(host_1.type, options) }
|
|
144016
|
+
: { commentOwner: commentOwner };
|
|
144017
|
+
}
|
|
144025
144018
|
case 240 /* SyntaxKind.VariableStatement */: {
|
|
144026
144019
|
var varStatement = commentOwner;
|
|
144027
144020
|
var varDeclarations = varStatement.declarationList.declarations;
|
|
144028
|
-
var
|
|
144021
|
+
var host_2 = varDeclarations.length === 1 && varDeclarations[0].initializer
|
|
144029
144022
|
? getRightHandSideOfAssignment(varDeclarations[0].initializer)
|
|
144030
144023
|
: undefined;
|
|
144031
|
-
return
|
|
144032
|
-
? { commentOwner: commentOwner, parameters:
|
|
144024
|
+
return host_2
|
|
144025
|
+
? { commentOwner: commentOwner, parameters: host_2.parameters, hasReturn: hasReturn(host_2, options) }
|
|
144033
144026
|
: { commentOwner: commentOwner };
|
|
144034
144027
|
}
|
|
144035
144028
|
case 308 /* SyntaxKind.SourceFile */:
|
|
@@ -144059,7 +144052,7 @@ var ts;
|
|
|
144059
144052
|
}
|
|
144060
144053
|
function hasReturn(node, options) {
|
|
144061
144054
|
return !!(options === null || options === void 0 ? void 0 : options.generateReturnInDocTemplate) &&
|
|
144062
|
-
(ts.isArrowFunction(node) && ts.isExpression(node.body)
|
|
144055
|
+
(ts.isFunctionTypeNode(node) || ts.isArrowFunction(node) && ts.isExpression(node.body)
|
|
144063
144056
|
|| ts.isFunctionLikeDeclaration(node) && node.body && ts.isBlock(node.body) && !!ts.forEachReturnStatement(node.body, function (n) { return n; }));
|
|
144064
144057
|
}
|
|
144065
144058
|
function getRightHandSideOfAssignment(rightHandSide) {
|
package/lib/typescript.js
CHANGED
|
@@ -99,7 +99,7 @@ var ts;
|
|
|
99
99
|
// The following is baselined as a literal template type without intervention
|
|
100
100
|
/** The version of the TypeScript compiler release */
|
|
101
101
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
102
|
-
ts.version = "".concat(ts.versionMajorMinor, ".0-dev.
|
|
102
|
+
ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20221018");
|
|
103
103
|
/* @internal */
|
|
104
104
|
var Comparison;
|
|
105
105
|
(function (Comparison) {
|
|
@@ -86854,12 +86854,11 @@ var ts;
|
|
|
86854
86854
|
}
|
|
86855
86855
|
}
|
|
86856
86856
|
function checkModuleAugmentationElement(node, isGlobalAugmentation) {
|
|
86857
|
-
var _a;
|
|
86858
86857
|
switch (node.kind) {
|
|
86859
86858
|
case 240 /* SyntaxKind.VariableStatement */:
|
|
86860
86859
|
// error each individual name in variable statement instead of marking the entire variable statement
|
|
86861
|
-
for (var _i = 0,
|
|
86862
|
-
var decl =
|
|
86860
|
+
for (var _i = 0, _a = node.declarationList.declarations; _i < _a.length; _i++) {
|
|
86861
|
+
var decl = _a[_i];
|
|
86863
86862
|
checkModuleAugmentationElement(decl, isGlobalAugmentation);
|
|
86864
86863
|
}
|
|
86865
86864
|
break;
|
|
@@ -86875,8 +86874,8 @@ var ts;
|
|
|
86875
86874
|
case 257 /* SyntaxKind.VariableDeclaration */:
|
|
86876
86875
|
var name = node.name;
|
|
86877
86876
|
if (ts.isBindingPattern(name)) {
|
|
86878
|
-
for (var
|
|
86879
|
-
var el =
|
|
86877
|
+
for (var _b = 0, _c = name.elements; _b < _c.length; _b++) {
|
|
86878
|
+
var el = _c[_b];
|
|
86880
86879
|
// mark individual names in binding pattern
|
|
86881
86880
|
checkModuleAugmentationElement(el, isGlobalAugmentation);
|
|
86882
86881
|
}
|
|
@@ -86892,18 +86891,6 @@ var ts;
|
|
|
86892
86891
|
if (isGlobalAugmentation) {
|
|
86893
86892
|
return;
|
|
86894
86893
|
}
|
|
86895
|
-
var symbol = getSymbolOfNode(node);
|
|
86896
|
-
if (symbol) {
|
|
86897
|
-
// module augmentations cannot introduce new names on the top level scope of the module
|
|
86898
|
-
// this is done it two steps
|
|
86899
|
-
// 1. quick check - if symbol for node is not merged - this is local symbol to this augmentation - report error
|
|
86900
|
-
// 2. main check - report error if value declaration of the parent symbol is module augmentation)
|
|
86901
|
-
var reportError = !(symbol.flags & 33554432 /* SymbolFlags.Transient */);
|
|
86902
|
-
if (!reportError) {
|
|
86903
|
-
// symbol should not originate in augmentation
|
|
86904
|
-
reportError = !!((_a = symbol.parent) === null || _a === void 0 ? void 0 : _a.declarations) && ts.isExternalModuleAugmentation(symbol.parent.declarations[0]);
|
|
86905
|
-
}
|
|
86906
|
-
}
|
|
86907
86894
|
break;
|
|
86908
86895
|
}
|
|
86909
86896
|
}
|
|
@@ -135890,7 +135877,7 @@ var ts;
|
|
|
135890
135877
|
if (preferences.includeCompletionsWithClassMemberSnippets &&
|
|
135891
135878
|
preferences.includeCompletionsWithInsertText &&
|
|
135892
135879
|
completionKind === 3 /* CompletionKind.MemberLike */ &&
|
|
135893
|
-
isClassLikeMemberCompletion(symbol, location)) {
|
|
135880
|
+
isClassLikeMemberCompletion(symbol, location, sourceFile)) {
|
|
135894
135881
|
var importAdder = void 0;
|
|
135895
135882
|
(_b = getEntryForMemberCompletion(host, program, options, preferences, name, symbol, location, contextToken, formatContext), insertText = _b.insertText, isSnippet = _b.isSnippet, importAdder = _b.importAdder, replacementSpan = _b.replacementSpan);
|
|
135896
135883
|
sortText = Completions.SortText.ClassMemberSnippets; // sortText has to be lower priority than the sortText for keywords. See #47852.
|
|
@@ -135962,7 +135949,7 @@ var ts;
|
|
|
135962
135949
|
data: data,
|
|
135963
135950
|
};
|
|
135964
135951
|
}
|
|
135965
|
-
function isClassLikeMemberCompletion(symbol, location) {
|
|
135952
|
+
function isClassLikeMemberCompletion(symbol, location, sourceFile) {
|
|
135966
135953
|
// TODO: support JS files.
|
|
135967
135954
|
if (ts.isInJSFile(location)) {
|
|
135968
135955
|
return false;
|
|
@@ -135996,6 +135983,7 @@ var ts;
|
|
|
135996
135983
|
location.parent.parent &&
|
|
135997
135984
|
ts.isClassElement(location.parent) &&
|
|
135998
135985
|
location === location.parent.name &&
|
|
135986
|
+
location.parent.getLastToken(sourceFile) === location.parent.name &&
|
|
135999
135987
|
ts.isClassLike(location.parent.parent)) ||
|
|
136000
135988
|
(location.parent &&
|
|
136001
135989
|
ts.isSyntaxList(location) &&
|
|
@@ -144008,19 +143996,24 @@ var ts;
|
|
|
144008
143996
|
return getCommentOwnerInfoWorker(commentOwner.initializer, options);
|
|
144009
143997
|
case 260 /* SyntaxKind.ClassDeclaration */:
|
|
144010
143998
|
case 261 /* SyntaxKind.InterfaceDeclaration */:
|
|
144011
|
-
case 168 /* SyntaxKind.PropertySignature */:
|
|
144012
143999
|
case 263 /* SyntaxKind.EnumDeclaration */:
|
|
144013
144000
|
case 302 /* SyntaxKind.EnumMember */:
|
|
144014
144001
|
case 262 /* SyntaxKind.TypeAliasDeclaration */:
|
|
144015
144002
|
return { commentOwner: commentOwner };
|
|
144003
|
+
case 168 /* SyntaxKind.PropertySignature */: {
|
|
144004
|
+
var host_1 = commentOwner;
|
|
144005
|
+
return host_1.type && ts.isFunctionTypeNode(host_1.type)
|
|
144006
|
+
? { commentOwner: commentOwner, parameters: host_1.type.parameters, hasReturn: hasReturn(host_1.type, options) }
|
|
144007
|
+
: { commentOwner: commentOwner };
|
|
144008
|
+
}
|
|
144016
144009
|
case 240 /* SyntaxKind.VariableStatement */: {
|
|
144017
144010
|
var varStatement = commentOwner;
|
|
144018
144011
|
var varDeclarations = varStatement.declarationList.declarations;
|
|
144019
|
-
var
|
|
144012
|
+
var host_2 = varDeclarations.length === 1 && varDeclarations[0].initializer
|
|
144020
144013
|
? getRightHandSideOfAssignment(varDeclarations[0].initializer)
|
|
144021
144014
|
: undefined;
|
|
144022
|
-
return
|
|
144023
|
-
? { commentOwner: commentOwner, parameters:
|
|
144015
|
+
return host_2
|
|
144016
|
+
? { commentOwner: commentOwner, parameters: host_2.parameters, hasReturn: hasReturn(host_2, options) }
|
|
144024
144017
|
: { commentOwner: commentOwner };
|
|
144025
144018
|
}
|
|
144026
144019
|
case 308 /* SyntaxKind.SourceFile */:
|
|
@@ -144050,7 +144043,7 @@ var ts;
|
|
|
144050
144043
|
}
|
|
144051
144044
|
function hasReturn(node, options) {
|
|
144052
144045
|
return !!(options === null || options === void 0 ? void 0 : options.generateReturnInDocTemplate) &&
|
|
144053
|
-
(ts.isArrowFunction(node) && ts.isExpression(node.body)
|
|
144046
|
+
(ts.isFunctionTypeNode(node) || ts.isArrowFunction(node) && ts.isExpression(node.body)
|
|
144054
144047
|
|| ts.isFunctionLikeDeclaration(node) && node.body && ts.isBlock(node.body) && !!ts.forEachReturnStatement(node.body, function (n) { return n; }));
|
|
144055
144048
|
}
|
|
144056
144049
|
function getRightHandSideOfAssignment(rightHandSide) {
|
|
@@ -99,7 +99,7 @@ var ts;
|
|
|
99
99
|
// The following is baselined as a literal template type without intervention
|
|
100
100
|
/** The version of the TypeScript compiler release */
|
|
101
101
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
102
|
-
ts.version = "".concat(ts.versionMajorMinor, ".0-dev.
|
|
102
|
+
ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20221018");
|
|
103
103
|
/* @internal */
|
|
104
104
|
var Comparison;
|
|
105
105
|
(function (Comparison) {
|
|
@@ -86854,12 +86854,11 @@ var ts;
|
|
|
86854
86854
|
}
|
|
86855
86855
|
}
|
|
86856
86856
|
function checkModuleAugmentationElement(node, isGlobalAugmentation) {
|
|
86857
|
-
var _a;
|
|
86858
86857
|
switch (node.kind) {
|
|
86859
86858
|
case 240 /* SyntaxKind.VariableStatement */:
|
|
86860
86859
|
// error each individual name in variable statement instead of marking the entire variable statement
|
|
86861
|
-
for (var _i = 0,
|
|
86862
|
-
var decl =
|
|
86860
|
+
for (var _i = 0, _a = node.declarationList.declarations; _i < _a.length; _i++) {
|
|
86861
|
+
var decl = _a[_i];
|
|
86863
86862
|
checkModuleAugmentationElement(decl, isGlobalAugmentation);
|
|
86864
86863
|
}
|
|
86865
86864
|
break;
|
|
@@ -86875,8 +86874,8 @@ var ts;
|
|
|
86875
86874
|
case 257 /* SyntaxKind.VariableDeclaration */:
|
|
86876
86875
|
var name = node.name;
|
|
86877
86876
|
if (ts.isBindingPattern(name)) {
|
|
86878
|
-
for (var
|
|
86879
|
-
var el =
|
|
86877
|
+
for (var _b = 0, _c = name.elements; _b < _c.length; _b++) {
|
|
86878
|
+
var el = _c[_b];
|
|
86880
86879
|
// mark individual names in binding pattern
|
|
86881
86880
|
checkModuleAugmentationElement(el, isGlobalAugmentation);
|
|
86882
86881
|
}
|
|
@@ -86892,18 +86891,6 @@ var ts;
|
|
|
86892
86891
|
if (isGlobalAugmentation) {
|
|
86893
86892
|
return;
|
|
86894
86893
|
}
|
|
86895
|
-
var symbol = getSymbolOfNode(node);
|
|
86896
|
-
if (symbol) {
|
|
86897
|
-
// module augmentations cannot introduce new names on the top level scope of the module
|
|
86898
|
-
// this is done it two steps
|
|
86899
|
-
// 1. quick check - if symbol for node is not merged - this is local symbol to this augmentation - report error
|
|
86900
|
-
// 2. main check - report error if value declaration of the parent symbol is module augmentation)
|
|
86901
|
-
var reportError = !(symbol.flags & 33554432 /* SymbolFlags.Transient */);
|
|
86902
|
-
if (!reportError) {
|
|
86903
|
-
// symbol should not originate in augmentation
|
|
86904
|
-
reportError = !!((_a = symbol.parent) === null || _a === void 0 ? void 0 : _a.declarations) && ts.isExternalModuleAugmentation(symbol.parent.declarations[0]);
|
|
86905
|
-
}
|
|
86906
|
-
}
|
|
86907
86894
|
break;
|
|
86908
86895
|
}
|
|
86909
86896
|
}
|
|
@@ -135890,7 +135877,7 @@ var ts;
|
|
|
135890
135877
|
if (preferences.includeCompletionsWithClassMemberSnippets &&
|
|
135891
135878
|
preferences.includeCompletionsWithInsertText &&
|
|
135892
135879
|
completionKind === 3 /* CompletionKind.MemberLike */ &&
|
|
135893
|
-
isClassLikeMemberCompletion(symbol, location)) {
|
|
135880
|
+
isClassLikeMemberCompletion(symbol, location, sourceFile)) {
|
|
135894
135881
|
var importAdder = void 0;
|
|
135895
135882
|
(_b = getEntryForMemberCompletion(host, program, options, preferences, name, symbol, location, contextToken, formatContext), insertText = _b.insertText, isSnippet = _b.isSnippet, importAdder = _b.importAdder, replacementSpan = _b.replacementSpan);
|
|
135896
135883
|
sortText = Completions.SortText.ClassMemberSnippets; // sortText has to be lower priority than the sortText for keywords. See #47852.
|
|
@@ -135962,7 +135949,7 @@ var ts;
|
|
|
135962
135949
|
data: data,
|
|
135963
135950
|
};
|
|
135964
135951
|
}
|
|
135965
|
-
function isClassLikeMemberCompletion(symbol, location) {
|
|
135952
|
+
function isClassLikeMemberCompletion(symbol, location, sourceFile) {
|
|
135966
135953
|
// TODO: support JS files.
|
|
135967
135954
|
if (ts.isInJSFile(location)) {
|
|
135968
135955
|
return false;
|
|
@@ -135996,6 +135983,7 @@ var ts;
|
|
|
135996
135983
|
location.parent.parent &&
|
|
135997
135984
|
ts.isClassElement(location.parent) &&
|
|
135998
135985
|
location === location.parent.name &&
|
|
135986
|
+
location.parent.getLastToken(sourceFile) === location.parent.name &&
|
|
135999
135987
|
ts.isClassLike(location.parent.parent)) ||
|
|
136000
135988
|
(location.parent &&
|
|
136001
135989
|
ts.isSyntaxList(location) &&
|
|
@@ -144008,19 +143996,24 @@ var ts;
|
|
|
144008
143996
|
return getCommentOwnerInfoWorker(commentOwner.initializer, options);
|
|
144009
143997
|
case 260 /* SyntaxKind.ClassDeclaration */:
|
|
144010
143998
|
case 261 /* SyntaxKind.InterfaceDeclaration */:
|
|
144011
|
-
case 168 /* SyntaxKind.PropertySignature */:
|
|
144012
143999
|
case 263 /* SyntaxKind.EnumDeclaration */:
|
|
144013
144000
|
case 302 /* SyntaxKind.EnumMember */:
|
|
144014
144001
|
case 262 /* SyntaxKind.TypeAliasDeclaration */:
|
|
144015
144002
|
return { commentOwner: commentOwner };
|
|
144003
|
+
case 168 /* SyntaxKind.PropertySignature */: {
|
|
144004
|
+
var host_1 = commentOwner;
|
|
144005
|
+
return host_1.type && ts.isFunctionTypeNode(host_1.type)
|
|
144006
|
+
? { commentOwner: commentOwner, parameters: host_1.type.parameters, hasReturn: hasReturn(host_1.type, options) }
|
|
144007
|
+
: { commentOwner: commentOwner };
|
|
144008
|
+
}
|
|
144016
144009
|
case 240 /* SyntaxKind.VariableStatement */: {
|
|
144017
144010
|
var varStatement = commentOwner;
|
|
144018
144011
|
var varDeclarations = varStatement.declarationList.declarations;
|
|
144019
|
-
var
|
|
144012
|
+
var host_2 = varDeclarations.length === 1 && varDeclarations[0].initializer
|
|
144020
144013
|
? getRightHandSideOfAssignment(varDeclarations[0].initializer)
|
|
144021
144014
|
: undefined;
|
|
144022
|
-
return
|
|
144023
|
-
? { commentOwner: commentOwner, parameters:
|
|
144015
|
+
return host_2
|
|
144016
|
+
? { commentOwner: commentOwner, parameters: host_2.parameters, hasReturn: hasReturn(host_2, options) }
|
|
144024
144017
|
: { commentOwner: commentOwner };
|
|
144025
144018
|
}
|
|
144026
144019
|
case 308 /* SyntaxKind.SourceFile */:
|
|
@@ -144050,7 +144043,7 @@ var ts;
|
|
|
144050
144043
|
}
|
|
144051
144044
|
function hasReturn(node, options) {
|
|
144052
144045
|
return !!(options === null || options === void 0 ? void 0 : options.generateReturnInDocTemplate) &&
|
|
144053
|
-
(ts.isArrowFunction(node) && ts.isExpression(node.body)
|
|
144046
|
+
(ts.isFunctionTypeNode(node) || ts.isArrowFunction(node) && ts.isExpression(node.body)
|
|
144054
144047
|
|| ts.isFunctionLikeDeclaration(node) && node.body && ts.isBlock(node.body) && !!ts.forEachReturnStatement(node.body, function (n) { return n; }));
|
|
144055
144048
|
}
|
|
144056
144049
|
function getRightHandSideOfAssignment(rightHandSide) {
|
package/lib/typingsInstaller.js
CHANGED
|
@@ -89,7 +89,7 @@ var ts;
|
|
|
89
89
|
// The following is baselined as a literal template type without intervention
|
|
90
90
|
/** The version of the TypeScript compiler release */
|
|
91
91
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
92
|
-
ts.version = "".concat(ts.versionMajorMinor, ".0-dev.
|
|
92
|
+
ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20221018");
|
|
93
93
|
/* @internal */
|
|
94
94
|
var Comparison;
|
|
95
95
|
(function (Comparison) {
|
|
@@ -86844,12 +86844,11 @@ var ts;
|
|
|
86844
86844
|
}
|
|
86845
86845
|
}
|
|
86846
86846
|
function checkModuleAugmentationElement(node, isGlobalAugmentation) {
|
|
86847
|
-
var _a;
|
|
86848
86847
|
switch (node.kind) {
|
|
86849
86848
|
case 240 /* SyntaxKind.VariableStatement */:
|
|
86850
86849
|
// error each individual name in variable statement instead of marking the entire variable statement
|
|
86851
|
-
for (var _i = 0,
|
|
86852
|
-
var decl =
|
|
86850
|
+
for (var _i = 0, _a = node.declarationList.declarations; _i < _a.length; _i++) {
|
|
86851
|
+
var decl = _a[_i];
|
|
86853
86852
|
checkModuleAugmentationElement(decl, isGlobalAugmentation);
|
|
86854
86853
|
}
|
|
86855
86854
|
break;
|
|
@@ -86865,8 +86864,8 @@ var ts;
|
|
|
86865
86864
|
case 257 /* SyntaxKind.VariableDeclaration */:
|
|
86866
86865
|
var name = node.name;
|
|
86867
86866
|
if (ts.isBindingPattern(name)) {
|
|
86868
|
-
for (var
|
|
86869
|
-
var el =
|
|
86867
|
+
for (var _b = 0, _c = name.elements; _b < _c.length; _b++) {
|
|
86868
|
+
var el = _c[_b];
|
|
86870
86869
|
// mark individual names in binding pattern
|
|
86871
86870
|
checkModuleAugmentationElement(el, isGlobalAugmentation);
|
|
86872
86871
|
}
|
|
@@ -86882,18 +86881,6 @@ var ts;
|
|
|
86882
86881
|
if (isGlobalAugmentation) {
|
|
86883
86882
|
return;
|
|
86884
86883
|
}
|
|
86885
|
-
var symbol = getSymbolOfNode(node);
|
|
86886
|
-
if (symbol) {
|
|
86887
|
-
// module augmentations cannot introduce new names on the top level scope of the module
|
|
86888
|
-
// this is done it two steps
|
|
86889
|
-
// 1. quick check - if symbol for node is not merged - this is local symbol to this augmentation - report error
|
|
86890
|
-
// 2. main check - report error if value declaration of the parent symbol is module augmentation)
|
|
86891
|
-
var reportError = !(symbol.flags & 33554432 /* SymbolFlags.Transient */);
|
|
86892
|
-
if (!reportError) {
|
|
86893
|
-
// symbol should not originate in augmentation
|
|
86894
|
-
reportError = !!((_a = symbol.parent) === null || _a === void 0 ? void 0 : _a.declarations) && ts.isExternalModuleAugmentation(symbol.parent.declarations[0]);
|
|
86895
|
-
}
|
|
86896
|
-
}
|
|
86897
86884
|
break;
|
|
86898
86885
|
}
|
|
86899
86886
|
}
|
|
@@ -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": "从模块“{1}”导出“{0}”",
|
|
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": "在位置“{1}”的缓存中找到模块“{0}”的解析。",
|
|
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": "正在 {0} 模式下解析,条件为 {1}。",
|
|
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}”的编译器选项。",
|
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": "4.9.0-dev.
|
|
5
|
+
"version": "4.9.0-dev.20221018",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|