typescript 4.6.0-dev.20220208 → 4.6.0-dev.20220209

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.
@@ -435,6 +435,7 @@
435
435
  "Convert_function_to_an_ES2015_class_95001": "Převést funkci na třídu ES2015",
436
436
  "Convert_invalid_character_to_its_html_entity_code_95100": "Převést neplatný znak na jeho kód entity HTML",
437
437
  "Convert_named_export_to_default_export_95062": "Převést pojmenovaný export na výchozí export",
438
+ "Convert_named_imports_to_default_import_95170": "Převést pojmenované importy na výchozí import",
438
439
  "Convert_named_imports_to_namespace_import_95057": "Převést pojmenované importy na import oboru názvů",
439
440
  "Convert_namespace_import_to_named_imports_95056": "Převést import oboru názvů na pojmenované importy",
440
441
  "Convert_overload_list_to_single_signature_95118": "Převést seznam přetížení na jednu signaturu",
@@ -1116,7 +1117,6 @@
1116
1117
  "Property_0_is_protected_in_type_1_but_public_in_type_2_2444": "Vlastnost {0} je v typu {1} chráněná, ale v typu {2} veřejná.",
1117
1118
  "Property_0_is_used_before_being_assigned_2565": "Vlastnost {0} je použitá před přiřazením.",
1118
1119
  "Property_0_is_used_before_its_initialization_2729": "Vlastnost {0} se používá dříve, než se inicializuje.",
1119
- "Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnex_2810": "Vlastnost „{0}“ se nedá použít v inicializátoru statické vlastnosti stejné třídy, když „cíl“ je „esnext“ a „useDefineForClassFields“ je „nepravda“.",
1120
1120
  "Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568": "Zdá se, že vlastnost {0} v typu {1} neexistuje. Měli jste na mysli {2}?",
1121
1121
  "Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606": "Vlastnost {0} rozšířeného atributu JSX nejde přiřadit cílové vlastnosti.",
1122
1122
  "Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094": "Vlastnost {0} exportovaného výrazu třídy nesmí být privátní nebo chráněná.",
@@ -1324,7 +1324,6 @@
1324
1324
  "Starting_compilation_in_watch_mode_6031": "Spouští se kompilace v režimu sledování...",
1325
1325
  "Statement_expected_1129": "Očekává se příkaz.",
1326
1326
  "Statements_are_not_allowed_in_ambient_contexts_1036": "Příkazy se nepovolují v ambientních kontextech.",
1327
- "Static_fields_with_private_names_can_t_have_initializers_when_the_useDefineForClassFields_flag_is_no_2805": "Statická pole s privátními názvy nemůžou mít inicializátory, pokud se nezadá příznak --useDefineForClassFields s parametrem --target o hodnotě esnext. Zvažte možnost přidat příznak --useDefineForClassFields.",
1328
1327
  "Static_members_cannot_reference_class_type_parameters_2302": "Statické členy nemůžou odkazovat na parametry typu třídy.",
1329
1328
  "Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699": "Statická vlastnost {0} je v konfliktu s předdefinovanou vlastností Function.{0} funkce konstruktoru {1}.",
1330
1329
  "String_literal_expected_1141": "Očekává se řetězcový literál.",
@@ -435,6 +435,7 @@
435
435
  "Convert_function_to_an_ES2015_class_95001": "Convertir la función en una clase ES2015",
436
436
  "Convert_invalid_character_to_its_html_entity_code_95100": "Convertir un carácter no válido a su código de entidad HTML",
437
437
  "Convert_named_export_to_default_export_95062": "Convertir una exportación con nombre en exportación predeterminada",
438
+ "Convert_named_imports_to_default_import_95170": "Convertir importaciones con nombre en importación predeterminada",
438
439
  "Convert_named_imports_to_namespace_import_95057": "Convertir importaciones con nombre en una importación de espacio de nombres",
439
440
  "Convert_namespace_import_to_named_imports_95056": "Convertir una importación de espacio de nombres en importaciones con nombre",
440
441
  "Convert_overload_list_to_single_signature_95118": "Convertir lista de sobrecargas en firma única",
@@ -1116,7 +1117,6 @@
1116
1117
  "Property_0_is_protected_in_type_1_but_public_in_type_2_2444": "La propiedad '{0}' está protegida en el tipo '{1}', pero es pública en el tipo '{2}'.",
1117
1118
  "Property_0_is_used_before_being_assigned_2565": "La propiedad \"{0}\" se usa antes de asignarla.",
1118
1119
  "Property_0_is_used_before_its_initialization_2729": "La propiedad \"{0}\" se usa antes de su inicialización.",
1119
- "Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnex_2810": "La propiedad \"{0}\" no se puede usar en un inicializador de propiedad estática en la misma clase cuando \"target\" es \"esnext\" y \"useDefineForClassFields\" es \"false\".",
1120
1120
  "Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568": "La propiedad \"{0}\" no existe en el tipo \"{1}\". ¿Quería decir \"{2}\"?",
1121
1121
  "Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606": "La propiedad '{0}' del atributo spread de JSX no se puede asignar a la propiedad de destino.",
1122
1122
  "Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094": "La propiedad \"{0}\" de la expresión de clase exportada no puede ser privada ni estar protegida.",
@@ -1324,7 +1324,6 @@
1324
1324
  "Starting_compilation_in_watch_mode_6031": "Iniciando la compilación en modo de inspección...",
1325
1325
  "Statement_expected_1129": "Se esperaba una instrucción.",
1326
1326
  "Statements_are_not_allowed_in_ambient_contexts_1036": "No se permiten instrucciones en los contextos de ambiente.",
1327
- "Static_fields_with_private_names_can_t_have_initializers_when_the_useDefineForClassFields_flag_is_no_2805": "Los campos estáticos con nombres privados no pueden tener inicializadores si la marca \"--useDefineForClassFields\" no se especifica con un valor \"--target\" de \"esnext\". Pruebe a agregar la marca \"--useDefineForClassFields\".",
1328
1327
  "Static_members_cannot_reference_class_type_parameters_2302": "Los miembros estáticos no pueden hacer referencia a parámetros de tipo de clase.",
1329
1328
  "Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699": "La propiedad estática \"{0}\" está en conflicto con la propiedad integrada \"Function.{0}\" de la función de constructor \"{1}\".",
1330
1329
  "String_literal_expected_1141": "Se esperaba un literal de cadena.",
@@ -435,6 +435,7 @@
435
435
  "Convert_function_to_an_ES2015_class_95001": "Convertir la fonction en classe ES2015",
436
436
  "Convert_invalid_character_to_its_html_entity_code_95100": "Convertir un caractère non valide en son code d'entité html",
437
437
  "Convert_named_export_to_default_export_95062": "Convertir l'exportation nommée en exportation par défaut",
438
+ "Convert_named_imports_to_default_import_95170": "Convertir les importations nommées en importation par défaut",
438
439
  "Convert_named_imports_to_namespace_import_95057": "Convertir les importations nommées en importation d'espace de noms",
439
440
  "Convert_namespace_import_to_named_imports_95056": "Convertir l'importation d'espace de noms en importations nommées",
440
441
  "Convert_overload_list_to_single_signature_95118": "Convertir la liste de surcharge en une seule signature",
@@ -1116,7 +1117,6 @@
1116
1117
  "Property_0_is_protected_in_type_1_but_public_in_type_2_2444": "La propriété '{0}' est protégée dans le type '{1}', mais publique dans le type '{2}'.",
1117
1118
  "Property_0_is_used_before_being_assigned_2565": "La propriété '{0}' est utilisée avant d'être assignée.",
1118
1119
  "Property_0_is_used_before_its_initialization_2729": "La propriété '{0}' est utilisée avant son initialisation.",
1119
- "Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnex_2810": "La propriété '{0}' ne peut pas être utilisée dans la version initiale d’une propriété statique dans la même classe lorsque 'target' est 'esnext' et 'useDefineForClassFields' est 'false'.",
1120
1120
  "Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568": "La propriété «{0}» n'existe pas sur le type «{1}». Est-ce qu'il ne s'agit pas plutôt de «{2}»?",
1121
1121
  "Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606": "Impossible d'assigner la propriété '{0}' de l'attribut spread JSX à la propriété cible.",
1122
1122
  "Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094": "La propriété '{0}' de l'expression de classe exportée ne peut pas être privée ou protégée.",
@@ -1324,7 +1324,6 @@
1324
1324
  "Starting_compilation_in_watch_mode_6031": "Démarrage de la compilation en mode espion...",
1325
1325
  "Statement_expected_1129": "Instruction attendue.",
1326
1326
  "Statements_are_not_allowed_in_ambient_contexts_1036": "Les instructions ne sont pas autorisées dans les contextes ambiants.",
