typescript 4.8.0-dev.20220620 → 4.8.0-dev.20220621
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 +5 -0
- package/lib/fr/diagnosticMessages.generated.json +5 -0
- package/lib/ja/diagnosticMessages.generated.json +5 -0
- package/lib/pl/diagnosticMessages.generated.json +5 -0
- package/lib/pt-br/diagnosticMessages.generated.json +5 -0
- package/lib/tsc.js +1 -1
- package/lib/tsserver.js +15 -2
- package/lib/tsserverlibrary.js +15 -2
- package/lib/typescript.js +15 -2
- package/lib/typescriptServices.js +15 -2
- package/lib/typingsInstaller.js +1 -1
- package/lib/zh-cn/diagnosticMessages.generated.json +5 -0
- package/lib/zh-tw/diagnosticMessages.generated.json +5 -0
- package/package.json +1 -1
|
@@ -1588,6 +1588,7 @@
|
|
|
1588
1588
|
"Type_reference_directive_0_was_not_resolved_6120": "======== Direktiva odkazu na typ {0} se nepřeložila. ========",
|
|
1589
1589
|
"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119": "======== Direktiva odkazu na typ {0} se úspěšně přeložila na {1}, primární: {2}. ========",
|
|
1590
1590
|
"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219": "======== Direktiva odkazu na typ {0} se úspěšně přeložila na {1} s ID balíčku {2}, primární: {3}. ========",
|
|
1591
|
+
"Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043": "Typy se v deklaracích exportu v souborech JavaScriptu nemůžou vyskytovat.",
|
|
1591
1592
|
"Types_have_separate_declarations_of_a_private_property_0_2442": "Typy mají samostatné deklarace privátní vlastnosti {0}.",
|
|
1592
1593
|
"Types_of_construct_signatures_are_incompatible_2419": "Typy signatur konstruktorů nejsou kompatibilní.",
|
|
1593
1594
|
"Types_of_parameters_0_and_1_are_incompatible_2328": "Typy parametrů {0} a {1} jsou nekompatibilní.",
|
|
@@ -1665,6 +1666,8 @@
|
|
|
1665
1666
|
"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113": "Uzavřít následující kód, který by měl být literál objektu, do závorek",
|
|
1666
1667
|
"You_can_learn_about_all_of_the_compiler_options_at_0_6913": "Informace o všech možnostech kompilátoru najdete na {0}",
|
|
1667
1668
|
"You_cannot_rename_a_module_via_a_global_import_8031": "Přes globální import se modul nedá přejmenovat.",
|
|
1669
|
+
"You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder_8035": "Nelze přejmenovat elementy definované ve složce node_modules.",
|
|
1670
|
+
"You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder_8036": "Nelze přejmenovat elementy definované v jiné složce node_modules.",
|
|
1668
1671
|
"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001": "Nejde přejmenovat elementy definované ve standardní knihovně TypeScriptu.",
|
|
1669
1672
|
"You_cannot_rename_this_element_8000": "Tento element nejde přejmenovat.",
|
|
1670
1673
|
"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329": "Objekt {0} přijímá málo argumentů k tomu, aby se dal použít jako dekoratér. Nechtěli jste ho nejprve volat a napsat @{0}()?",
|
|
@@ -1692,9 +1695,11 @@
|
|
|
1692
1695
|
"_0_index_signatures_are_incompatible_2634": "Signatury indexu {0} jsou nekompatibilní.",
|
|
1693
1696
|
"_0_index_type_1_is_not_assignable_to_2_index_type_3_2413": "{0} Typ indexu {1} se nedá přiřadit k {2} typu indexu {3}.",
|
|
1694
1697
|
"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692": "{0} je primitivum, ale {1} je obálkový objekt. Pokud je to možné, použijte raději {0}.",
|
|
1698
|
+
"_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation_18042": "{0} je typ a nedá se importovat do javascriptových souborů. V poznámce typu JSDoc použijte {1}.",
|
|
1695
1699
|
"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedMod_1444": "Hodnota {0} je typ a musí být importována pomocí importu, který se bude zadávat jenom v případě, že jsou povolené parametry preserveValueImports a isolatedModules.",
|
|
1696
1700
|
"_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation_2842": "{0} je nepoužívané přejmenování {1}. Chtěli jste ji použít jako poznámku typu?",
|
|
1697
1701
|
"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075": "{0} se dá přiřadit k omezení typu {1}, ale pro {1} se dala vytvořit instance s jiným podtypem omezení {2}.",
|
|
1702
|
+
"_0_is_automatically_exported_here_18044": "{0} se sem automaticky exportuje.",
|
|
1698
1703
|
"_0_is_declared_but_its_value_is_never_read_6133": "Deklaruje se {0}, ale jeho hodnota se vůbec nečte.",
|
|
1699
1704
|
"_0_is_declared_but_never_used_6196": "{0} se nadeklarovalo, ale nepoužilo.",
|
|
1700
1705
|
"_0_is_declared_here_2728": "{0} je deklarované tady.",
|
|
@@ -1588,6 +1588,7 @@
|
|
|
1588
1588
|
"Type_reference_directive_0_was_not_resolved_6120": "======== La directive de référence de type '{0}' n'a pas été résolue. ========",
|
|
1589
1589
|
"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119": "======== La directive de référence de type '{0}' a été correctement résolue en '{1}', primaire : {2}. ========",
|
|
1590
1590
|
"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219": "======== La directive de référence de type '{0}' a été correctement résolue en '{1}' avec l'ID de package '{2}', primaire : {3}. ========",
|
|
1591
|
+
"Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043": "Les types ne peuvent pas apparaître dans les déclarations d’exportation dans les fichiers JavaScript.",
|
|
1591
1592
|
"Types_have_separate_declarations_of_a_private_property_0_2442": "Les types ont des déclarations distinctes d'une propriété privée '{0}'.",
|
|
1592
1593
|
"Types_of_construct_signatures_are_incompatible_2419": "Les types de signature de construction sont incompatibles.",
|
|
1593
1594
|
"Types_of_parameters_0_and_1_are_incompatible_2328": "Les types des paramètres '{0}' et '{1}' sont incompatibles.",
|
|
@@ -1665,6 +1666,8 @@
|
|
|
1665
1666
|
"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113": "Placer le corps suivant entre parenthèses pour indiquer qu'il s'agit d'un littéral d'objet",
|
|
1666
1667
|
"You_can_learn_about_all_of_the_compiler_options_at_0_6913": "Vous pouvez en savoir plus sur toutes les options du compilateur sur {0}",
|
|
1667
1668
|
"You_cannot_rename_a_module_via_a_global_import_8031": "Vous ne pouvez pas renommer un module via une importation globale.",
|
|
1669
|
+
"You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder_8035": "Vous ne pouvez pas renommer les éléments définis dans un dossier « node_modules ».",
|
|
1670
|
+
"You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder_8036": "Vous ne pouvez pas renommer les éléments définis dans un autre dossier « node_modules ».",
|
|
1668
1671
|
"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001": "Vous ne pouvez pas renommer des éléments définis dans la bibliothèque TypeScript standard.",
|
|
1669
1672
|
"You_cannot_rename_this_element_8000": "Vous ne pouvez pas renommer cet élément.",
|
|
1670
1673
|
"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329": "'{0}' accepte trop peu d'arguments pour pouvoir être utilisé ici en tant qu'élément décoratif. Voulez-vous vraiment l'appeler d'abord et écrire '@{0}()' ?",
|
|
@@ -1692,9 +1695,11 @@
|
|
|
1692
1695
|
"_0_index_signatures_are_incompatible_2634": "Les signatures d'index « {0} » sont incompatibles.",
|
|
1693
1696
|
"_0_index_type_1_is_not_assignable_to_2_index_type_3_2413": "Le type d’index « {0} », « {1} », ne peut pas être attribué au type d’index « {2} », « {3} ».",
|
|
1694
1697
|
"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692": "'{0}' est une primitive, mais '{1}' est un objet wrapper. Si possible, utilisez '{0}' de préférence.",
|
|
1698
|
+
"_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation_18042": "'{0}' est un type qui ne peut pas être importé dans des fichiers JavaScript. Utilisez '{1}' dans une annotation de type JSDoc.",
|
|
1695
1699
|
"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedMod_1444": "« {0} » est un type seul et doit être importé à l'aide d'une importation de type seul lorsque « preserveValueImports » et « isolatedModules » sont tous deux activés.",
|
|
1696
1700
|
"_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation_2842": "« {0} » est un changement de nom inutilisé de « {1} ». Souhaitiez-vous l’utiliser comme annotation de type?",
|
|
1697
1701
|
"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075": "'{0}' peut être assigné à la contrainte de type '{1}', mais '{1}' a pu être instancié avec un autre sous-type de contrainte '{2}'.",
|
|
1702
|
+
"_0_is_automatically_exported_here_18044": "'{0}' est automatiquement exporté ici.",
|
|
1698
1703
|
"_0_is_declared_but_its_value_is_never_read_6133": "'{0}' est déclaré mais sa valeur n'est jamais lue.",
|
|
1699
1704
|
"_0_is_declared_but_never_used_6196": "'{0}' est déclaré mais n'est jamais utilisé.",
|
|
1700
1705
|
"_0_is_declared_here_2728": "'{0}' est déclaré ici.",
|
|
@@ -1588,6 +1588,7 @@
|
|
|
1588
1588
|
"Type_reference_directive_0_was_not_resolved_6120": "======== 型参照ディレクティブ '{0}' が解決されませんでした。========",
|
|
1589
1589
|
"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119": "======== 型参照ディレクティブ '{0}' が正常に '{1}' に解決されました。プライマリ: {2}。========",
|
|
1590
1590
|
"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219": "======== 型参照ディレクティブ '{0}' が正常に '{1}' に解決されました (パッケージ ID '{2}'、プライマリ: {3})。========",
|
|
1591
|
+
"Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043": "JavaScript ファイルのエクスポート宣言に型を含めることはできません。",
|
|
1591
1592
|
"Types_have_separate_declarations_of_a_private_property_0_2442": "複数の型に、プライベート プロパティ '{0}' の異なる宣言が含まれています。",
|
|
1592
1593
|
"Types_of_construct_signatures_are_incompatible_2419": "コンストラクト シグネチャの型に互換性がありません。",
|
|
1593
1594
|
"Types_of_parameters_0_and_1_are_incompatible_2328": "パラメーター '{0}' および '{1}' は型に互換性がありません。",
|
|
@@ -1665,6 +1666,8 @@
|
|
|
1665
1666
|
"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113": "次の本体をかっこで囲みます。これはオブジェクト リテラルです",
|
|
1666
1667
|
"You_can_learn_about_all_of_the_compiler_options_at_0_6913": "コンパイラ オプションの詳細については、{0} をご覧ください。",
|
|
1667
1668
|
"You_cannot_rename_a_module_via_a_global_import_8031": "グローバル インポートを使用してモジュールの名前を変更することはできません。",
|
|
1669
|
+
"You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder_8035": "'node_modules' フォルダーで定義されている要素の名前を変更することはできません。",
|
|
1670
|
+
"You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder_8036": "別の 'node_modules' フォルダーで定義されている要素の名前を変更することはできません。",
|
|
1668
1671
|
"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001": "標準の TypeScript ライブラリで定義された要素の名前を変更することはできません。",
|
|
1669
1672
|
"You_cannot_rename_this_element_8000": "この要素の名前を変更することはできません。",
|
|
1670
1673
|
"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329": "'{0}' は受け入れる引数が少なすぎるので、ここでデコレーターとして使用することができません。最初にこれを呼び出してから、'@{0}()' を書き込むつもりでしたか?",
|
|
@@ -1692,9 +1695,11 @@
|
|
|
1692
1695
|
"_0_index_signatures_are_incompatible_2634": "'{0}' インデックス シグネチャに互換性がありません。",
|
|
1693
1696
|
"_0_index_type_1_is_not_assignable_to_2_index_type_3_2413": "'{0}'インデックス型'{1}' を '{2}'インデックス型'{3}' に割り当てることはできません。",
|
|
1694
1697
|
"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692": "'{0}' はプリミティブですが、'{1}' はラッパー オブジェクトです。できれば '{0}' をご使用ください。",
|
|
1698
|
+
"_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation_18042": "'{0}' は型であるため、JavaScript ファイルにインポートできません。JSDoc 型の注釈で '{1}' を使用します。",
|
|
1695
1699
|
"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedMod_1444": "\"{0}\" は型であり、\"preserveValueImports\" と \"isolatedModules\" の両方が有効な場合、型に限定したインポートを使用してインポートされる必要があります。",
|
|
1696
1700
|
"_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation_2842": "'{0}' は、'{1}' の未使用の名前変更です。型の注釈として使用するつもりでしたか?",
|
|
1697
1701
|
"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075": "'{0}' は型 '{1}' の制約に代入できますが、'{1}' は制約 '{2}' の別のサブタイプでインスタンス化できることがあります。",
|
|
1702
|
+
"_0_is_automatically_exported_here_18044": "`{0}` は自動的にここにエクスポートされます。",
|
|
1698
1703
|
"_0_is_declared_but_its_value_is_never_read_6133": "'{0}' が宣言されていますが、その値が読み取られることはありません。",
|
|
1699
1704
|
"_0_is_declared_but_never_used_6196": "'{0}' は宣言されましたが使用されませんでした。",
|
|
1700
1705
|
"_0_is_declared_here_2728": "'{0}' はここで宣言されています。",
|
|
@@ -1588,6 +1588,7 @@
|
|
|
1588
1588
|
"Type_reference_directive_0_was_not_resolved_6120": "======== Dyrektywa odwołania do typu „{0}” nie została rozpoznana. ========",
|
|
1589
1589
|
"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119": "======== Dyrektywa odwołania do typu „{0}” została pomyślnie rozpoznana jako „{1}”, podstawowe: {2}. ========",
|
|
1590
1590
|
"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219": "======== Dyrektywa odwołania do typu „{0}” została pomyślnie rozpoznana jako „{1}” z identyfikatorem pakietu „{2}”, podstawowe: {3}. ========",
|
|
1591
|
+
"Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043": "Typy nie mogą występować w deklaracjach eksportu w plikach JavaScript.",
|
|
1591
1592
|
"Types_have_separate_declarations_of_a_private_property_0_2442": "Typy mają osobne deklaracje właściwości prywatnej „{0}”.",
|
|
1592
1593
|
"Types_of_construct_signatures_are_incompatible_2419": "Typy sygnatur konstrukcji są niezgodne.",
|
|
1593
1594
|
"Types_of_parameters_0_and_1_are_incompatible_2328": "Typy parametrów „{0}” i „{1}” są niezgodne.",
|
|
@@ -1665,6 +1666,8 @@
|
|
|
1665
1666
|
"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113": "Zawijaj następującą treść z nawiasami, która powinna być literałem obiektu",
|
|
1666
1667
|
"You_can_learn_about_all_of_the_compiler_options_at_0_6913": "O wszystkich opcjach kompilatora przeczytasz na stronie {0}",
|
|
1667
1668
|
"You_cannot_rename_a_module_via_a_global_import_8031": "Nie można zmienić nazwy modułu za pomocą importu globalnego.",
|
|
1669
|
+
"You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder_8035": "Nie można zmieniać nazw elementów zdefiniowanych w folderze „node_modules”.",
|
|
1670
|
+
"You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder_8036": "Nie można zmieniać nazw elementów zdefiniowanych w innym folderze „node_modules”.",
|
|
1668
1671
|
"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001": "Nie można zmienić nazw elementów zdefiniowanych w standardowej bibliotece TypeScript.",
|
|
1669
1672
|
"You_cannot_rename_this_element_8000": "Nie można zmienić nazwy tego elementu.",
|
|
1670
1673
|
"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329": "Element „{0}” akceptuje za mało argumentów, aby można go było użyć w tym miejscu jako dekorator. Czy chcesz najpierw go wywołać i zapisać tag „@{0}()”?",
|
|
@@ -1692,9 +1695,11 @@
|
|
|
1692
1695
|
"_0_index_signatures_are_incompatible_2634": "Sygnatury indeksów „{0}” są niezgodne.",
|
|
1693
1696
|
"_0_index_type_1_is_not_assignable_to_2_index_type_3_2413": "Typu indeksu „{0}” „{1}” nie można przypisać do typu indeksu „{2}” „{3}”.",
|
|
1694
1697
|
"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692": "Element „{0}” jest elementem podstawowym, ale element „{1}” jest obiektem otoki. Preferuje się użycie elementu „{0}”, jeśli jest to możliwe.",
|
|
1698
|
+
"_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation_18042": "„{0}” jest typem i nie można go zaimportować w plikach JavaScript. Użyj elementu „{1}” w adnotacji typu JSDoc.",
|
|
1695
1699
|
"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedMod_1444": "Element \"{0}\" jest typem i musi być importowany przy użyciu importu tylko typu, gdy są włączone opcje \"preserveValueImports\" i \"isolatedModules\".",
|
|
1696
1700
|
"_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation_2842": "„{0}” to nieużywana zmiana nazwy elementu „{1}”. Czy zamierzano używać go jako adnotacji typu?",
|
|
1697
1701
|
"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075": "Element „{0}” można przypisać do ograniczenia typu „{1}”, ale wystąpienie typu „{1}” można utworzyć z innym podtypem ograniczenia „{2}”.",
|
|
1702
|
+
"_0_is_automatically_exported_here_18044": "W tym miejscu jest automatycznie eksportowany element „{0}”.",
|
|
1698
1703
|
"_0_is_declared_but_its_value_is_never_read_6133": "Element „{0}” jest zadeklarowany, ale jego wartość nie jest nigdy odczytywana.",
|
|
1699
1704
|
"_0_is_declared_but_never_used_6196": "Element „{0}” jest zadeklarowany, ale nie jest nigdy używany.",
|
|
1700
1705
|
"_0_is_declared_here_2728": "Element „{0}” jest zadeklarowany tutaj.",
|
|
@@ -1588,6 +1588,7 @@
|
|
|
1588
1588
|
"Type_reference_directive_0_was_not_resolved_6120": "======== A diretiva de referência de tipo '{0}' não foi resolvida. ========",
|
|
1589
1589
|
"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119": "======== A diretiva de referência de tipo '{0}' foi resolvida com sucesso para '{1}', primário: {2}. ========",
|
|
1590
1590
|
"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219": "======== A diretiva de referência de tipo '{0}' foi resolvida com sucesso para '{1}' com a ID do Pacote '{2}', primário: {3}. ========",
|
|
1591
|
+
"Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043": "Os tipos não podem aparecer em declarações de exportação em arquivos JavaScript.",
|
|
1591
1592
|
"Types_have_separate_declarations_of_a_private_property_0_2442": "Tipos têm declarações separadas de uma propriedade privada '{0}'.",
|
|
1592
1593
|
"Types_of_construct_signatures_are_incompatible_2419": "Os tipos de assinaturas de constructo são incompatíveis.",
|
|
1593
1594
|
"Types_of_parameters_0_and_1_are_incompatible_2328": "Os tipos de parâmetros '{0}' e '{1}' são incompatíveis.",
|
|
@@ -1665,6 +1666,8 @@
|
|
|
1665
1666
|
"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113": "Colocar entre parênteses o corpo a seguir, que deve ser um literal de objeto",
|
|
1666
1667
|
"You_can_learn_about_all_of_the_compiler_options_at_0_6913": "Você pode aprender sobre todas as opções do compilador em {0}",
|
|
1667
1668
|
"You_cannot_rename_a_module_via_a_global_import_8031": "Não é possível renomear um módulo por meio de uma importação global.",
|
|
1669
|
+
"You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder_8035": "Não é possível renomear elementos definidos em uma pasta 'node_modules'.",
|
|
1670
|
+
"You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder_8036": "Não é possível renomear elementos definidos em outra pasta 'node_modules'.",
|
|
1668
1671
|
"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001": "Não é possível renomear elementos que são definidos na biblioteca TypeScript padrão.",
|
|
1669
1672
|
"You_cannot_rename_this_element_8000": "Você não pode renomear este elemento.",
|
|
1670
1673
|
"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329": "'{0}' aceita muito poucos argumentos para serem usados como um decorador aqui. Você quis dizer para chamá-lo primeiro e gravar '@{0}()'?",
|
|
@@ -1692,9 +1695,11 @@
|
|
|
1692
1695
|
"_0_index_signatures_are_incompatible_2634": "'{0}' assinaturas de índice são incompatíveis.",
|
|
1693
1696
|
"_0_index_type_1_is_not_assignable_to_2_index_type_3_2413": "'{0}' tipo de índice '{1}' não pode ser atribuído a '{2}' tipo de índice '{3}'.",
|
|
1694
1697
|
"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692": "'{0}' é um primitivo, mas '{1}' é um objeto de wrapper. Prefira usar '{0}' quando possível.",
|
|
1698
|
+
"_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation_18042": "'{0}' é um tipo e não pode ser importado em arquivos JavaScript. Use '{1}' em uma anotação de tipo JSDoc.",
|
|
1695
1699
|
"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedMod_1444": "'{0}' é um tipo e deve ser importado usando uma importação somente de tipo quando 'preserveValueImports' e 'isolatedModules' estiverem habilitados.",
|
|
1696
1700
|
"_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation_2842": "'{0}' é uma renomeação não usada de '{1}'. Você pretendia usá-lo como uma anotação de tipo?",
|
|
1697
1701
|
"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075": "'{0}' é atribuível à restrição do tipo '{1}', mas é possível criar uma instância de '{1}' com um subtipo diferente de restrição '{2}'.",
|
|
1702
|
+
"_0_is_automatically_exported_here_18044": "'{0}' é exportado automaticamente aqui.",
|
|
1698
1703
|
"_0_is_declared_but_its_value_is_never_read_6133": "'{0}' é declarado, mas seu valor nunca é lido.",
|
|
1699
1704
|
"_0_is_declared_but_never_used_6196": "'{0}' está declarado, mas nunca foi usado.",
|
|
1700
1705
|
"_0_is_declared_here_2728": "'{0}' é declarado aqui.",
|
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.8";
|
|
72
|
-
ts.version = ts.versionMajorMinor + ".0-dev.
|
|
72
|
+
ts.version = ts.versionMajorMinor + ".0-dev.20220621";
|
|
73
73
|
var NativeCollections;
|
|
74
74
|
(function (NativeCollections) {
|
|
75
75
|
var globals = typeof globalThis !== "undefined" ? globalThis :
|
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 = ts.versionMajorMinor + ".0-dev.
|
|
112
|
+
ts.version = ts.versionMajorMinor + ".0-dev.20220621";
|
|
113
113
|
/* @internal */
|
|
114
114
|
var Comparison;
|
|
115
115
|
(function (Comparison) {
|
|
@@ -136199,6 +136199,10 @@ var ts;
|
|
|
136199
136199
|
}
|
|
136200
136200
|
break;
|
|
136201
136201
|
case 79 /* Identifier */: {
|
|
136202
|
+
var originalKeywordKind = location.originalKeywordKind;
|
|
136203
|
+
if (originalKeywordKind && ts.isKeyword(originalKeywordKind)) {
|
|
136204
|
+
return undefined;
|
|
136205
|
+
}
|
|
136202
136206
|
// class c { public prop = c| }
|
|
136203
136207
|
if (ts.isPropertyDeclaration(location.parent) && location.parent.initializer === location) {
|
|
136204
136208
|
return undefined;
|
|
@@ -156140,7 +156144,7 @@ var ts;
|
|
|
156140
156144
|
var checker = context.program.getTypeChecker();
|
|
156141
156145
|
var props = ts.map(info.properties, function (prop) {
|
|
156142
156146
|
var initializer = tryGetValueFromType(context, checker, importAdder, quotePreference, checker.getTypeOfSymbol(prop), info.parentDeclaration);
|
|
156143
|
-
return ts.factory.createPropertyAssignment(
|
|
156147
|
+
return ts.factory.createPropertyAssignment(createPropertyNameFromSymbol(prop, target, quotePreference, checker), initializer);
|
|
156144
156148
|
});
|
|
156145
156149
|
var options = {
|
|
156146
156150
|
leadingTriviaOption: ts.textChanges.LeadingTriviaOption.Exclude,
|
|
@@ -156260,6 +156264,15 @@ var ts;
|
|
|
156260
156264
|
var declaration = ts.findAncestor(callExpression, function (n) { return ts.isMethodDeclaration(n) || ts.isConstructorDeclaration(n); });
|
|
156261
156265
|
return declaration && declaration.parent === node ? declaration : undefined;
|
|
156262
156266
|
}
|
|
156267
|
+
function createPropertyNameFromSymbol(symbol, target, quotePreference, checker) {
|
|
156268
|
+
if (ts.isTransientSymbol(symbol) && symbol.nameType && symbol.nameType.flags & 8192 /* UniqueESSymbol */) {
|
|
156269
|
+
var expression = checker.symbolToExpression(symbol.nameType.symbol, 111551 /* Value */, symbol.valueDeclaration, 1048576 /* AllowUniqueESSymbolType */);
|
|
156270
|
+
if (expression) {
|
|
156271
|
+
return ts.factory.createComputedPropertyName(expression);
|
|
156272
|
+
}
|
|
156273
|
+
}
|
|
156274
|
+
return ts.createPropertyNameNodeForIdentifierOrLiteral(symbol.name, target, quotePreference === 0 /* Single */);
|
|
156275
|
+
}
|
|
156263
156276
|
})(codefix = ts.codefix || (ts.codefix = {}));
|
|
156264
156277
|
})(ts || (ts = {}));
|
|
156265
156278
|
/* @internal */
|
package/lib/tsserverlibrary.js
CHANGED
|
@@ -303,7 +303,7 @@ var ts;
|
|
|
303
303
|
// The following is baselined as a literal template type without intervention
|
|
304
304
|
/** The version of the TypeScript compiler release */
|
|
305
305
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
306
|
-
ts.version = ts.versionMajorMinor + ".0-dev.
|
|
306
|
+
ts.version = ts.versionMajorMinor + ".0-dev.20220621";
|
|
307
307
|
/* @internal */
|
|
308
308
|
var Comparison;
|
|
309
309
|
(function (Comparison) {
|
|
@@ -136812,6 +136812,10 @@ var ts;
|
|
|
136812
136812
|
}
|
|
136813
136813
|
break;
|
|
136814
136814
|
case 79 /* Identifier */: {
|
|
136815
|
+
var originalKeywordKind = location.originalKeywordKind;
|
|
136816
|
+
if (originalKeywordKind && ts.isKeyword(originalKeywordKind)) {
|
|
136817
|
+
return undefined;
|
|
136818
|
+
}
|
|
136815
136819
|
// class c { public prop = c| }
|
|
136816
136820
|
if (ts.isPropertyDeclaration(location.parent) && location.parent.initializer === location) {
|
|
136817
136821
|
return undefined;
|
|
@@ -156753,7 +156757,7 @@ var ts;
|
|
|
156753
156757
|
var checker = context.program.getTypeChecker();
|
|
156754
156758
|
var props = ts.map(info.properties, function (prop) {
|
|
156755
156759
|
var initializer = tryGetValueFromType(context, checker, importAdder, quotePreference, checker.getTypeOfSymbol(prop), info.parentDeclaration);
|
|
156756
|
-
return ts.factory.createPropertyAssignment(
|
|
156760
|
+
return ts.factory.createPropertyAssignment(createPropertyNameFromSymbol(prop, target, quotePreference, checker), initializer);
|
|
156757
156761
|
});
|
|
156758
156762
|
var options = {
|
|
156759
156763
|
leadingTriviaOption: ts.textChanges.LeadingTriviaOption.Exclude,
|
|
@@ -156873,6 +156877,15 @@ var ts;
|
|
|
156873
156877
|
var declaration = ts.findAncestor(callExpression, function (n) { return ts.isMethodDeclaration(n) || ts.isConstructorDeclaration(n); });
|
|
156874
156878
|
return declaration && declaration.parent === node ? declaration : undefined;
|
|
156875
156879
|
}
|
|
156880
|
+
function createPropertyNameFromSymbol(symbol, target, quotePreference, checker) {
|
|
156881
|
+
if (ts.isTransientSymbol(symbol) && symbol.nameType && symbol.nameType.flags & 8192 /* UniqueESSymbol */) {
|
|
156882
|
+
var expression = checker.symbolToExpression(symbol.nameType.symbol, 111551 /* Value */, symbol.valueDeclaration, 1048576 /* AllowUniqueESSymbolType */);
|
|
156883
|
+
if (expression) {
|
|
156884
|
+
return ts.factory.createComputedPropertyName(expression);
|
|
156885
|
+
}
|
|
156886
|
+
}
|
|
156887
|
+
return ts.createPropertyNameNodeForIdentifierOrLiteral(symbol.name, target, quotePreference === 0 /* Single */);
|
|
156888
|
+
}
|
|
156876
156889
|
})(codefix = ts.codefix || (ts.codefix = {}));
|
|
156877
156890
|
})(ts || (ts = {}));
|
|
156878
156891
|
/* @internal */
|
package/lib/typescript.js
CHANGED
|
@@ -294,7 +294,7 @@ var ts;
|
|
|
294
294
|
// The following is baselined as a literal template type without intervention
|
|
295
295
|
/** The version of the TypeScript compiler release */
|
|
296
296
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
297
|
-
ts.version = ts.versionMajorMinor + ".0-dev.
|
|
297
|
+
ts.version = ts.versionMajorMinor + ".0-dev.20220621";
|
|
298
298
|
/* @internal */
|
|
299
299
|
var Comparison;
|
|
300
300
|
(function (Comparison) {
|
|
@@ -136803,6 +136803,10 @@ var ts;
|
|
|
136803
136803
|
}
|
|
136804
136804
|
break;
|
|
136805
136805
|
case 79 /* Identifier */: {
|
|
136806
|
+
var originalKeywordKind = location.originalKeywordKind;
|
|
136807
|
+
if (originalKeywordKind && ts.isKeyword(originalKeywordKind)) {
|
|
136808
|
+
return undefined;
|
|
136809
|
+
}
|
|
136806
136810
|
// class c { public prop = c| }
|
|
136807
136811
|
if (ts.isPropertyDeclaration(location.parent) && location.parent.initializer === location) {
|
|
136808
136812
|
return undefined;
|
|
@@ -156744,7 +156748,7 @@ var ts;
|
|
|
156744
156748
|
var checker = context.program.getTypeChecker();
|
|
156745
156749
|
var props = ts.map(info.properties, function (prop) {
|
|
156746
156750
|
var initializer = tryGetValueFromType(context, checker, importAdder, quotePreference, checker.getTypeOfSymbol(prop), info.parentDeclaration);
|
|
156747
|
-
return ts.factory.createPropertyAssignment(
|
|
156751
|
+
return ts.factory.createPropertyAssignment(createPropertyNameFromSymbol(prop, target, quotePreference, checker), initializer);
|
|
156748
156752
|
});
|
|
156749
156753
|
var options = {
|
|
156750
156754
|
leadingTriviaOption: ts.textChanges.LeadingTriviaOption.Exclude,
|
|
@@ -156864,6 +156868,15 @@ var ts;
|
|
|
156864
156868
|
var declaration = ts.findAncestor(callExpression, function (n) { return ts.isMethodDeclaration(n) || ts.isConstructorDeclaration(n); });
|
|
156865
156869
|
return declaration && declaration.parent === node ? declaration : undefined;
|
|
156866
156870
|
}
|
|
156871
|
+
function createPropertyNameFromSymbol(symbol, target, quotePreference, checker) {
|
|
156872
|
+
if (ts.isTransientSymbol(symbol) && symbol.nameType && symbol.nameType.flags & 8192 /* UniqueESSymbol */) {
|
|
156873
|
+
var expression = checker.symbolToExpression(symbol.nameType.symbol, 111551 /* Value */, symbol.valueDeclaration, 1048576 /* AllowUniqueESSymbolType */);
|
|
156874
|
+
if (expression) {
|
|
156875
|
+
return ts.factory.createComputedPropertyName(expression);
|
|
156876
|
+
}
|
|
156877
|
+
}
|
|
156878
|
+
return ts.createPropertyNameNodeForIdentifierOrLiteral(symbol.name, target, quotePreference === 0 /* Single */);
|
|
156879
|
+
}
|
|
156867
156880
|
})(codefix = ts.codefix || (ts.codefix = {}));
|
|
156868
156881
|
})(ts || (ts = {}));
|
|
156869
156882
|
/* @internal */
|
|
@@ -294,7 +294,7 @@ var ts;
|
|
|
294
294
|
// The following is baselined as a literal template type without intervention
|
|
295
295
|
/** The version of the TypeScript compiler release */
|
|
296
296
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
297
|
-
ts.version = ts.versionMajorMinor + ".0-dev.
|
|
297
|
+
ts.version = ts.versionMajorMinor + ".0-dev.20220621";
|
|
298
298
|
/* @internal */
|
|
299
299
|
var Comparison;
|
|
300
300
|
(function (Comparison) {
|
|
@@ -136803,6 +136803,10 @@ var ts;
|
|
|
136803
136803
|
}
|
|
136804
136804
|
break;
|
|
136805
136805
|
case 79 /* Identifier */: {
|
|
136806
|
+
var originalKeywordKind = location.originalKeywordKind;
|
|
136807
|
+
if (originalKeywordKind && ts.isKeyword(originalKeywordKind)) {
|
|
136808
|
+
return undefined;
|
|
136809
|
+
}
|
|
136806
136810
|
// class c { public prop = c| }
|
|
136807
136811
|
if (ts.isPropertyDeclaration(location.parent) && location.parent.initializer === location) {
|
|
136808
136812
|
return undefined;
|
|
@@ -156744,7 +156748,7 @@ var ts;
|
|
|
156744
156748
|
var checker = context.program.getTypeChecker();
|
|
156745
156749
|
var props = ts.map(info.properties, function (prop) {
|
|
156746
156750
|
var initializer = tryGetValueFromType(context, checker, importAdder, quotePreference, checker.getTypeOfSymbol(prop), info.parentDeclaration);
|
|
156747
|
-
return ts.factory.createPropertyAssignment(
|
|
156751
|
+
return ts.factory.createPropertyAssignment(createPropertyNameFromSymbol(prop, target, quotePreference, checker), initializer);
|
|
156748
156752
|
});
|
|
156749
156753
|
var options = {
|
|
156750
156754
|
leadingTriviaOption: ts.textChanges.LeadingTriviaOption.Exclude,
|
|
@@ -156864,6 +156868,15 @@ var ts;
|
|
|
156864
156868
|
var declaration = ts.findAncestor(callExpression, function (n) { return ts.isMethodDeclaration(n) || ts.isConstructorDeclaration(n); });
|
|
156865
156869
|
return declaration && declaration.parent === node ? declaration : undefined;
|
|
156866
156870
|
}
|
|
156871
|
+
function createPropertyNameFromSymbol(symbol, target, quotePreference, checker) {
|
|
156872
|
+
if (ts.isTransientSymbol(symbol) && symbol.nameType && symbol.nameType.flags & 8192 /* UniqueESSymbol */) {
|
|
156873
|
+
var expression = checker.symbolToExpression(symbol.nameType.symbol, 111551 /* Value */, symbol.valueDeclaration, 1048576 /* AllowUniqueESSymbolType */);
|
|
156874
|
+
if (expression) {
|
|
156875
|
+
return ts.factory.createComputedPropertyName(expression);
|
|
156876
|
+
}
|
|
156877
|
+
}
|
|
156878
|
+
return ts.createPropertyNameNodeForIdentifierOrLiteral(symbol.name, target, quotePreference === 0 /* Single */);
|
|
156879
|
+
}
|
|
156867
156880
|
})(codefix = ts.codefix || (ts.codefix = {}));
|
|
156868
156881
|
})(ts || (ts = {}));
|
|
156869
156882
|
/* @internal */
|
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 = ts.versionMajorMinor + ".0-dev.
|
|
92
|
+
ts.version = ts.versionMajorMinor + ".0-dev.20220621";
|
|
93
93
|
/* @internal */
|
|
94
94
|
var Comparison;
|
|
95
95
|
(function (Comparison) {
|
|
@@ -1588,6 +1588,7 @@
|
|
|
1588
1588
|
"Type_reference_directive_0_was_not_resolved_6120": "======== 未解析类型引用指令“{0}”。========",
|
|
1589
1589
|
"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119": "======== 类型引用指令“{0}”已成功解析为“{1}”,主要: {2}。========",
|
|
1590
1590
|
"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219": "======== 类型引用指令 \"{0}\" 已成功解析为 \"{1}\" ,包 ID 为 \"{2}\",主要: {3}。========",
|
|
1591
|
+
"Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043": "类型不能出现在 JavaScript 文件的导出声明中。",
|
|
1591
1592
|
"Types_have_separate_declarations_of_a_private_property_0_2442": "类型具有私有属性“{0}”的单独声明。",
|
|
1592
1593
|
"Types_of_construct_signatures_are_incompatible_2419": "构造签名的类型不兼容。",
|
|
1593
1594
|
"Types_of_parameters_0_and_1_are_incompatible_2328": "参数“{0}”和“{1}” 的类型不兼容。",
|
|
@@ -1665,6 +1666,8 @@
|
|
|
1665
1666
|
"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113": "用括号将以下应为对象文字的正文括起来",
|
|
1666
1667
|
"You_can_learn_about_all_of_the_compiler_options_at_0_6913": "你可以在 {0} 了解编译器选项的所有内容",
|
|
1667
1668
|
"You_cannot_rename_a_module_via_a_global_import_8031": "不能通过全局导入对模块进行重命名。",
|
|
1669
|
+
"You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder_8035": "不能重命名已在 “node_modules” 文件夹中定义的元素。",
|
|
1670
|
+
"You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder_8036": "不能重命名已在另一个 “node_modules” 文件夹中定义的元素。",
|
|
1668
1671
|
"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001": "不能重命名标准 TypeScript 库中定义的元素。",
|
|
1669
1672
|
"You_cannot_rename_this_element_8000": "无法重命名此元素。",
|
|
1670
1673
|
"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329": "“{0}”收到的参数过少,无法在此处充当修饰器。你是要先调用它,然后再写入 \"@{0}()\" 吗?",
|
|
@@ -1692,9 +1695,11 @@
|
|
|
1692
1695
|
"_0_index_signatures_are_incompatible_2634": "“{0}”索引签名不兼容。",
|
|
1693
1696
|
"_0_index_type_1_is_not_assignable_to_2_index_type_3_2413": "“{0}”索引类型“{1}”不能分配给“{2}”索引类型“{3}”。",
|
|
1694
1697
|
"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692": "“{0}”是基元,但“{1}”是包装器对象。如可能首选使用“{0}”。",
|
|
1698
|
+
"_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation_18042": "“{0}”是一种类型,无法在 JavaScript 文件中导入。请在 JSDoc 类型批注中使用“{1}”。",
|
|
1695
1699
|
"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedMod_1444": "\"{0}\" 是一种类型,在同时启用了 \"preserveValueImports\" 和 \"isolatedModules\" 时,必须使用仅类型导入进行导入。",
|
|
1696
1700
|
"_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation_2842": "“{0}”是“{1}”的未使用重命名。是否打算将其用作类型批注?",
|
|
1697
1701
|
"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075": "\"{0}\" 可赋给 \"{1}\" 类型的约束,但可以使用约束 \"{2}\" 的其他子类型实例化 \"{1}\"。",
|
|
1702
|
+
"_0_is_automatically_exported_here_18044": "“{0}”自动导出到此处。",
|
|
1698
1703
|
"_0_is_declared_but_its_value_is_never_read_6133": "已声明“{0}”,但从未读取其值。",
|
|
1699
1704
|
"_0_is_declared_but_never_used_6196": "“{0}”已声明,但从未使用过。",
|
|
1700
1705
|
"_0_is_declared_here_2728": "在此处声明了 \"{0}\"。",
|
|
@@ -1588,6 +1588,7 @@
|
|
|
1588
1588
|
"Type_reference_directive_0_was_not_resolved_6120": "======== 類型參考指示詞 '{0}' 未解析。========",
|
|
1589
1589
|
"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119": "======== 類型參考指示詞 '{0}' 已成功解析為 '{1}',主要: {2}。========",
|
|
1590
1590
|
"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219": "======== 類型參考指示詞 '{0}' 已成功解析為 '{1}',套件識別碼為 '{2}',主要: {3}。========",
|
|
1591
|
+
"Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043": "類型不能出現在 JavaScript 檔案的匯出宣告中。",
|
|
1591
1592
|
"Types_have_separate_declarations_of_a_private_property_0_2442": "類型具有私用屬性 '{0}' 的個別宣告。",
|
|
1592
1593
|
"Types_of_construct_signatures_are_incompatible_2419": "建構簽章的類型不相容。",
|
|
1593
1594
|
"Types_of_parameters_0_and_1_are_incompatible_2328": "參數 '{0}' 和 '{1}' 的類型不相容。",
|
|
@@ -1665,6 +1666,8 @@
|
|
|
1665
1666
|
"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113": "使用括弧括住下列必須是物件常值的主體",
|
|
1666
1667
|
"You_can_learn_about_all_of_the_compiler_options_at_0_6913": "您可以在以下位置了解所有編譯器選項: {0}",
|
|
1667
1668
|
"You_cannot_rename_a_module_via_a_global_import_8031": "您無法透過全域匯入重新命名模組。",
|
|
1669
|
+
"You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder_8035": "您無法重新命名 'node_modules' 資料夾中定義的元素。",
|
|
1670
|
+
"You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder_8036": "您無法重新命名其他 'node_modules' 資料夾中定義的元素。",
|
|
1668
1671
|
"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001": "您無法重新命名標準 TypeScript 程式庫中所定義的項目。",
|
|
1669
1672
|
"You_cannot_rename_this_element_8000": "您無法重新命名這個項目。",
|
|
1670
1673
|
"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329": "'{0}' 在此只接受極少數的引數用為裝飾項目。要先呼叫此項目,然後再寫入 '@{0}()' 嗎?",
|
|
@@ -1692,9 +1695,11 @@
|
|
|
1692
1695
|
"_0_index_signatures_are_incompatible_2634": "'{0}' 索引簽章不相容。",
|
|
1693
1696
|
"_0_index_type_1_is_not_assignable_to_2_index_type_3_2413": "'{0}' 索引類型 '{1}' 無法指派給 '{2}' 索引類型 '{3}'。",
|
|
1694
1697
|
"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692": "'{0}' 為基元,但 '{1}' 為包裝函式物件。建議盡可能使用 '{0}'。",
|
|
1698
|
+
"_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation_18042": "'{0}' 為類型,無法匯入 JavaScript 檔案。在 JSDoc 類型註釋中使用 '{1}'。",
|
|
1695
1699
|
"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedMod_1444": "'{0}' 是類型,而且當 'preserveValueImports' 和 'isolatedModules' 都啟用時,必須使用僅類型匯入來匯入。",
|
|
1696
1700
|
"_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation_2842": "'{0}' 是未使用的 '{1}' 重新命名。您是否想要使用它作為類型註釋?",
|
|
1697
1701
|
"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075": "'{0}' 可指派給 '{1}' 類型的條件約束,但可能會將 '{1}' 以不同的條件約束 '{2}' 子類型來具現化。",
|
|
1702
|
+
"_0_is_automatically_exported_here_18044": "'{0}' 會自動匯出到此處。",
|
|
1698
1703
|
"_0_is_declared_but_its_value_is_never_read_6133": "'{0}' 已宣告但從未讀取其值。",
|
|
1699
1704
|
"_0_is_declared_but_never_used_6196": "宣告了 '{0}',但從未使用過。",
|
|
1700
1705
|
"_0_is_declared_here_2728": "'{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.8.0-dev.
|
|
5
|
+
"version": "4.8.0-dev.20220621",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|