typescript 4.5.0-dev.20210924 → 4.5.0-dev.20210928
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cs/diagnosticMessages.generated.json +2 -1
- package/lib/de/diagnosticMessages.generated.json +17 -5
- package/lib/es/diagnosticMessages.generated.json +2 -1
- package/lib/fr/diagnosticMessages.generated.json +2 -1
- package/lib/it/diagnosticMessages.generated.json +17 -5
- package/lib/ja/diagnosticMessages.generated.json +2 -1
- package/lib/ko/diagnosticMessages.generated.json +17 -5
- package/lib/lib.dom.d.ts +669 -1896
- package/lib/lib.dom.iterable.d.ts +16 -48
- package/lib/lib.webworker.d.ts +183 -520
- package/lib/lib.webworker.iterable.d.ts +10 -30
- package/lib/pl/diagnosticMessages.generated.json +2 -1
- package/lib/pt-br/diagnosticMessages.generated.json +2 -1
- package/lib/ru/diagnosticMessages.generated.json +17 -5
- package/lib/tr/diagnosticMessages.generated.json +2 -1
- package/lib/tsc.js +1364 -426
- package/lib/tsserver.js +2027 -693
- package/lib/tsserverlibrary.d.ts +76 -23
- package/lib/tsserverlibrary.js +2027 -693
- package/lib/typescript.d.ts +74 -21
- package/lib/typescript.js +2022 -687
- package/lib/typescriptServices.d.ts +74 -21
- package/lib/typescriptServices.js +2022 -687
- package/lib/typingsInstaller.js +1544 -475
- package/lib/zh-cn/diagnosticMessages.generated.json +2 -1
- package/lib/zh-tw/diagnosticMessages.generated.json +17 -5
- package/package.json +1 -1
|
@@ -39,40 +39,26 @@ interface FontFaceSet extends Set<FontFace> {
|
|
|
39
39
|
|
|
40
40
|
interface FormData {
|
|
41
41
|
[Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>;
|
|
42
|
-
/**
|
|
43
|
-
* Returns an array of key, value pairs for every entry in the list.
|
|
44
|
-
*/
|
|
42
|
+
/** Returns an array of key, value pairs for every entry in the list. */
|
|
45
43
|
entries(): IterableIterator<[string, FormDataEntryValue]>;
|
|
46
|
-
/**
|
|
47
|
-
* Returns a list of keys in the list.
|
|
48
|
-
*/
|
|
44
|
+
/** Returns a list of keys in the list. */
|
|
49
45
|
keys(): IterableIterator<string>;
|
|
50
|
-
/**
|
|
51
|
-
* Returns a list of values in the list.
|
|
52
|
-
*/
|
|
46
|
+
/** Returns a list of values in the list. */
|
|
53
47
|
values(): IterableIterator<FormDataEntryValue>;
|
|
54
48
|
}
|
|
55
49
|
|
|
56
50
|
interface Headers {
|
|
57
51
|
[Symbol.iterator](): IterableIterator<[string, string]>;
|
|
58
|
-
/**
|
|
59
|
-
* Returns an iterator allowing to go through all key/value pairs contained in this object.
|
|
60
|
-
*/
|
|
52
|
+
/** Returns an iterator allowing to go through all key/value pairs contained in this object. */
|
|
61
53
|
entries(): IterableIterator<[string, string]>;
|
|
62
|
-
/**
|
|
63
|
-
* Returns an iterator allowing to go through all keys of the key/value pairs contained in this object.
|
|
64
|
-
*/
|
|
54
|
+
/** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */
|
|
65
55
|
keys(): IterableIterator<string>;
|
|
66
|
-
/**
|
|
67
|
-
* Returns an iterator allowing to go through all values of the key/value pairs contained in this object.
|
|
68
|
-
*/
|
|
56
|
+
/** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */
|
|
69
57
|
values(): IterableIterator<string>;
|
|
70
58
|
}
|
|
71
59
|
|
|
72
60
|
interface IDBDatabase {
|
|
73
|
-
/**
|
|
74
|
-
* Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.
|
|
75
|
-
*/
|
|
61
|
+
/** Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names. */
|
|
76
62
|
transaction(storeNames: string | Iterable<string>, mode?: IDBTransactionMode): IDBTransaction;
|
|
77
63
|
}
|
|
78
64
|
|
|
@@ -109,17 +95,11 @@ interface SubtleCrypto {
|
|
|
109
95
|
|
|
110
96
|
interface URLSearchParams {
|
|
111
97
|
[Symbol.iterator](): IterableIterator<[string, string]>;
|
|
112
|
-
/**
|
|
113
|
-
* Returns an array of key, value pairs for every entry in the search params.
|
|
114
|
-
*/
|
|
98
|
+
/** Returns an array of key, value pairs for every entry in the search params. */
|
|
115
99
|
entries(): IterableIterator<[string, string]>;
|
|
116
|
-
/**
|
|
117
|
-
* Returns a list of keys in the search params.
|
|
118
|
-
*/
|
|
100
|
+
/** Returns a list of keys in the search params. */
|
|
119
101
|
keys(): IterableIterator<string>;
|
|
120
|
-
/**
|
|
121
|
-
* Returns a list of values in the search params.
|
|
122
|
-
*/
|
|
102
|
+
/** Returns a list of values in the search params. */
|
|
123
103
|
values(): IterableIterator<string>;
|
|
124
104
|
}
|
|
125
105
|
|
|
@@ -1052,6 +1052,7 @@
|
|
|
1052
1052
|
"Private_accessor_was_defined_without_a_getter_2806": "Prywatna metoda dostępu została zdefiniowana bez metody pobierającej.",
|
|
1053
1053
|
"Private_identifiers_are_not_allowed_in_variable_declarations_18029": "Identyfikatory prywatne są niedozwolone w deklaracjach zmiennych.",
|
|
1054
1054
|
"Private_identifiers_are_not_allowed_outside_class_bodies_18016": "Identyfikatory prywatne są niedozwolone poza treściami klasy.",
|
|
1055
|
+
"Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member__1451": "Identyfikatory prywatne są dozwolone tylko w treściach klasy i mogą być używane tylko jako część deklaracji członka klasy, dostępu do właściwości lub po lewej stronie wyrażenia „in”",
|
|
1055
1056
|
"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028": "Identyfikatory prywatne są dostępne tylko wtedy, gdy jest używany język ECMAScript 2015 lub nowszy.",
|
|
1056
1057
|
"Private_identifiers_cannot_be_used_as_parameters_18009": "Identyfikatory prywatne nie mogą być używane jako parametry.",
|
|
1057
1058
|
"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105": "Nie można uzyskać dostępu do prywatnego lub chronionego elementu składowego „{0}” w parametrze typu.",
|
|
@@ -1376,7 +1377,7 @@
|
|
|
1376
1377
|
"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362": "Lewa strona operacji arytmetycznej musi być typu „any”, „number”, „bigint” lub typu wyliczeniowego.",
|
|
1377
1378
|
"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779": "Lewa strona wyrażenia przypisania nie może być opcjonalnym dostępem do właściwości.",
|
|
1378
1379
|
"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364": "Lewa strona wyrażenia przypisania musi być zmienną lub dostępem do właściwości.",
|
|
1379
|
-
"
|
|
1380
|
+
"The_left_hand_side_of_an_in_expression_must_be_a_private_identifier_or_of_type_any_string_number_or__2360": "Lewa strona wyrażenia „in” musi być identyfikatorem prywatnym lub typem „any”, „string”, „number” lub „symbol”.",
|
|
1380
1381
|
"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358": "Lewa strona wyrażenia „instanceof” musi być typu „any”, typu obiektu lub parametrem typu.",
|
|
1381
1382
|
"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156": "Ustawienia regionalne używane przy wyświetlaniu komunikatów użytkownikowi (np. „pl-pl”)",
|
|
1382
1383
|
"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136": "Maksymalna głębokość zależności na potrzeby wyszukiwania w elemencie node_modules i ładownia plików JavaScript.",
|
|
@@ -1052,6 +1052,7 @@
|
|
|
1052
1052
|
"Private_accessor_was_defined_without_a_getter_2806": "O acessador privado foi definido sem um getter.",
|
|
1053
1053
|
"Private_identifiers_are_not_allowed_in_variable_declarations_18029": "Identificadores privados não são permitidos em declarações de variáveis.",
|
|
1054
1054
|
"Private_identifiers_are_not_allowed_outside_class_bodies_18016": "Identificadores privados não são permitidos fora dos corpos de classe.",
|
|
1055
|
+
"Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member__1451": "Identificadores privados são permitidos apenas em corpos de classe e só podem ser usados como parte de uma declaração de membro de classe, acesso de propriedade ou no lado esquerdo de uma expressão 'em'",
|
|
1055
1056
|
"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028": "Identificadores privados só estão disponíveis ao direcionar para o ECMAScript 2015 ou superior.",
|
|
1056
1057
|
"Private_identifiers_cannot_be_used_as_parameters_18009": "Não é possível usar identificadores privados como parâmetros.",
|
|
1057
1058
|
"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105": "O membro privado ou protegido '{0}' não pode ser acessado em um parâmetro de tipo.",
|
|
@@ -1376,7 +1377,7 @@
|
|
|
1376
1377
|
"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362": "O lado esquerdo de uma operação aritmética deve ser do tipo 'any', 'number', 'bigint' ou um tipo enumerado.",
|
|
1377
1378
|
"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779": "O lado esquerdo de uma expressão de atribuição pode não ser um acesso opcional de propriedade.",
|
|
1378
1379
|
"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364": "O lado esquerdo de uma expressão de atribuição deve ser uma variável ou um acesso à propriedade.",
|
|
1379
|
-
"
|
|
1380
|
+
"The_left_hand_side_of_an_in_expression_must_be_a_private_identifier_or_of_type_any_string_number_or__2360": "O lado esquerdo de uma expressão 'em' deve ser um identificador privado ou do tipo 'qualquer', 'cadeia de caracteres', 'número' ou 'símbolo'.",
|
|
1380
1381
|
"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358": "O lado esquerdo de uma expressão 'instanceof' deve ser do tipo 'any', um tipo de objeto ou um parâmetro de tipo.",
|
|
1381
1382
|
"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156": "O local usado ao exibir mensagens ao usuário (por exemplo, 'en-us')",
|
|
1382
1383
|
"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136": "A profundidade máxima de dependência a ser pesquisada em arquivos node_modules e de carregamento de JavaScript.",
|
|
@@ -507,6 +507,7 @@
|
|
|
507
507
|
"Did_you_mean_to_use_new_with_this_expression_6213": "Вы хотели использовать \"new\" с этим выражением?",
|
|
508
508
|
"Digit_expected_1124": "Ожидалась цифра.",
|
|
509
509
|
"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148": "Каталога \"{0}\" не существует. Поиск в нем будет пропускаться.",
|
|
510
|
+
"Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve_6270": "Каталог \"{0}\" не имеет содержащей области package.json. Импорт не удастся разрешить.",
|
|
510
511
|
"Disable_adding_use_strict_directives_in_emitted_JavaScript_files_6669": "Отключить добавление директив \"use strict\" в создаваемых файлах JavaScript.",
|
|
511
512
|
"Disable_checking_for_this_file_90018": "Отключите проверку для этого файла",
|
|
512
513
|
"Disable_emitting_comments_6688": "Отключить создаваемые комментарии.",
|
|
@@ -560,7 +561,7 @@
|
|
|
560
561
|
"Duplicate_property_0_2718": "Повторяющееся свойство \"{0}\".",
|
|
561
562
|
"Dynamic_import_cannot_have_type_arguments_1326": "При динамическом импорте не могут использоваться аргументы типов.",
|
|
562
563
|
"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036": "Описатель динамического импорта должен иметь тип \"string\", но имеет тип \"{0}\".",
|
|
563
|
-
"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system__1323": "Динамические импорты поддерживаются только в том случае, если флаг \"--module\" имеет значение \"es2020\", \"esnext\", \"commonjs\", \"amd\", \"system\" или \"
|
|
564
|
+
"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system__1323": "Динамические импорты поддерживаются только в том случае, если флаг \"--module\" имеет значение \"es2020\", \"esnext\", \"commonjs\", \"amd\", \"system\", \"umd\", \"node12\" или \"nodenext\".",
|
|
564
565
|
"Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments_1450": "Динамические импорты могут принять спецификатор модуля и необязательное утверждение в качестве аргументов",
|
|
565
566
|
"Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_1324": "Динамические импорты поддерживают второй аргумент, только если параметр \"--module\" имеет значение \"esnext\".",
|
|
566
567
|
"Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762": "Каждый член типа объединения \"{0}\" имеет сигнатуры конструкций, но ни одна из их не совместима с другими.",
|
|
@@ -639,6 +640,7 @@
|
|
|
639
640
|
"Export_assignment_is_not_supported_when_module_flag_is_system_1218": "Назначение экспорта не поддерживается, если флаг \"--module\" имеет значение \"system\".",
|
|
640
641
|
"Export_declaration_conflicts_with_exported_declaration_of_0_2484": "Объявление экспорта конфликтует с экспортированным объявлением \"{0}\".",
|
|
641
642
|
"Export_declarations_are_not_permitted_in_a_namespace_1194": "Объявления экспорта не разрешены в пространстве имен.",
|
|
643
|
+
"Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6276": "Описатель экспорта \"{0}\" не существует в области package.json по пути \"{1}\".",
|
|
642
644
|
"Exported_type_alias_0_has_or_is_using_private_name_1_4081": "Экспортированный псевдоним типа \"{0}\" имеет или использует закрытое имя \"{1}\".",
|
|
643
645
|
"Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2_4084": "Экспортированный псевдоним типа \"{0}\" имеет или использует частное имя \"{1}\" из модуля \"{2}\".",
|
|
644
646
|
"Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023": "Экспортированная переменная \"{0}\" имеет или использует имя \"{1}\" из внешнего модуля {2}, но не может быть именована.",
|
|
@@ -771,6 +773,7 @@
|
|
|
771
773
|
"Import_may_be_converted_to_a_default_import_80003": "Импорт можно преобразовать в импорт по умолчанию.",
|
|
772
774
|
"Import_name_cannot_be_0_2438": "Имя импорта не может иметь значение \"{0}\".",
|
|
773
775
|
"Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439": "Объявление импорта или экспорта во объявлении окружающего модуля не может иметь ссылки на модуль через относительное имя модуля.",
|
|
776
|
+
"Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6271": "Описатель импорта \"{0}\" не существует в области package.json по пути \"{1}\".",
|
|
774
777
|
"Imported_via_0_from_file_1_1393": "Импортировано с помощью {0} из файла \"{1}\".",
|
|
775
778
|
"Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions_1395": "Импортировано с помощью {0} из файла \"{1}\" для импорта \"importHelpers\", как указано в compilerOptions.",
|
|
776
779
|
"Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions_1397": "Импортировано с помощью {0} из файла \"{1}\" для импорта функций фабрики \"jsx\" и \"jsxs\".",
|
|
@@ -812,6 +815,7 @@
|
|
|
812
815
|
"Interop_Constraints_6252": "Ограничения взаимодействия",
|
|
813
816
|
"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243": "Интерпретируйте необязательные типы свойств так, как они написаны, а не добавляйте неопределенное значение.",
|
|
814
817
|
"Invalid_character_1127": "Недопустимый символ.",
|
|
818
|
+
"Invalid_import_specifier_0_has_no_possible_resolutions_6272": "Недопустимый описатель импорта \"{0}\" не имеет возможных разрешений.",
|
|
815
819
|
"Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665": "Недопустимое имя модуля в приращении. Модуль \"{0}\" разрешается в модуль без типа в \"{1}\", который невозможно дополнить.",
|
|
816
820
|
"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664": "Недопустимое имя модуля в улучшении, не удается найти модуль \"{0}\".",
|
|
817
821
|
"Invalid_reference_directive_syntax_1084": "Недопустимый синтаксис директивы reference.",
|
|
@@ -882,6 +886,7 @@
|
|
|
882
886
|
"Method_not_implemented_95158": "Метод не реализован.",
|
|
883
887
|
"Modifiers_cannot_appear_here_1184": "Здесь невозможно использовать модификаторы.",
|
|
884
888
|
"Module_0_can_only_be_default_imported_using_the_1_flag_1259": "Модуль \"{0}\" можно только импортировать по умолчанию с помощью флага \"{1}\"",
|
|
889
|
+
"Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_c_1471": "Не удается импортировать модуль \"{0}\" с помощью этой конструкции. Описатель разрешается только в модуль ES, который не может быть импортирован синхронно. Вместо этого используйте динамический импорт.",
|
|
885
890
|
"Module_0_declares_1_locally_but_it_is_exported_as_2_2460": "Модуль \"{0}\" объявляет \"{1}\" локально, но он экспортируется как \"{2}\".",
|
|
886
891
|
"Module_0_declares_1_locally_but_it_is_not_exported_2459": "Модуль \"{0}\" объявляет \"{1}\" локально, но он не экспортируется.",
|
|
887
892
|
"Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340": "Модуль \"{0}\" не ссылается на тип, но используется здесь как тип. Возможно, вы хотели использовать \"typeof import('{0}')\"?",
|
|
@@ -1052,6 +1057,7 @@
|
|
|
1052
1057
|
"Private_accessor_was_defined_without_a_getter_2806": "Частный метод доступа был определен без метода получения.",
|
|
1053
1058
|
"Private_identifiers_are_not_allowed_in_variable_declarations_18029": "Закрытые идентификаторы запрещено использовать в объявлениях переменных.",
|
|
1054
1059
|
"Private_identifiers_are_not_allowed_outside_class_bodies_18016": "Закрытые идентификаторы запрещено использовать вне тела классов.",
|
|
1060
|
+
"Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member__1451": "Закрытые идентификаторы разрешены только в теле класса и могут использоваться только как часть объявления члена класса, доступа к свойствам или левой стороны выражения \"in\"",
|
|
1055
1061
|
"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028": "Закрытые идентификаторы доступны только при разработке для ECMAScript 2015 или более поздних версий.",
|
|
1056
1062
|
"Private_identifiers_cannot_be_used_as_parameters_18009": "Закрытые идентификаторы не могут использоваться в качестве параметров.",
|
|
1057
1063
|
"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105": "Не удается обратиться к закрытому или защищенному члену \"{0}\" в параметре типа.",
|
|
@@ -1353,7 +1359,8 @@
|
|
|
1353
1359
|
"The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback_1060": "Первым параметром метода then класса promise должен быть обратный вызов.",
|
|
1354
1360
|
"The_global_type_JSX_0_may_not_have_more_than_one_property_2608": "Глобальный тип \"JSX.{0}\" не может иметь больше одного свойства.",
|
|
1355
1361
|
"The_implementation_signature_is_declared_here_2750": "Здесь объявлена сигнатура реализации.",
|
|
1356
|
-
"
|
|
1362
|
+
"The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output_1470": "Метасвойство \"import.meta\" не разрешено в файлах, которые будут построены в выходных данных CommonJS.",
|
|
1363
|
+
"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_esnext_system_node12__1343": "Метасвойство \"import.meta\" разрешено, только когда параметр \"--module\" имеет значение \"es2020\", \"esnext\", \"system\", \"node12\" или \"nodenext\".",
|
|
1357
1364
|
"The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_a_2742": "Выводимому типу \"{0}\" невозможно присвоить имя без ссылки на \"{1}\". Вероятно, оно не является переносимым. Требуется заметка с типом.",
|
|
1358
1365
|
"The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088": "Выводимый тип \"{0}\" ссылается на тип с циклической структурой, которая не может быть элементарно сериализована. Требуется заметка с типом.",
|
|
1359
1366
|
"The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527": "Выведенный тип \"{0}\" ссылается на недоступный тип \"{1}\". Требуется аннотация типа.",
|
|
@@ -1376,7 +1383,7 @@
|
|
|
1376
1383
|
"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362": "Левый операнд арифметической операции должен иметь тип \"any\", \"number\", \"bigint\" или тип перечисления.",
|
|
1377
1384
|
"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779": "Левая часть выражения присваивания не может быть обращением к необязательному свойству.",
|
|
1378
1385
|
"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364": "В левой части выражения назначения должна быть переменная или доступ к свойству.",
|
|
1379
|
-
"
|
|
1386
|
+
"The_left_hand_side_of_an_in_expression_must_be_a_private_identifier_or_of_type_any_string_number_or__2360": "Левый операнд выражения \"in\" должен быть закрытым идентификатором или иметь тип any, string, number или symbol.",
|
|
1380
1387
|
"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358": "Левый операнд выражения instanceof должен иметь тип any, тип объекта или параметр типа.",
|
|
1381
1388
|
"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156": "Языковой стандарт, который используется при отображении сообщений пользователю (например, en-us)",
|
|
1382
1389
|
"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136": "Максимальная глубина зависимостей для поиска в папке node_modules и загрузки файлов JavaScript.",
|
|
@@ -1445,12 +1452,14 @@
|
|
|
1445
1452
|
"This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_4120": "Это свойство параметра должно иметь комментарий JSDoc с тегом \"@override\", так как он переопределяет элемент в базовом классе \"{0}\".",
|
|
1446
1453
|
"This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115": "Это свойство параметра должно иметь модификатор \"override\", так как он переопределяет элемент базового класса \"{0}\".",
|
|
1447
1454
|
"This_spread_always_overwrites_this_property_2785": "Это распространение всегда перезаписывает данное свойство.",
|
|
1455
|
+
"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060": "Этот синтаксис зарезервирован в файлах с расширениями MTS или CTS. Добавьте конечную запятую или явное ограничение.",
|
|
1456
|
+
"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059": "Этот синтаксис зарезервирован в файлах с расширениями MTS или CTS. Вместо этого используйте выражение \"AS\".",
|
|
1448
1457
|
"This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354": "Для этого синтаксиса требуется импортированный вспомогательный объект, но найти модуль \"{0}\" не удается.",
|
|
1449
1458
|
"This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_ve_2343": "Для этого синтаксиса требуется импортированный вспомогательный объект с именем \"{1}\", который не существует в \"{0}\". Рекомендуется обновить версию \"{0}\".",
|
|
1450
1459
|
"This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_o_2807": "Для этого синтаксиса требуется импортированный вспомогательный объект с именем \"{1}\" и параметрами ({2}), который не совместим с объектом в \"{0}\". Попробуйте обновить версию \"{0}\".",
|
|
1451
|
-
"
|
|
1460
|
+
"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_system_or_noden_1378": "Выражения \"await\" верхнего уровня допускаются, только если для параметра \"module\" задано значение \"esnext\", \"system\" или \"nodenext\", а для параметра \"target\" задано значение \"es2017\" или выше.",
|
|
1452
1461
|
"Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier_1046": "Объявления верхнего уровня в файлах .d.ts должны начинаться с модификатора \"declare\" или \"export\".",
|
|
1453
|
-
"
|
|
1462
|
+
"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_esnext_system_or_nodenex_1432": "Циклы \"for await\" верхнего уровня допускаются, только если для параметра \"module\" задано значение \"esnext\", \"system\" или \"nodenext\", а для параметра \"target\" задано значение \"es2017\" или выше.",
|
|
1454
1463
|
"Trailing_comma_not_allowed_1009": "Завершающая запятая запрещена.",
|
|
1455
1464
|
"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153": "Транскомпиляция каждого файла как отдельного модуля (аналогично ts.transpileModule).",
|
|
1456
1465
|
"Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare__7035": "Попробуйте использовать команду \"npm i --save-dev @types/{1}\", если он существует, или добавьте новый файл объявления (.d.ts), содержащий \"declare module '{0}';\".",
|
|
@@ -1737,6 +1746,9 @@
|
|
|
1737
1746
|
"package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range_6209": "Файл \"package.json\" содержит запись \"typesVersions\" \"{0}\", которая не является допустимым диапазоном semver.",
|
|
1738
1747
|
"package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_ma_6208": "Файл \"package.json\" содержит запись \"typesVersions\" \"{0}\", которая соответствует версии компилятора \"{1}\", выполняется поиск шаблона для сопоставления имени модуля \"{2}\".",
|
|
1739
1748
|
"package_json_has_a_typesVersions_field_with_version_specific_path_mappings_6206": "Файл \"package.json\" содержит поле \"typesVersions\" с сопоставлениями путей, зависящих от версии.",
|
|
1749
|
+
"package_json_scope_0_explicitly_maps_specifier_1_to_null_6274": "Область package.json \"{0}\" явно сопоставляет описатель \"{1}\" со значением NULL.",
|
|
1750
|
+
"package_json_scope_0_has_invalid_type_for_target_of_specifier_1_6275": "Область package.json \"{0}\" имеет недопустимый тип для целевого объекта описателя \"{1}\"",
|
|
1751
|
+
"package_json_scope_0_has_no_imports_defined_6273": "Для области package.json \"{0}\" не определены операции импорта.",
|
|
1740
1752
|
"paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091": "Параметр paths указан, идет поиск шаблона, соответствующего имени модуля \"{0}\".",
|
|
1741
1753
|
"readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024": "Модификатор readonly может отображаться только в объявлении свойства или сигнатуре индекса.",
|
|
1742
1754
|
"readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354": "Модификатор типа \"readonly\" допускается только для типов литерала массива и кортежа.",
|
|
@@ -1052,6 +1052,7 @@
|
|
|
1052
1052
|
"Private_accessor_was_defined_without_a_getter_2806": "Özel erişimci bir alıcı olmadan tanımlandı.",
|
|
1053
1053
|
"Private_identifiers_are_not_allowed_in_variable_declarations_18029": "Değişken bildirimlerinde özel tanımlayıcılara izin verilmiyor.",
|
|
1054
1054
|
"Private_identifiers_are_not_allowed_outside_class_bodies_18016": "Sınıf gövdelerinin dışında özel tanımlayıcılara izin verilmiyor.",
|
|
1055
|
+
"Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member__1451": "Özel tanımlayıcılara yalnızca sınıf gövdelerinde izin verilir ve yalnızca bir sınıf üyesi bildiriminin parçası olarak, özellik erişimi olarak veya ‘in’ ifadesinin sol tarafında kullanılabilirler.",
|
|
1055
1056
|
"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028": "Özel tanımlayıcılar yalnızca ECMAScript 2015 veya üzeri hedeflenirken kullanılabilir.",
|
|
1056
1057
|
"Private_identifiers_cannot_be_used_as_parameters_18009": "Özel tanımlayıcılar parametre olarak kullanılamaz.",
|
|
1057
1058
|
"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105": "Özel veya korumalı '{0}' üyesine bir tür parametresinde erişilemiyor.",
|
|
@@ -1376,7 +1377,7 @@
|
|
|
1376
1377
|
"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362": "Aritmetik işlemin sol tarafı, 'any', 'number', 'bigint' veya bir sabit listesi türünde olmalıdır.",
|
|
1377
1378
|
"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779": "Atama ifadesinin sol tarafı, isteğe bağlı bir özellik erişimi olamaz.",
|
|
1378
1379
|
"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364": "Atama ifadesinin sol tarafında bir değişken veya özellik erişimi bulunmalıdır.",
|
|
1379
|
-
"
|
|
1380
|
+
"The_left_hand_side_of_an_in_expression_must_be_a_private_identifier_or_of_type_any_string_number_or__2360": "'in' ifadesinin sol tarafı özel bir tanımlayıcı veya 'any', 'string', 'number' ya da 'symbol' türünde olmalıdır.",
|
|
1380
1381
|
"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358": "'instanceof' ifadesinin sol tarafı 'any' türünde, bir nesne türü veya tür parametresi olmalıdır.",
|
|
1381
1382
|
"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156": "Kullanıcıya ileti görüntülenirken kullanılacak yerel ayar (örn. 'tr-tr')",
|
|
1382
1383
|
"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136": "node_modules altında arama yapmak ve JavaScript dosyalarını yüklemek için en yüksek bağımlılık derinliği.",
|