1327
- "Static_fields_with_private_names_can_t_have_initializers_when_the_useDefineForClassFields_flag_is_no_2805": "Les champs static avec des noms privés ne peuvent pas avoir d'initialiseurs quand l'indicateur '--useDefineForClassFields' n'est pas spécifié avec le '--target' 'esnext'. Ajoutez l'indicateur '--useDefineForClassFields'.",
1328
1327
  "Static_members_cannot_reference_class_type_parameters_2302": "Les membres statiques ne peuvent pas référencer des paramètres de type de classe.",
1329
1328
  "Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699": "La propriété statique '{0}' est en conflit avec la propriété intégrée 'Function.{0}' de la fonction constructeur '{1}'.",
1330
1329
  "String_literal_expected_1141": "Littéral de chaîne attendu.",
@@ -435,6 +435,7 @@
435
435
  "Convert_function_to_an_ES2015_class_95001": "Converti la funzione in una classe ES2015",
436
436
  "Convert_invalid_character_to_its_html_entity_code_95100": "Convertire il carattere non valido nel relativo codice entità HTML",
437
437
  "Convert_named_export_to_default_export_95062": "Convertire l'esportazione denominata nell'esportazione predefinita",
438
+ "Convert_named_imports_to_default_import_95170": "Converti importazioni denominate nell'importazione predefinita",
438
439
  "Convert_named_imports_to_namespace_import_95057": "Convertire le importazioni denominate in importazione spazi dei nomi",
439
440
  "Convert_namespace_import_to_named_imports_95056": "Convertire l'importazione spazi dei nomi in importazioni denominate",
440
441
  "Convert_overload_list_to_single_signature_95118": "Convertire l'elenco di overload in una firma singola",
@@ -1116,7 +1117,6 @@
1116
1117
  "Property_0_is_protected_in_type_1_but_public_in_type_2_2444": "La proprietà '{0}' è protetta nel tipo '{1}', ma è pubblica non nel tipo '{2}'.",
1117
1118
  "Property_0_is_used_before_being_assigned_2565": "La proprietà '{0}' viene usata prima dell'assegnazione.",
1118
1119
  "Property_0_is_used_before_its_initialization_2729": "La proprietà '{0}' viene usata prima della relativa inizializzazione.",
1119
- "Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnex_2810": "La proprietà '{0}' potrebbe non essere usata in un inizializzatore di proprietà statica nella stessa classe quando 'target' è 'esnext' e 'useDefineForClassFields' è 'false'.",
1120
1120
  "Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568": "La proprietà '{0}' potrebbe non esistere nel tipo '{1}'. Si intendeva '{2}'?",
1121
1121
  "Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606": "La proprietà '{0}' dell'attributo spread JSX non è assegnabile alla proprietà di destinazione.",
1122
1122
  "Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094": "La proprietà '{0}' dell'espressione di classe esportata potrebbe essere non privata o protetta.",
@@ -1324,7 +1324,6 @@
1324
1324
  "Starting_compilation_in_watch_mode_6031": "Avvio della compilazione in modalità espressione di controllo...",
1325
1325
  "Statement_expected_1129": "È prevista l'istruzione.",
1326
1326
  "Statements_are_not_allowed_in_ambient_contexts_1036": "Le istruzioni non sono consentite in contesti di ambiente.",
1327
- "Static_fields_with_private_names_can_t_have_initializers_when_the_useDefineForClassFields_flag_is_no_2805": "I campi statici con nomi privati non possono includere inizializzatori quando per specificare il flag '--useDefineForClassFields' non si usa '--target' con valore 'esnext'. Provare ad aggiungere il flag '--useDefineForClassFields'.",
1328
1327
  "Static_members_cannot_reference_class_type_parameters_2302": "I membri statici non possono fare riferimento a parametri di tipo classe.",
1329
1328
  "Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699": "La proprietà statica '{0}' è in conflitto con la proprietà predefinita 'Function.{0}' della funzione del costruttore '{1}'.",
1330
1329
  "String_literal_expected_1141": "È previsto un valore letterale stringa.",
@@ -435,6 +435,7 @@
435
435
  "Convert_function_to_an_ES2015_class_95001": "関数を ES2015 クラスに変換します",
436
436
  "Convert_invalid_character_to_its_html_entity_code_95100": "無効な文字をその html エンティティ コードに変換する",
437
437
  "Convert_named_export_to_default_export_95062": "名前付きエクスポートを既定のエクスポートに変換する",
438
+ "Convert_named_imports_to_default_import_95170": "名前付きインポートを既定のインポートに変換する",
438
439
  "Convert_named_imports_to_namespace_import_95057": "名前付きインポートを名前空間インポートに変換します",
439
440
  "Convert_namespace_import_to_named_imports_95056": "名前空間インポートを名前付きインポートに変換します",
440
441
  "Convert_overload_list_to_single_signature_95118": "オーバーロード リストを単一のシグネチャに変換する",
@@ -1116,7 +1117,6 @@
1116
1117
  "Property_0_is_protected_in_type_1_but_public_in_type_2_2444": "プロパティ '{0}' は型 '{1}' では保護されていますが、型 '{2}' ではパブリックです。",
1117
1118
  "Property_0_is_used_before_being_assigned_2565": "プロパティ '{0}' は割り当てられる前に使用されています。",
1118
1119
  "Property_0_is_used_before_its_initialization_2729": "プロパティ '{0}' が初期化前に使用されています。",
1119
- "Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnex_2810": "' target ' が ' esnext ' で、' useesb Forclassfields ' が ' false ' の場合、プロパティ ' {0} ' を同じクラスにある静的プロパティの初期化子で使用することはできません。",
1120
1120
  "Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568": "プロパティ '{0}' は型 '{1}' に存在していない可能性があります。'{2}' ですか?",
1121
1121
  "Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606": "JSX のスプレッド属性のプロパティ '{0}' をターゲット プロパティに割り当てることはできません。",
1122
1122
  "Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094": "エクスポートされたクラスの式のプロパティ '{0}' が private または protected でない可能性があります。",
@@ -1324,7 +1324,6 @@
1324
1324
  "Starting_compilation_in_watch_mode_6031": "ウォッチ モードでのコンパイルを開始しています...",
1325
1325
  "Statement_expected_1129": "ステートメントが必要です。",
1326
1326
  "Statements_are_not_allowed_in_ambient_contexts_1036": "ステートメントは環境コンテキストでは使用できません。",
1327
- "Static_fields_with_private_names_can_t_have_initializers_when_the_useDefineForClassFields_flag_is_no_2805": "'--useDefineForClassFields' フラグに 'esnext' の '--target' が指定されていない場合、プライベート名を持つ静的フィールドに初期化子を指定することはできません。'--useDefineForClassFields' フラグを追加することをご検討ください。",
1328
1327
  "Static_members_cannot_reference_class_type_parameters_2302": "静的メンバーはクラスの型パラメーターを参照できません。",
1329
1328
  "Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699": "静的プロパティ '{0}' がコンストラクター関数 '{1}' のビルトイン プロパティ 'Function.{0}' と競合しています。",
1330
1329
  "String_literal_expected_1141": "文字列リテラルが必要です。",
@@ -435,6 +435,7 @@
435
435
  "Convert_function_to_an_ES2015_class_95001": "함수를 ES2015 클래스로 변환",
436
436
  "Convert_invalid_character_to_its_html_entity_code_95100": "잘못된 문자를 html 엔터티 코드로 변환",
437
437
  "Convert_named_export_to_default_export_95062": "명명된 내보내기를 기본 내보내기로 변환",
438
+ "Convert_named_imports_to_default_import_95170": "명명된 가져오기를 기본 가져오기로 변환",
438
439
  "Convert_named_imports_to_namespace_import_95057": "명명된 가져오기를 네임스페이스 가져오기로 변환",
439
440
  "Convert_namespace_import_to_named_imports_95056": "네임스페이스 가져오기를 명명된 가져오기로 변환",
440
441
  "Convert_overload_list_to_single_signature_95118": "오버로드 목록을 단일 시그니처로 변환",
@@ -1116,7 +1117,6 @@
1116
1117
  "Property_0_is_protected_in_type_1_but_public_in_type_2_2444": "'{0}' 속성은 '{1}' 형식에서는 보호된 속성이지만 '{2}' 형식에서는 공용입니다.",
1117
1118
  "Property_0_is_used_before_being_assigned_2565": "'{0}' 속성이 할당되기 전에 사용되었습니다.",
1118
1119
  "Property_0_is_used_before_its_initialization_2729": "초기화하기 전에 '{0}' 속성이 사용됩니다.",
1119
- "Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnex_2810": "'target'이 'esnext'이고 'useDefineForClassFields'가 'false'인 경우 동일한 클래스의 정적 속성의 이니셜라이저에서 '{0}'(은)는 속성을 사용할 수 없습니다.",
1120
1120
  "Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568": "'{0}' 속성이 '{1}' 형식에 없을 수 있습니다. '{2}'을(를) 사용하시겠습니까?",
1121
1121
  "Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606": "JSX 분배 특성의 '{0}' 속성을 대상 속성에 할당할 수 없습니다.",
1122
1122
  "Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094": "내보낸 클래스 식의 속성 '{0}'이(가) 프라이빗이 아니거나 보호되지 않을 수 있습니다.",
@@ -1324,7 +1324,6 @@
1324
1324
  "Starting_compilation_in_watch_mode_6031": "감시 모드에서 컴파일을 시작하는 중...",
1325
1325
  "Statement_expected_1129": "문이 필요합니다.",
1326
1326
  "Statements_are_not_allowed_in_ambient_contexts_1036": "앰비언트 컨텍스트에서는 문이 허용되지 않습니다.",
1327
- "Static_fields_with_private_names_can_t_have_initializers_when_the_useDefineForClassFields_flag_is_no_2805": "'--useDefineForClassFields' 플래그가 'esnext'의 '--target'과 함께 지정되지 않은 경우 프라이빗 이름을 가진 정적 필드는 이니셜라이저를 포함할 수 없습니다. '--useDefineForClassFields' 플래그를 추가하는 것이 좋습니다.",
1328
1327
  "Static_members_cannot_reference_class_type_parameters_2302": "정적 멤버는 클래스 형식 매개 변수를 참조할 수 없습니다.",
1329
1328
  "Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699": "정적 속성 '{0}'이(가) 생성자 함수 '{1}'의 기본 제공 속성 'Function.{0}'과(와) 충돌합니다.",
1330
1329
  "String_literal_expected_1141": "문자열 리터럴이 필요합니다.",
@@ -435,6 +435,7 @@
435
435
  "Convert_function_to_an_ES2015_class_95001": "Konwertuj funkcję na klasę ES2015",
436
436
  "Convert_invalid_character_to_its_html_entity_code_95100": "Konwertuj nieprawidłowy znak na jego kod jednostki html",
437
437
  "Convert_named_export_to_default_export_95062": "Konwertuj nazwany eksport na eksport domyślny",
438
+ "Convert_named_imports_to_default_import_95170": "Konwertuj nazwane importy na import domyślny",
438
439
  "Convert_named_imports_to_namespace_import_95057": "Konwertuj importy nazwane na import przestrzeni nazw",
439
440
  "Convert_namespace_import_to_named_imports_95056": "Konwertuj import przestrzeni nazw na importy nazwane",
440
441
  "Convert_overload_list_to_single_signature_95118": "Konwertuj listę przeciążeń na pojedynczą sygnaturę",
@@ -1116,7 +1117,6 @@
1116
1117
  "Property_0_is_protected_in_type_1_but_public_in_type_2_2444": "Właściwość „{0}” jest chroniona w typie „{1}”, ale jest publiczna w typie „{2}”.",
1117
1118
  "Property_0_is_used_before_being_assigned_2565": "Właściwość „{0}” jest używana przed przypisaniem.",
1118
1119
  "Property_0_is_used_before_its_initialization_2729": "Właściwość „{0}” jest używana przez jej zainicjowaniem.",
1119
- "Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnex_2810": "Nie można użyć właściwości \"{0}\" w inicjatorze właściwości statycznej w tej samej klasie, gdy parametr \"target\" ma wartość \"esnext\", a parametr \"useDefineForClassFields\" ma wartość \"false\".",
1120
1120
  "Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568": "Właściwość „{0}” nie istnieje w typie „{1}”. Czy chodziło Ci o „{2}”?",
1121
1121
  "Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606": "Właściwości „{0}” atrybutu rozkładu JSX nie można przypisać do właściwości docelowej.",
1122
1122
  "Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094": "Właściwość „{0}” wyeksportowanego wyrażenia klasy nie może być prywatna ani chroniona.",
@@ -1324,7 +1324,6 @@
1324
1324
  "Starting_compilation_in_watch_mode_6031": "Trwa uruchamianie kompilacji w trybie śledzenia...",
1325
1325
  "Statement_expected_1129": "Oczekiwano instrukcji.",
1326
1326
  "Statements_are_not_allowed_in_ambient_contexts_1036": "Instrukcje są niedozwolone w otaczających kontekstach.",
1327
- "Static_fields_with_private_names_can_t_have_initializers_when_the_useDefineForClassFields_flag_is_no_2805": "Pola statyczne z nazwami prywatnymi nie mogą mieć inicjatorów, gdy flaga „--useDefineForClassFields” nie jest określona z opcją „--target” o wartości „esnext”. Rozważ dodanie flagi „--useDefineForClassFields”.",
1328
1327
  "Static_members_cannot_reference_class_type_parameters_2302": "Statyczne składowe nie mogą przywoływać parametrów typu klasy.",
1329
1328
  "Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699": "Właściwość statyczna „{0}” jest w konflikcie z właściwością wbudowaną „Function.{0}” funkcji konstruktora „{1}”.",
1330
1329
  "String_literal_expected_1141": "Oczekiwano literału ciągu.",
@@ -435,6 +435,7 @@
435
435
  "Convert_function_to_an_ES2015_class_95001": "Converter função em uma classe ES2015",
436
436
  "Convert_invalid_character_to_its_html_entity_code_95100": "Converter o caractere inválido para seu código de entidade HTML",
437
437
  "Convert_named_export_to_default_export_95062": "Converter a exportação nomeada para a exportação padrão",
438
+ "Convert_named_imports_to_default_import_95170": "Converter importações nomeadas em importação padrão",
438
439
  "Convert_named_imports_to_namespace_import_95057": "Converter importações nomeadas em importação de namespace",
439
440
  "Convert_namespace_import_to_named_imports_95056": "Converter importação de namespace em importações nomeadas",
440
441
  "Convert_overload_list_to_single_signature_95118": "Converter a lista de sobrecarga em assinatura única",
@@ -1116,7 +1117,6 @@
1116
1117
  "Property_0_is_protected_in_type_1_but_public_in_type_2_2444": "A propriedade '{0}' é protegida no tipo '{1}', mas pública no tipo '{2}'.",
1117
1118
  "Property_0_is_used_before_being_assigned_2565": "A propriedade '{0}' é usada antes de ser atribuída.",
1118
1119
  "Property_0_is_used_before_its_initialization_2729": "A propriedade '{0}' é usada antes da inicialização.",
1119
- "Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnex_2810": "A propriedade '{0}' não pode ser usada em um inicializador de propriedade estática na mesma classe quando 'target' é 'esnext' e ' useDefineForClassFields' é 'false'.",
1120
1120
  "Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568": "A propriedade pode não existir '{0}' no tipo '{1}'. Você quis dizer '{2}'?",
1121
1121
  "Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606": "A propriedade \"{0}\" do atributo de espalhamento JSX não pode ser atribuída à propriedade de destino.",
1122
1122
  "Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094": "A propriedade '{0}' da expressão de classe exportada não pode ser privada nem protegida.",
@@ -1324,7 +1324,6 @@
1324
1324
  "Starting_compilation_in_watch_mode_6031": "Iniciando compilação no modo de inspeção...",
1325
1325
  "Statement_expected_1129": "Instrução esperada.",
1326
1326
  "Statements_are_not_allowed_in_ambient_contexts_1036": "Instruções não são permitidas em contextos de ambiente.",
1327
- "Static_fields_with_private_names_can_t_have_initializers_when_the_useDefineForClassFields_flag_is_no_2805": "Os campos estáticos com nomes privados não podem ter inicializadores quando o sinalizador '--useDefineForClassFields' não está especificado com um '--target' igual a 'esnext'. Considere adicionar o sinalizador '--useDefineForClassFields'.",
1328
1327
  "Static_members_cannot_reference_class_type_parameters_2302": "Membros estáticos não podem fazer referência a parâmetros de tipo de classe.",
1329
1328
  "Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699": "Conflitos de propriedade estática '{0}' com propriedade interna 'Function.{0}' da função de construtor '{1}'.",
1330
1329
  "String_literal_expected_1141": "Literal de cadeia de caracteres esperado.",
@@ -435,6 +435,7 @@
435
435
  "Convert_function_to_an_ES2015_class_95001": "İşlevi bir ES2015 sınıfına dönüştür",
436
436
  "Convert_invalid_character_to_its_html_entity_code_95100": "Geçersiz karakteri, karakterin HTML varlık koduna dönüştürün",
437
437
  "Convert_named_export_to_default_export_95062": "Adlandırılmış dışarı aktarmayı varsayılan dışarı aktarmaya dönüştürün",
438
+ "Convert_named_imports_to_default_import_95170": "Adlandırılmış içeri aktarmaları varsayılan içeri aktarmaya dönüştür",
438
439
  "Convert_named_imports_to_namespace_import_95057": "Adlandırılmış içeri aktarmaları ad alanı içeri aktarmasına dönüştür",
439
440
  "Convert_namespace_import_to_named_imports_95056": "Ad alanı içeri aktarmasını adlandırılmış içeri aktarmalara dönüştür",
440
441
  "Convert_overload_list_to_single_signature_95118": "Aşırı yükleme listesini tek imzaya dönüştür",
@@ -1116,7 +1117,6 @@
1116
1117
  "Property_0_is_protected_in_type_1_but_public_in_type_2_2444": "'{0}' özelliği '{1}' türünde korumalı, '{2}' türünde ise ortaktır.",
1117
1118
  "Property_0_is_used_before_being_assigned_2565": "'{0}' özelliği atanmadan önce kullanıldı.",
1118
1119
  "Property_0_is_used_before_its_initialization_2729": "'{0}' özelliği başlatılmadan önce kullanılıyor.",
1119
- "Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnex_2810": "'target', 'esnext' ve 'useDefineForClassFields', 'false' olduğunda, '{0}' özelliği aynı sınıftaki bir statik özelliğin başlatıcısında kullanılamaz.",
1120
1120
  "Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568": "'{0}' özelliği '{1}' türü üzerinde olamaz. Şunu mu demek istediniz: '{2}'?",
1121
1121
  "Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606": "JSX yayılma özniteliğine ait '{0}' özelliği, hedef özelliğe atanamaz.",
1122
1122
  "Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094": "Dışarı aktarılan sınıf ifadesinin '{0}' özelliği, özel veya korumalı olmayabilir.",
@@ -1324,7 +1324,6 @@
1324
1324
  "Starting_compilation_in_watch_mode_6031": "Derleme, izleme modunda başlatılıyor...",
1325
1325
  "Statement_expected_1129": "Deyim bekleniyor.",
1326
1326
  "Statements_are_not_allowed_in_ambient_contexts_1036": "Çevresel bağlamlarda deyimlere izin verilmez.",
1327
- "Static_fields_with_private_names_can_t_have_initializers_when_the_useDefineForClassFields_flag_is_no_2805": "'--useDefineForClassFields' bayrağı 'esnext' öğesinin '--target' hedefi ile belirtilmediğinde özel adlara sahip statik alanlar başlatıcılara sahip olamaz. '--useDefineForClassFields' bayrağını eklemeyi düşünün.",
1328
1327
  "Static_members_cannot_reference_class_type_parameters_2302": "Statik üyeler sınıf türündeki parametrelere başvuramaz.",
1329
1328
  "Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699": "'{0}' statik özelliği, '{1}' oluşturucu işlevinin yerleşik özelliği olan 'Function.{0}' ile çakışıyor.",
1330
1329
  "String_literal_expected_1141": "Dize sabit değeri bekleniyor.",
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.6";
72
- ts.version = ts.versionMajorMinor + ".0-dev.20220208";
72
+ ts.version = ts.versionMajorMinor + ".0-dev.20220209";
73
73
  var NativeCollections;
74
74
  (function (NativeCollections) {
75
75
  var globals = typeof globalThis !== "undefined" ? globalThis :
@@ -10516,6 +10516,10 @@ var ts;
10516
10516
  return undefined;
10517
10517
  }
10518
10518
  ts.getDeclarationOfKind = getDeclarationOfKind;
10519
+ function getDeclarationsOfKind(symbol, kind) {
10520
+ return ts.filter(symbol.declarations || ts.emptyArray, function (d) { return d.kind === kind; });
10521
+ }
10522
+ ts.getDeclarationsOfKind = getDeclarationsOfKind;
10519
10523
  function createSymbolTable(symbols) {
10520
10524
  var result = new ts.Map();
10521
10525
  if (symbols) {
@@ -45815,6 +45819,31 @@ var ts;
45815
45819
  }
45816
45820
  return links.type;
45817
45821
  }
45822
+ function getWriteTypeOfSymbolWithDeferredType(symbol) {
45823
+ var links = getSymbolLinks(symbol);
45824
+ if (!links.writeType && links.deferralWriteConstituents) {
45825
+ ts.Debug.assertIsDefined(links.deferralParent);
45826
+ ts.Debug.assertIsDefined(links.deferralConstituents);
45827
+ links.writeType = links.deferralParent.flags & 1048576 ? getUnionType(links.deferralWriteConstituents) : getIntersectionType(links.deferralWriteConstituents);
45828
+ }
45829
+ return links.writeType;
45830
+ }
45831
+ function getWriteTypeOfSymbol(symbol) {
45832
+ var checkFlags = ts.getCheckFlags(symbol);
45833
+ if (checkFlags & 65536) {
45834
+ var writeType = getWriteTypeOfSymbolWithDeferredType(symbol);
45835
+ if (writeType) {
45836
+ return writeType;
45837
+ }
45838
+ }
45839
+ if (symbol.flags & 33554432) {
45840
+ var writeType = symbol.writeType;
45841
+ if (writeType) {
45842
+ return writeType;
45843
+ }
45844
+ }
45845
+ return getSetAccessorTypeOfSymbol(symbol);
45846
+ }
45818
45847
  function getSetAccessorTypeOfSymbol(symbol) {
45819
45848
  if (symbol.flags & 98304) {
45820
45849
  var type = getTypeOfSetAccessor(symbol);
@@ -47868,6 +47897,7 @@ var ts;
47868
47897
  var firstType;
47869
47898
  var nameType;
47870
47899
  var propTypes = [];
47900
+ var writeTypes;
47871
47901
  var firstValueDeclaration;
47872
47902
  var hasNonUniformValueDeclaration = false;
47873
47903
  for (var _d = 0, props_1 = props; _d < props_1.length; _d++) {
@@ -47884,6 +47914,10 @@ var ts;
47884
47914
  firstType = type;
47885
47915
  nameType = getSymbolLinks(prop).nameType;
47886
47916
  }
47917
+ var writeType = getWriteTypeOfSymbol(prop);
47918
+ if (writeTypes || writeType !== type) {
47919
+ writeTypes = ts.append(!writeTypes ? propTypes.slice() : writeTypes, writeType);
47920
+ }
47887
47921
  else if (type !== firstType) {
47888
47922
  checkFlags |= 64;
47889
47923
  }
@@ -47910,9 +47944,13 @@ var ts;
47910
47944
  result.checkFlags |= 65536;
47911
47945
  result.deferralParent = containingType;
47912
47946
  result.deferralConstituents = propTypes;
47947
+ result.deferralWriteConstituents = writeTypes;
47913
47948
  }
47914
47949
  else {
47915
47950
  result.type = isUnion ? getUnionType(propTypes) : getIntersectionType(propTypes);
47951
+ if (writeTypes) {
47952
+ result.writeType = isUnion ? getUnionType(writeTypes) : getIntersectionType(writeTypes);
47953
+ }
47916
47954
  }
47917
47955
  return result;
47918
47956
  }
@@ -61014,7 +61052,7 @@ var ts;
61014
61052
  error(right, ts.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property, ts.idText(right));
61015
61053
  return errorType;
61016
61054
  }
61017
- propType = isThisPropertyAccessInConstructor(node, prop) ? autoType : writing ? getSetAccessorTypeOfSymbol(prop) : getTypeOfSymbol(prop);
61055
+ propType = isThisPropertyAccessInConstructor(node, prop) ? autoType : writing ? getWriteTypeOfSymbol(prop) : getTypeOfSymbol(prop);
61018
61056
  }
61019
61057
  return getFlowTypeOfAccessExpression(node, prop, propType, right, checkMode);
61020
61058
  }
package/lib/tsserver.js CHANGED
@@ -100,7 +100,7 @@ var ts;
100
100
  // The following is baselined as a literal template type without intervention
101
101
  /** The version of the TypeScript compiler release */
102
102
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
103
- ts.version = ts.versionMajorMinor + ".0-dev.20220208";
103
+ ts.version = ts.versionMajorMinor + ".0-dev.20220209";
104
104
  /* @internal */
105
105
  var Comparison;
106
106
  (function (Comparison) {
@@ -13897,6 +13897,10 @@ var ts;
13897
13897
  return undefined;
13898
13898
  }
13899
13899
  ts.getDeclarationOfKind = getDeclarationOfKind;
13900
+ function getDeclarationsOfKind(symbol, kind) {
13901
+ return ts.filter(symbol.declarations || ts.emptyArray, function (d) { return d.kind === kind; });
13902
+ }
13903
+ ts.getDeclarationsOfKind = getDeclarationsOfKind;
13900
13904
  function createSymbolTable(symbols) {
13901
13905
  var result = new ts.Map();
13902
13906
  if (symbols) {
@@ -55486,6 +55490,39 @@ var ts;
55486
55490
  }
55487
55491
  return links.type;
55488
55492
  }
55493
+ function getWriteTypeOfSymbolWithDeferredType(symbol) {
55494
+ var links = getSymbolLinks(symbol);
55495
+ if (!links.writeType && links.deferralWriteConstituents) {
55496
+ ts.Debug.assertIsDefined(links.deferralParent);
55497
+ ts.Debug.assertIsDefined(links.deferralConstituents);
55498
+ links.writeType = links.deferralParent.flags & 1048576 /* Union */ ? getUnionType(links.deferralWriteConstituents) : getIntersectionType(links.deferralWriteConstituents);
55499
+ }
55500
+ return links.writeType;
55501
+ }
55502
+ /**
55503
+ * Distinct write types come only from set accessors, but union and intersection
55504
+ * properties deriving from set accessors will either pre-compute or defer the
55505
+ * union or intersection of the writeTypes of their constituents. To account for
55506
+ * this, we will assume that any deferred type or transient symbol may have a
55507
+ * `writeType` (or a deferred write type ready to be computed) that should be
55508
+ * used before looking for set accessor declarations.
55509
+ */
55510
+ function getWriteTypeOfSymbol(symbol) {
55511
+ var checkFlags = ts.getCheckFlags(symbol);
55512
+ if (checkFlags & 65536 /* DeferredType */) {
55513
+ var writeType = getWriteTypeOfSymbolWithDeferredType(symbol);
55514
+ if (writeType) {
55515
+ return writeType;
55516
+ }
55517
+ }
55518
+ if (symbol.flags & 33554432 /* Transient */) {
55519
+ var writeType = symbol.writeType;
55520
+ if (writeType) {
55521
+ return writeType;
55522
+ }
55523
+ }
55524
+ return getSetAccessorTypeOfSymbol(symbol);
55525
+ }
55489
55526
  function getSetAccessorTypeOfSymbol(symbol) {
55490
55527
  if (symbol.flags & 98304 /* Accessor */) {
55491
55528
  var type = getTypeOfSetAccessor(symbol);
@@ -57856,6 +57893,7 @@ var ts;
57856
57893
  var firstType;
57857
57894
  var nameType;
57858
57895
  var propTypes = [];
57896
+ var writeTypes;
57859
57897
  var firstValueDeclaration;
57860
57898
  var hasNonUniformValueDeclaration = false;
57861
57899
  for (var _d = 0, props_1 = props; _d < props_1.length; _d++) {
@@ -57872,6 +57910,10 @@ var ts;
57872
57910
  firstType = type;
57873
57911
  nameType = getSymbolLinks(prop).nameType;
57874
57912
  }
57913
+ var writeType = getWriteTypeOfSymbol(prop);
57914
+ if (writeTypes || writeType !== type) {
57915
+ writeTypes = ts.append(!writeTypes ? propTypes.slice() : writeTypes, writeType);
57916
+ }
57875
57917
  else if (type !== firstType) {
57876
57918
  checkFlags |= 64 /* HasNonUniformType */;
57877
57919
  }
@@ -57900,9 +57942,13 @@ var ts;
57900
57942
  result.checkFlags |= 65536 /* DeferredType */;
57901
57943
  result.deferralParent = containingType;
57902
57944
  result.deferralConstituents = propTypes;
57945
+ result.deferralWriteConstituents = writeTypes;
57903
57946
  }
57904
57947
  else {
57905
57948
  result.type = isUnion ? getUnionType(propTypes) : getIntersectionType(propTypes);
57949
+ if (writeTypes) {
57950
+ result.writeType = isUnion ? getUnionType(writeTypes) : getIntersectionType(writeTypes);
57951
+ }
57906
57952
  }
57907
57953
  return result;
57908
57954
  }
@@ -73033,7 +73079,7 @@ var ts;
73033
73079
  error(right, ts.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property, ts.idText(right));
73034
73080
  return errorType;
73035
73081
  }
73036
- propType = isThisPropertyAccessInConstructor(node, prop) ? autoType : writing ? getSetAccessorTypeOfSymbol(prop) : getTypeOfSymbol(prop);
73082
+ propType = isThisPropertyAccessInConstructor(node, prop) ? autoType : writing ? getWriteTypeOfSymbol(prop) : getTypeOfSymbol(prop);
73037
73083
  }
73038
73084
  return getFlowTypeOfAccessExpression(node, prop, propType, right, checkMode);
73039
73085
  }
@@ -145127,6 +145173,8 @@ var ts;
145127
145173
  case 179 /* ConstructorType */:
145128
145174
  case 174 /* ConstructSignature */:
145129
145175
  return getList(node.typeParameters) || getList(node.parameters);
145176
+ case 171 /* GetAccessor */:
145177
+ return getList(node.parameters);
145130
145178
  case 256 /* ClassDeclaration */:
145131
145179
  case 225 /* ClassExpression */:
145132
145180
  case 257 /* InterfaceDeclaration */:
@@ -152563,6 +152611,9 @@ var ts;
152563
152611
  case 172 /* SetAccessor */:
152564
152612
  // Setter must have a parameter
152565
152613
  return false;
152614
+ case 171 /* GetAccessor */:
152615
+ // Getter cannot have parameters
152616
+ return true;
152566
152617
  default:
152567
152618
  return ts.Debug.failBadSyntaxKind(parent);
152568
152619
  }
@@ -155173,10 +155224,12 @@ var ts;
155173
155224
  });
155174
155225
  function getInfo(sourceFile, pos) {
155175
155226
  var token = ts.getTokenAtPosition(sourceFile, pos);
155176
- var indexSignature = ts.cast(token.parent.parent, ts.isIndexSignatureDeclaration);
155177
- if (ts.isClassDeclaration(indexSignature.parent))
155227
+ var indexSignature = ts.tryCast(token.parent.parent, ts.isIndexSignatureDeclaration);
155228
+ if (!indexSignature)
155229
+ return undefined;
155230
+ var container = ts.isInterfaceDeclaration(indexSignature.parent) ? indexSignature.parent : ts.tryCast(indexSignature.parent.parent, ts.isTypeAliasDeclaration);
155231
+ if (!container)
155178
155232
  return undefined;
155179
- var container = ts.isInterfaceDeclaration(indexSignature.parent) ? indexSignature.parent : ts.cast(indexSignature.parent.parent, ts.isTypeAliasDeclaration);
155180
155233
  return { indexSignature: indexSignature, container: container };
155181
155234
  }
155182
155235
  function createTypeAliasFromInterface(declaration, type) {
@@ -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.20220208";
297
+ ts.version = ts.versionMajorMinor + ".0-dev.20220209";
298
298
  /* @internal */
299
299
  var Comparison;
300
300
  (function (Comparison) {
@@ -14091,6 +14091,10 @@ var ts;
14091
14091
  return undefined;
14092
14092
  }
14093
14093
  ts.getDeclarationOfKind = getDeclarationOfKind;
14094
+ function getDeclarationsOfKind(symbol, kind) {
14095
+ return ts.filter(symbol.declarations || ts.emptyArray, function (d) { return d.kind === kind; });
14096
+ }
14097
+ ts.getDeclarationsOfKind = getDeclarationsOfKind;
14094
14098
  function createSymbolTable(symbols) {
14095
14099
  var result = new ts.Map();
14096
14100
  if (symbols) {
@@ -55680,6 +55684,39 @@ var ts;
55680
55684
  }
55681
55685
  return links.type;
55682
55686
  }
55687
+ function getWriteTypeOfSymbolWithDeferredType(symbol) {
55688
+ var links = getSymbolLinks(symbol);
55689
+ if (!links.writeType && links.deferralWriteConstituents) {
55690
+ ts.Debug.assertIsDefined(links.deferralParent);
55691
+ ts.Debug.assertIsDefined(links.deferralConstituents);
55692
+ links.writeType = links.deferralParent.flags & 1048576 /* Union */ ? getUnionType(links.deferralWriteConstituents) : getIntersectionType(links.deferralWriteConstituents);
55693
+ }
55694
+ return links.writeType;
55695
+ }
55696
+ /**
55697
+ * Distinct write types come only from set accessors, but union and intersection
55698
+ * properties deriving from set accessors will either pre-compute or defer the
55699
+ * union or intersection of the writeTypes of their constituents. To account for
55700
+ * this, we will assume that any deferred type or transient symbol may have a
55701
+ * `writeType` (or a deferred write type ready to be computed) that should be
55702
+ * used before looking for set accessor declarations.
55703
+ */
55704
+ function getWriteTypeOfSymbol(symbol) {
55705
+ var checkFlags = ts.getCheckFlags(symbol);
55706
+ if (checkFlags & 65536 /* DeferredType */) {
55707
+ var writeType = getWriteTypeOfSymbolWithDeferredType(symbol);
55708
+ if (writeType) {
55709
+ return writeType;
55710
+ }
55711
+ }
55712
+ if (symbol.flags & 33554432 /* Transient */) {
55713
+ var writeType = symbol.writeType;
55714
+ if (writeType) {
55715
+ return writeType;
55716
+ }
55717
+ }
55718
+ return getSetAccessorTypeOfSymbol(symbol);
55719
+ }
55683
55720
  function getSetAccessorTypeOfSymbol(symbol) {
55684
55721
  if (symbol.flags & 98304 /* Accessor */) {
55685
55722
  var type = getTypeOfSetAccessor(symbol);
@@ -58050,6 +58087,7 @@ var ts;
58050
58087
  var firstType;
58051
58088
  var nameType;
58052
58089
  var propTypes = [];
58090
+ var writeTypes;
58053
58091
  var firstValueDeclaration;
58054
58092
  var hasNonUniformValueDeclaration = false;
58055
58093
  for (var _d = 0, props_1 = props; _d < props_1.length; _d++) {
@@ -58066,6 +58104,10 @@ var ts;
58066
58104
  firstType = type;
58067
58105
  nameType = getSymbolLinks(prop).nameType;
58068
58106
  }
58107
+ var writeType = getWriteTypeOfSymbol(prop);
58108
+ if (writeTypes || writeType !== type) {
58109
+ writeTypes = ts.append(!writeTypes ? propTypes.slice() : writeTypes, writeType);
58110
+ }
58069
58111
  else if (type !== firstType) {
58070
58112
  checkFlags |= 64 /* HasNonUniformType */;
58071
58113
  }
@@ -58094,9 +58136,13 @@ var ts;
58094
58136
  result.checkFlags |= 65536 /* DeferredType */;
58095
58137
  result.deferralParent = containingType;
58096
58138
  result.deferralConstituents = propTypes;
58139
+ result.deferralWriteConstituents = writeTypes;
58097
58140
  }
58098
58141
  else {
58099
58142
  result.type = isUnion ? getUnionType(propTypes) : getIntersectionType(propTypes);
58143
+ if (writeTypes) {
58144
+ result.writeType = isUnion ? getUnionType(writeTypes) : getIntersectionType(writeTypes);
58145
+ }
58100
58146
  }
58101
58147
  return result;
58102
58148
  }
@@ -73227,7 +73273,7 @@ var ts;
73227
73273
  error(right, ts.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property, ts.idText(right));
73228
73274
  return errorType;
73229
73275
  }
73230
- propType = isThisPropertyAccessInConstructor(node, prop) ? autoType : writing ? getSetAccessorTypeOfSymbol(prop) : getTypeOfSymbol(prop);
73276
+ propType = isThisPropertyAccessInConstructor(node, prop) ? autoType : writing ? getWriteTypeOfSymbol(prop) : getTypeOfSymbol(prop);
73231
73277
  }
73232
73278
  return getFlowTypeOfAccessExpression(node, prop, propType, right, checkMode);
73233
73279
  }
@@ -145738,6 +145784,8 @@ var ts;
145738
145784
  case 179 /* ConstructorType */:
145739
145785
  case 174 /* ConstructSignature */:
145740
145786
  return getList(node.typeParameters) || getList(node.parameters);
145787
+ case 171 /* GetAccessor */:
145788
+ return getList(node.parameters);
145741
145789
  case 256 /* ClassDeclaration */:
145742
145790
  case 225 /* ClassExpression */:
145743
145791
  case 257 /* InterfaceDeclaration */:
@@ -153174,6 +153222,9 @@ var ts;
153174
153222
  case 172 /* SetAccessor */:
153175
153223
  // Setter must have a parameter
153176
153224
  return false;
153225
+ case 171 /* GetAccessor */:
153226
+ // Getter cannot have parameters
153227
+ return true;
153177
153228
  default:
153178
153229
  return ts.Debug.failBadSyntaxKind(parent);
153179
153230
  }
@@ -155784,10 +155835,12 @@ var ts;
155784
155835
  });
155785
155836
  function getInfo(sourceFile, pos) {
155786
155837
  var token = ts.getTokenAtPosition(sourceFile, pos);
155787
- var indexSignature = ts.cast(token.parent.parent, ts.isIndexSignatureDeclaration);
155788
- if (ts.isClassDeclaration(indexSignature.parent))
155838
+ var indexSignature = ts.tryCast(token.parent.parent, ts.isIndexSignatureDeclaration);
155839
+ if (!indexSignature)
155840
+ return undefined;
155841
+ var container = ts.isInterfaceDeclaration(indexSignature.parent) ? indexSignature.parent : ts.tryCast(indexSignature.parent.parent, ts.isTypeAliasDeclaration);
155842
+ if (!container)
155789
155843
  return undefined;
155790
- var container = ts.isInterfaceDeclaration(indexSignature.parent) ? indexSignature.parent : ts.cast(indexSignature.parent.parent, ts.isTypeAliasDeclaration);
155791
155844
  return { indexSignature: indexSignature, container: container };
155792
155845
  }
155793
155846
  function createTypeAliasFromInterface(declaration, type) {
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.20220208";
297
+ ts.version = ts.versionMajorMinor + ".0-dev.20220209";
298
298
  /* @internal */
299
299
  var Comparison;
300
300
  (function (Comparison) {
@@ -14091,6 +14091,10 @@ var ts;
14091
14091
  return undefined;
14092
14092
  }
14093
14093
  ts.getDeclarationOfKind = getDeclarationOfKind;
14094
+ function getDeclarationsOfKind(symbol, kind) {
14095
+ return ts.filter(symbol.declarations || ts.emptyArray, function (d) { return d.kind === kind; });
14096
+ }
14097
+ ts.getDeclarationsOfKind = getDeclarationsOfKind;
14094
14098
  function createSymbolTable(symbols) {
14095
14099
  var result = new ts.Map();
14096
14100
  if (symbols) {
@@ -55680,6 +55684,39 @@ var ts;
55680
55684
  }
55681
55685
  return links.type;
55682
55686
  }
55687
+ function getWriteTypeOfSymbolWithDeferredType(symbol) {
55688
+ var links = getSymbolLinks(symbol);
55689
+ if (!links.writeType && links.deferralWriteConstituents) {
55690
+ ts.Debug.assertIsDefined(links.deferralParent);
55691
+ ts.Debug.assertIsDefined(links.deferralConstituents);
55692
+ links.writeType = links.deferralParent.flags & 1048576 /* Union */ ? getUnionType(links.deferralWriteConstituents) : getIntersectionType(links.deferralWriteConstituents);
55693
+ }
55694
+ return links.writeType;
55695
+ }
55696
+ /**
55697
+ * Distinct write types come only from set accessors, but union and intersection
55698
+ * properties deriving from set accessors will either pre-compute or defer the
55699
+ * union or intersection of the writeTypes of their constituents. To account for
55700
+ * this, we will assume that any deferred type or transient symbol may have a
55701
+ * `writeType` (or a deferred write type ready to be computed) that should be
55702
+ * used before looking for set accessor declarations.
55703
+ */
55704
+ function getWriteTypeOfSymbol(symbol) {
55705
+ var checkFlags = ts.getCheckFlags(symbol);
55706
+ if (checkFlags & 65536 /* DeferredType */) {
55707
+ var writeType = getWriteTypeOfSymbolWithDeferredType(symbol);
55708
+ if (writeType) {
55709
+ return writeType;
55710
+ }
55711
+ }
55712
+ if (symbol.flags & 33554432 /* Transient */) {
55713
+ var writeType = symbol.writeType;
55714
+ if (writeType) {
55715
+ return writeType;
55716
+ }
55717
+ }
55718
+ return getSetAccessorTypeOfSymbol(symbol);
55719
+ }
55683
55720
  function getSetAccessorTypeOfSymbol(symbol) {
55684
55721
  if (symbol.flags & 98304 /* Accessor */) {
55685
55722
  var type = getTypeOfSetAccessor(symbol);
@@ -58050,6 +58087,7 @@ var ts;
58050
58087
  var firstType;
58051
58088
  var nameType;
58052
58089
  var propTypes = [];
58090
+ var writeTypes;
58053
58091
  var firstValueDeclaration;
58054
58092
  var hasNonUniformValueDeclaration = false;
58055
58093
  for (var _d = 0, props_1 = props; _d < props_1.length; _d++) {
@@ -58066,6 +58104,10 @@ var ts;
58066
58104
  firstType = type;
58067
58105
  nameType = getSymbolLinks(prop).nameType;
58068
58106
  }
58107
+ var writeType = getWriteTypeOfSymbol(prop);
58108
+ if (writeTypes || writeType !== type) {
58109
+ writeTypes = ts.append(!writeTypes ? propTypes.slice() : writeTypes, writeType);
58110
+ }
58069
58111
  else if (type !== firstType) {
58070
58112
  checkFlags |= 64 /* HasNonUniformType */;
58071
58113
  }
@@ -58094,9 +58136,13 @@ var ts;
58094
58136
  result.checkFlags |= 65536 /* DeferredType */;
58095
58137
  result.deferralParent = containingType;
58096
58138
  result.deferralConstituents = propTypes;
58139
+ result.deferralWriteConstituents = writeTypes;
58097
58140
  }
58098
58141
  else {
58099
58142
  result.type = isUnion ? getUnionType(propTypes) : getIntersectionType(propTypes);
58143
+ if (writeTypes) {
58144
+ result.writeType = isUnion ? getUnionType(writeTypes) : getIntersectionType(writeTypes);
58145
+ }
58100
58146
  }
58101
58147
  return result;
58102
58148
  }
@@ -73227,7 +73273,7 @@ var ts;
73227
73273
  error(right, ts.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property, ts.idText(right));
73228
73274
  return errorType;
73229
73275
  }
73230
- propType = isThisPropertyAccessInConstructor(node, prop) ? autoType : writing ? getSetAccessorTypeOfSymbol(prop) : getTypeOfSymbol(prop);
73276
+ propType = isThisPropertyAccessInConstructor(node, prop) ? autoType : writing ? getWriteTypeOfSymbol(prop) : getTypeOfSymbol(prop);
73231
73277
  }
73232
73278
  return getFlowTypeOfAccessExpression(node, prop, propType, right, checkMode);
73233
73279
  }
@@ -145738,6 +145784,8 @@ var ts;
145738
145784
  case 179 /* ConstructorType */:
145739
145785
  case 174 /* ConstructSignature */:
145740
145786
  return getList(node.typeParameters) || getList(node.parameters);
145787
+ case 171 /* GetAccessor */:
145788
+ return getList(node.parameters);
145741
145789
  case 256 /* ClassDeclaration */:
145742
145790
  case 225 /* ClassExpression */:
145743
145791
  case 257 /* InterfaceDeclaration */:
@@ -153174,6 +153222,9 @@ var ts;
153174
153222
  case 172 /* SetAccessor */:
153175
153223
  // Setter must have a parameter
153176
153224
  return false;
153225
+ case 171 /* GetAccessor */:
153226
+ // Getter cannot have parameters
153227
+ return true;
153177
153228
  default:
153178
153229
  return ts.Debug.failBadSyntaxKind(parent);
153179
153230
  }
@@ -155784,10 +155835,12 @@ var ts;
155784
155835
  });
155785
155836
  function getInfo(sourceFile, pos) {
155786
155837
  var token = ts.getTokenAtPosition(sourceFile, pos);
155787
- var indexSignature = ts.cast(token.parent.parent, ts.isIndexSignatureDeclaration);
155788
- if (ts.isClassDeclaration(indexSignature.parent))
155838
+ var indexSignature = ts.tryCast(token.parent.parent, ts.isIndexSignatureDeclaration);
155839
+ if (!indexSignature)
155840
+ return undefined;
155841
+ var container = ts.isInterfaceDeclaration(indexSignature.parent) ? indexSignature.parent : ts.tryCast(indexSignature.parent.parent, ts.isTypeAliasDeclaration);
155842
+ if (!container)
155789
155843
  return undefined;
155790
- var container = ts.isInterfaceDeclaration(indexSignature.parent) ? indexSignature.parent : ts.cast(indexSignature.parent.parent, ts.isTypeAliasDeclaration);
155791
155844
  return { indexSignature: indexSignature, container: container };
155792
155845
  }
155793
155846
  function createTypeAliasFromInterface(declaration, type) {
@@ -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.20220208";
297
+ ts.version = ts.versionMajorMinor + ".0-dev.20220209";
298
298
  /* @internal */
299
299
  var Comparison;
300
300
  (function (Comparison) {
@@ -14091,6 +14091,10 @@ var ts;
14091
14091
  return undefined;
14092
14092
  }
14093
14093
  ts.getDeclarationOfKind = getDeclarationOfKind;
14094
+ function getDeclarationsOfKind(symbol, kind) {
14095
+ return ts.filter(symbol.declarations || ts.emptyArray, function (d) { return d.kind === kind; });
14096
+ }
14097
+ ts.getDeclarationsOfKind = getDeclarationsOfKind;
14094
14098
  function createSymbolTable(symbols) {
14095
14099
  var result = new ts.Map();
14096
14100
  if (symbols) {
@@ -55680,6 +55684,39 @@ var ts;
55680
55684
  }
55681
55685
  return links.type;
55682
55686
  }
55687
+ function getWriteTypeOfSymbolWithDeferredType(symbol) {
55688
+ var links = getSymbolLinks(symbol);
55689
+ if (!links.writeType && links.deferralWriteConstituents) {
55690
+ ts.Debug.assertIsDefined(links.deferralParent);
55691
+ ts.Debug.assertIsDefined(links.deferralConstituents);
55692
+ links.writeType = links.deferralParent.flags & 1048576 /* Union */ ? getUnionType(links.deferralWriteConstituents) : getIntersectionType(links.deferralWriteConstituents);
55693
+ }
55694
+ return links.writeType;
55695
+ }
55696
+ /**
55697
+ * Distinct write types come only from set accessors, but union and intersection
55698
+ * properties deriving from set accessors will either pre-compute or defer the
55699
+ * union or intersection of the writeTypes of their constituents. To account for
55700
+ * this, we will assume that any deferred type or transient symbol may have a
55701
+ * `writeType` (or a deferred write type ready to be computed) that should be
55702
+ * used before looking for set accessor declarations.
55703
+ */
55704
+ function getWriteTypeOfSymbol(symbol) {
55705
+ var checkFlags = ts.getCheckFlags(symbol);
55706
+ if (checkFlags & 65536 /* DeferredType */) {
55707
+ var writeType = getWriteTypeOfSymbolWithDeferredType(symbol);
55708
+ if (writeType) {
55709
+ return writeType;
55710
+ }
55711
+ }
55712
+ if (symbol.flags & 33554432 /* Transient */) {
55713
+ var writeType = symbol.writeType;
55714
+ if (writeType) {
55715
+ return writeType;
55716
+ }
55717
+ }
55718
+ return getSetAccessorTypeOfSymbol(symbol);
55719
+ }
55683
55720
  function getSetAccessorTypeOfSymbol(symbol) {
55684
55721
  if (symbol.flags & 98304 /* Accessor */) {
55685
55722
  var type = getTypeOfSetAccessor(symbol);
@@ -58050,6 +58087,7 @@ var ts;
58050
58087
  var firstType;
58051
58088
  var nameType;
58052
58089
  var propTypes = [];
58090
+ var writeTypes;
58053
58091
  var firstValueDeclaration;
58054
58092
  var hasNonUniformValueDeclaration = false;
58055
58093
  for (var _d = 0, props_1 = props; _d < props_1.length; _d++) {
@@ -58066,6 +58104,10 @@ var ts;
58066
58104
  firstType = type;
58067
58105
  nameType = getSymbolLinks(prop).nameType;
58068
58106
  }
58107
+ var writeType = getWriteTypeOfSymbol(prop);
58108
+ if (writeTypes || writeType !== type) {
58109
+ writeTypes = ts.append(!writeTypes ? propTypes.slice() : writeTypes, writeType);
58110
+ }
58069
58111
  else if (type !== firstType) {
58070
58112
  checkFlags |= 64 /* HasNonUniformType */;
58071
58113
  }
@@ -58094,9 +58136,13 @@ var ts;
58094
58136
  result.checkFlags |= 65536 /* DeferredType */;
58095
58137
  result.deferralParent = containingType;
58096
58138
  result.deferralConstituents = propTypes;
58139
+ result.deferralWriteConstituents = writeTypes;
58097
58140
  }
58098
58141
  else {
58099
58142
  result.type = isUnion ? getUnionType(propTypes) : getIntersectionType(propTypes);
58143
+ if (writeTypes) {
58144
+ result.writeType = isUnion ? getUnionType(writeTypes) : getIntersectionType(writeTypes);
58145
+ }
58100
58146
  }
58101
58147
  return result;
58102
58148
  }
@@ -73227,7 +73273,7 @@ var ts;
73227
73273
  error(right, ts.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property, ts.idText(right));
73228
73274
  return errorType;
73229
73275
  }
73230
- propType = isThisPropertyAccessInConstructor(node, prop) ? autoType : writing ? getSetAccessorTypeOfSymbol(prop) : getTypeOfSymbol(prop);
73276
+ propType = isThisPropertyAccessInConstructor(node, prop) ? autoType : writing ? getWriteTypeOfSymbol(prop) : getTypeOfSymbol(prop);
73231
73277
  }
73232
73278
  return getFlowTypeOfAccessExpression(node, prop, propType, right, checkMode);
73233
73279
  }
@@ -145738,6 +145784,8 @@ var ts;
145738
145784
  case 179 /* ConstructorType */:
145739
145785
  case 174 /* ConstructSignature */:
145740
145786
  return getList(node.typeParameters) || getList(node.parameters);
145787
+ case 171 /* GetAccessor */:
145788
+ return getList(node.parameters);
145741
145789
  case 256 /* ClassDeclaration */:
145742
145790
  case 225 /* ClassExpression */:
145743
145791
  case 257 /* InterfaceDeclaration */:
@@ -153174,6 +153222,9 @@ var ts;
153174
153222
  case 172 /* SetAccessor */:
153175
153223
  // Setter must have a parameter
153176
153224
  return false;
153225
+ case 171 /* GetAccessor */:
153226
+ // Getter cannot have parameters
153227
+ return true;
153177
153228
  default:
153178
153229
  return ts.Debug.failBadSyntaxKind(parent);
153179
153230
  }
@@ -155784,10 +155835,12 @@ var ts;
155784
155835
  });
155785
155836
  function getInfo(sourceFile, pos) {
155786
155837
  var token = ts.getTokenAtPosition(sourceFile, pos);
155787
- var indexSignature = ts.cast(token.parent.parent, ts.isIndexSignatureDeclaration);
155788
- if (ts.isClassDeclaration(indexSignature.parent))
155838
+ var indexSignature = ts.tryCast(token.parent.parent, ts.isIndexSignatureDeclaration);
155839
+ if (!indexSignature)
155840
+ return undefined;
155841
+ var container = ts.isInterfaceDeclaration(indexSignature.parent) ? indexSignature.parent : ts.tryCast(indexSignature.parent.parent, ts.isTypeAliasDeclaration);
155842
+ if (!container)
155789
155843
  return undefined;
155790
- var container = ts.isInterfaceDeclaration(indexSignature.parent) ? indexSignature.parent : ts.cast(indexSignature.parent.parent, ts.isTypeAliasDeclaration);
155791
155844
  return { indexSignature: indexSignature, container: container };
155792
155845
  }
155793
155846
  function createTypeAliasFromInterface(declaration, type) {
@@ -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.20220208";
92
+ ts.version = ts.versionMajorMinor + ".0-dev.20220209";
93
93
  /* @internal */
94
94
  var Comparison;
95
95
  (function (Comparison) {
@@ -13886,6 +13886,10 @@ var ts;
13886
13886
  return undefined;
13887
13887
  }
13888
13888
  ts.getDeclarationOfKind = getDeclarationOfKind;
13889
+ function getDeclarationsOfKind(symbol, kind) {
13890
+ return ts.filter(symbol.declarations || ts.emptyArray, function (d) { return d.kind === kind; });
13891
+ }
13892
+ ts.getDeclarationsOfKind = getDeclarationsOfKind;
13889
13893
  function createSymbolTable(symbols) {
13890
13894
  var result = new ts.Map();
13891
13895
  if (symbols) {
@@ -55475,6 +55479,39 @@ var ts;
55475
55479
  }
55476
55480
  return links.type;
55477
55481
  }
55482
+ function getWriteTypeOfSymbolWithDeferredType(symbol) {
55483
+ var links = getSymbolLinks(symbol);
55484
+ if (!links.writeType && links.deferralWriteConstituents) {
55485
+ ts.Debug.assertIsDefined(links.deferralParent);
55486
+ ts.Debug.assertIsDefined(links.deferralConstituents);
55487
+ links.writeType = links.deferralParent.flags & 1048576 /* Union */ ? getUnionType(links.deferralWriteConstituents) : getIntersectionType(links.deferralWriteConstituents);
55488
+ }
55489
+ return links.writeType;
55490
+ }
55491
+ /**
55492
+ * Distinct write types come only from set accessors, but union and intersection
55493
+ * properties deriving from set accessors will either pre-compute or defer the
55494
+ * union or intersection of the writeTypes of their constituents. To account for
55495
+ * this, we will assume that any deferred type or transient symbol may have a
55496
+ * `writeType` (or a deferred write type ready to be computed) that should be
55497
+ * used before looking for set accessor declarations.
55498
+ */
55499
+ function getWriteTypeOfSymbol(symbol) {
55500
+ var checkFlags = ts.getCheckFlags(symbol);
55501
+ if (checkFlags & 65536 /* DeferredType */) {
55502
+ var writeType = getWriteTypeOfSymbolWithDeferredType(symbol);
55503
+ if (writeType) {
55504
+ return writeType;
55505
+ }
55506
+ }
55507
+ if (symbol.flags & 33554432 /* Transient */) {
55508
+ var writeType = symbol.writeType;
55509
+ if (writeType) {
55510
+ return writeType;
55511
+ }
55512
+ }
55513
+ return getSetAccessorTypeOfSymbol(symbol);
55514
+ }
55478
55515
  function getSetAccessorTypeOfSymbol(symbol) {
55479
55516
  if (symbol.flags & 98304 /* Accessor */) {
55480
55517
  var type = getTypeOfSetAccessor(symbol);
@@ -57845,6 +57882,7 @@ var ts;
57845
57882
  var firstType;
57846
57883
  var nameType;
57847
57884
  var propTypes = [];
57885
+ var writeTypes;
57848
57886
  var firstValueDeclaration;
57849
57887
  var hasNonUniformValueDeclaration = false;
57850
57888
  for (var _d = 0, props_1 = props; _d < props_1.length; _d++) {
@@ -57861,6 +57899,10 @@ var ts;
57861
57899
  firstType = type;
57862
57900
  nameType = getSymbolLinks(prop).nameType;
57863
57901
  }
57902
+ var writeType = getWriteTypeOfSymbol(prop);
57903
+ if (writeTypes || writeType !== type) {
57904
+ writeTypes = ts.append(!writeTypes ? propTypes.slice() : writeTypes, writeType);
57905
+ }
57864
57906
  else if (type !== firstType) {
57865
57907
  checkFlags |= 64 /* HasNonUniformType */;
57866
57908
  }
@@ -57889,9 +57931,13 @@ var ts;
57889
57931
  result.checkFlags |= 65536 /* DeferredType */;
57890
57932
  result.deferralParent = containingType;
57891
57933
  result.deferralConstituents = propTypes;
57934
+ result.deferralWriteConstituents = writeTypes;
57892
57935
  }
57893
57936
  else {
57894
57937
  result.type = isUnion ? getUnionType(propTypes) : getIntersectionType(propTypes);
57938
+ if (writeTypes) {
57939
+ result.writeType = isUnion ? getUnionType(writeTypes) : getIntersectionType(writeTypes);
57940
+ }
57895
57941
  }
57896
57942
  return result;
57897
57943
  }
@@ -73022,7 +73068,7 @@ var ts;
73022
73068
  error(right, ts.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property, ts.idText(right));
73023
73069
  return errorType;
73024
73070
  }
73025
- propType = isThisPropertyAccessInConstructor(node, prop) ? autoType : writing ? getSetAccessorTypeOfSymbol(prop) : getTypeOfSymbol(prop);
73071
+ propType = isThisPropertyAccessInConstructor(node, prop) ? autoType : writing ? getWriteTypeOfSymbol(prop) : getTypeOfSymbol(prop);
73026
73072
  }
73027
73073
  return getFlowTypeOfAccessExpression(node, prop, propType, right, checkMode);
73028
73074
  }
@@ -435,6 +435,7 @@
435
435
  "Convert_function_to_an_ES2015_class_95001": "将函数转换为 ES2015 类",
436
436
  "Convert_invalid_character_to_its_html_entity_code_95100": "将无效字符转换为其 HTML 实体代码",
437
437
  "Convert_named_export_to_default_export_95062": "将命名导出转换为默认导出",
438
+ "Convert_named_imports_to_default_import_95170": "将命名导入转换为默认导入",
438
439
  "Convert_named_imports_to_namespace_import_95057": "将命名导入转换为命名空间导入",
439
440
  "Convert_namespace_import_to_named_imports_95056": "将命名空间导入转换为命名导入",
440
441
  "Convert_overload_list_to_single_signature_95118": "将重载列表转换为单一签名",
@@ -1116,7 +1117,6 @@
1116
1117
  "Property_0_is_protected_in_type_1_but_public_in_type_2_2444": "属性“{0}”在类型“{1}”中受保护,但在类型“{2}”中为公共属性。",
1117
1118
  "Property_0_is_used_before_being_assigned_2565": "在赋值前使用了属性“{0}”。",
1118
1119
  "Property_0_is_used_before_its_initialization_2729": "属性 \"{0}\" 在其初始化前已被使用。",
1119
- "Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnex_2810": "当 “target” 为 “esnext” 且 “useDefineForClassFields” 为 ”false” 时,属性“{0}”不能用在同一类静态属性的初始化表达式中。",
1120
1120
  "Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568": "类型“{1}”上不存在属性“{0}”。你是否是指“{2}”?",
1121
1121
  "Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606": "JSX 展开特性的“{0}”属性不能分配给目标属性。",
1122
1122
  "Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094": "导出类表达式的属性“{0}”可能不是私密或受保护的属性。",
@@ -1324,7 +1324,6 @@
1324
1324
  "Starting_compilation_in_watch_mode_6031": "在监视模式下开始编译...",
1325
1325
  "Statement_expected_1129": "应为语句。",
1326
1326
  "Statements_are_not_allowed_in_ambient_contexts_1036": "不允许在环境上下文中使用语句。",
1327
- "Static_fields_with_private_names_can_t_have_initializers_when_the_useDefineForClassFields_flag_is_no_2805": "若未使用 \"esnext\" 的 \"--target\" 指定 \"--useDefineForClassFields\" 标志,则具有专用名称的静态字段不能有初始值设定项。请考虑添加 \"--useDefineForClassFields\" 标志。",
1328
1327
  "Static_members_cannot_reference_class_type_parameters_2302": "静态成员不能引用类类型参数。",
1329
1328
  "Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699": "静态属性“{0}”与构造函数“{1}”的内置属性函数“{0}”冲突。",
1330
1329
  "String_literal_expected_1141": "应为字符串文本。",
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.6.0-dev.20220208",
5
+ "version": "4.6.0-dev.20220209",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [