typescript 4.6.0-dev.20220205 → 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": "Funktion in eine ES2015-Klasse konvertieren",
436
436
  "Convert_invalid_character_to_its_html_entity_code_95100": "Ungültiges Zeichen in entsprechenden HTML-Entitätscode konvertieren",
437
437
  "Convert_named_export_to_default_export_95062": "Benannten Export in Standardexport konvertieren",
438
+ "Convert_named_imports_to_default_import_95170": "Konvertieren benannter Importe in Standardimporte",
438
439
  "Convert_named_imports_to_namespace_import_95057": "Benannte Importe in Namespaceimport konvertieren",
439
440
  "Convert_namespace_import_to_named_imports_95056": "Namespaceimport in benannte Importe konvertieren",
440
441
  "Convert_overload_list_to_single_signature_95118": "Überladungsliste in einzelne Signatur konvertieren",
@@ -1116,7 +1117,6 @@
1116
1117
  "Property_0_is_protected_in_type_1_but_public_in_type_2_2444": "Die Eigenschaft \"{0}\" ist im Typ \"{1}\" geschützt, im Typ \"{2}\" aber öffentlich.",
1117
1118
  "Property_0_is_used_before_being_assigned_2565": "Die Eigenschaft \"{0}\" wird vor ihrer Zuweisung verwendet.",
1118
1119
  "Property_0_is_used_before_its_initialization_2729": "Die Eigenschaft \"{0}\" wird vor ihrer Initialisierung verwendet.",
1119
- "Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnex_2810": "Die Eigenschaft \"{0}\" darf nicht im Initialisierer einer statischen Eigenschaft in derselben Klasse verwendet werden, wenn \"target\" auf \"esnext\" und \"useDefineForClassFields\" auf FALSE festgelegt ist.",
1120
1120
  "Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568": "Die Eigenschaft \"{0}\" ist für den Typ \"{1}\" möglicherweise nicht vorhanden. Meinten Sie \"{2}\"?",
1121
1121
  "Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606": "Die Eigenschaft \"{0}\" des JSX-Verteilungsattributs kann nicht der Zieleigenschaft zugewiesen werden.",
1122
1122
  "Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094": "Die Eigenschaft \"{0}\" des exportierten Klassenausdrucks ist unter Umständen nicht privat oder geschützt.",
@@ -1324,7 +1324,6 @@
1324
1324
  "Starting_compilation_in_watch_mode_6031": "Kompilierung im Überwachungsmodus wird gestartet...",
1325
1325
  "Statement_expected_1129": "Eine Anweisung wurde erwartet.",
1326
1326
  "Statements_are_not_allowed_in_ambient_contexts_1036": "Anweisungen sind in Umgebungskontexten unzulässig.",
1327
- "Static_fields_with_private_names_can_t_have_initializers_when_the_useDefineForClassFields_flag_is_no_2805": "Statische Felder mit privaten Namen dürfen keine Initialisierer enthalten, wenn das Flag \"--useDefineForClassFields\" nicht mit dem Wert \"esnext\" für \"--target\" angegeben wird. Erwägen Sie, das Flag \"--useDefineForClassFields\" hinzuzufügen.",
1328
1327
  "Static_members_cannot_reference_class_type_parameters_2302": "Statische Member dürfen nicht auf Klassentypparameter verweisen.",
1329
1328
  "Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699": "Die statische Eigenschaft \"{0}\" steht in Konflikt mit der integrierten Eigenschaft \"Function.{0}\" der Konstruktorfunktion \"{1}\".",
1330
1329
  "String_literal_expected_1141": "Ein Zeichenfolgenliteral wurde erwartet.",
@@ -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": "Преобразование функции в класс 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": "Свойство \"{0}\" не может использоваться в инициализаторе статического свойства в том же классе, если \"target\" имеет значение \"esnext\", а \"useDefineForClassFields\" — \"false\".",
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": "Свойство \"{0}\" атрибута расширения JSX не может быть назначено для целевого свойства.",
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\" с параметром \"--target\", имеющим значение \"esnext\". Рекомендуется добавить флаг \"--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}\" конфликтует со встроенным свойством \"Function.{0}\" функции-конструктора \"{1}\".",
1330
1329
  "String_literal_expected_1141": "Ожидался строковый литерал.",
@@ -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.20220205";
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
  }
@@ -48920,7 +48958,7 @@ var ts;
48920
48958
  }
48921
48959
  function getImpliedConstraint(type, checkNode, extendsNode) {
48922
48960
  return isUnaryTupleTypeNode(checkNode) && isUnaryTupleTypeNode(extendsNode) ? getImpliedConstraint(type, checkNode.elements[0], extendsNode.elements[0]) :
48923
- getActualTypeVariable(getTypeFromTypeNode(checkNode)) === type ? getTypeFromTypeNode(extendsNode) :
48961
+ getActualTypeVariable(getTypeFromTypeNode(checkNode)) === getActualTypeVariable(type) ? getTypeFromTypeNode(extendsNode) :
48924
48962
  undefined;
48925
48963
  }
48926
48964
  function getConditionalFlowTypeOfType(type, node) {
@@ -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.20220205";
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
  }
@@ -59044,7 +59090,7 @@ var ts;
59044
59090
  }
59045
59091
  function getImpliedConstraint(type, checkNode, extendsNode) {
59046
59092
  return isUnaryTupleTypeNode(checkNode) && isUnaryTupleTypeNode(extendsNode) ? getImpliedConstraint(type, checkNode.elements[0], extendsNode.elements[0]) :
59047
- getActualTypeVariable(getTypeFromTypeNode(checkNode)) === type ? getTypeFromTypeNode(extendsNode) :
59093
+ getActualTypeVariable(getTypeFromTypeNode(checkNode)) === getActualTypeVariable(type) ? getTypeFromTypeNode(extendsNode) :
59048
59094
  undefined;
59049
59095
  }
59050
59096
  function getConditionalFlowTypeOfType(type, node) {
@@ -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
  }
@@ -130328,7 +130374,8 @@ var ts;
130328
130374
  case 103 /* NewKeyword */:
130329
130375
  return checker.getContextualType(parent);
130330
130376
  case 82 /* CaseKeyword */:
130331
- return ts.getSwitchedType(ts.cast(parent, ts.isCaseClause), checker);
130377
+ var caseClause = ts.tryCast(parent, ts.isCaseClause);
130378
+ return caseClause ? ts.getSwitchedType(caseClause, checker) : undefined;
130332
130379
  case 18 /* OpenBraceToken */:
130333
130380
  return ts.isJsxExpression(parent) && !ts.isJsxElement(parent.parent) && !ts.isJsxFragment(parent.parent) ? checker.getContextualTypeForJsxAttribute(parent.parent) : undefined;
130334
130381
  default:
@@ -132973,7 +133020,24 @@ var ts;
132973
133020
  function acquireOrUpdateDocument(fileName, path, compilationSettings, key, scriptSnapshot, version, acquiring, scriptKind) {
132974
133021
  scriptKind = ts.ensureScriptKind(fileName, scriptKind);
132975
133022
  var scriptTarget = scriptKind === 6 /* JSON */ ? 100 /* JSON */ : ts.getEmitScriptTarget(compilationSettings);
133023
+ var oldBucketCount = buckets.size;
132976
133024
  var bucket = ts.getOrUpdate(buckets, key, function () { return new ts.Map(); });
133025
+ if (ts.tracing) {
133026
+ if (buckets.size > oldBucketCount) {
133027
+ // It is interesting, but not definitively problematic if a build requires multiple document registry buckets -
133028
+ // perhaps they are for two projects that don't have any overlap.
133029
+ // Bonus: these events can help us interpret the more interesting event below.
133030
+ ts.tracing.instant("session" /* Session */, "createdDocumentRegistryBucket", { configFilePath: compilationSettings.configFilePath, key: key });
133031
+ }
133032
+ // It is fairly suspicious to have one path in two buckets - you'd expect dependencies to have similar configurations.
133033
+ // If this occurs unexpectedly, the fix is likely to synchronize the project settings.
133034
+ // Skip .d.ts files to reduce noise (should also cover most of node_modules).
133035
+ var otherBucketKey = !ts.fileExtensionIs(path, ".d.ts" /* Dts */) &&
133036
+ ts.forEachEntry(buckets, function (bucket, bucketKey) { return bucketKey !== key && bucket.has(path) && bucketKey; });
133037
+ if (otherBucketKey) {
133038
+ ts.tracing.instant("session" /* Session */, "documentRegistryBucketOverlap", { path: path, key1: otherBucketKey, key2: key });
133039
+ }
133040
+ }
132977
133041
  var bucketEntry = bucket.get(path);
132978
133042
  var entry = bucketEntry && getDocumentRegistryEntry(bucketEntry, scriptKind);
132979
133043
  if (!entry && externalCache) {
@@ -145109,6 +145173,8 @@ var ts;
145109
145173
  case 179 /* ConstructorType */:
145110
145174
  case 174 /* ConstructSignature */:
145111
145175
  return getList(node.typeParameters) || getList(node.parameters);
145176
+ case 171 /* GetAccessor */:
145177
+ return getList(node.parameters);
145112
145178
  case 256 /* ClassDeclaration */:
145113
145179
  case 225 /* ClassExpression */:
145114
145180
  case 257 /* InterfaceDeclaration */:
@@ -152545,6 +152611,9 @@ var ts;
152545
152611
  case 172 /* SetAccessor */:
152546
152612
  // Setter must have a parameter
152547
152613
  return false;
152614
+ case 171 /* GetAccessor */:
152615
+ // Getter cannot have parameters
152616
+ return true;
152548
152617
  default:
152549
152618
  return ts.Debug.failBadSyntaxKind(parent);
152550
152619
  }
@@ -155155,10 +155224,12 @@ var ts;
155155
155224
  });
155156
155225
  function getInfo(sourceFile, pos) {
155157
155226
  var token = ts.getTokenAtPosition(sourceFile, pos);
155158
- var indexSignature = ts.cast(token.parent.parent, ts.isIndexSignatureDeclaration);
155159
- 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)
155160
155232
  return undefined;
155161
- var container = ts.isInterfaceDeclaration(indexSignature.parent) ? indexSignature.parent : ts.cast(indexSignature.parent.parent, ts.isTypeAliasDeclaration);
155162
155233
  return { indexSignature: indexSignature, container: container };
155163
155234
  }
155164
155235
  function createTypeAliasFromInterface(declaration, type) {
@@ -156749,8 +156820,8 @@ var ts;
156749
156820
  // but a super *method call* simply implies a 'this' reference
156750
156821
  if (node.parent.kind === 207 /* CallExpression */) {
156751
156822
  // Super constructor call
156752
- var containingClass_1 = ts.getContainingClass(node); // TODO:GH#18217
156753
- if (containingClass_1.pos < span.start || containingClass_1.end >= (span.start + span.length)) {
156823
+ var containingClass_1 = ts.getContainingClass(node);
156824
+ if (containingClass_1 === undefined || containingClass_1.pos < span.start || containingClass_1.end >= (span.start + span.length)) {
156754
156825
  (errors || (errors = [])).push(ts.createDiagnosticForNode(node, Messages.cannotExtractSuper));
156755
156826
  return true;
156756
156827
  }
@@ -171569,9 +171640,10 @@ var ts;
171569
171640
  var info = infos && ts.firstOrUndefined(infos);
171570
171641
  return info && !info.isLocal ? { fileName: info.fileName, pos: info.textSpan.start } : undefined;
171571
171642
  }
171572
- function combineProjectOutputForReferences(projects, defaultProject, initialLocation) {
171643
+ function combineProjectOutputForReferences(projects, defaultProject, initialLocation, logger) {
171573
171644
  var outputs = [];
171574
171645
  combineProjectOutputWorker(projects, defaultProject, initialLocation, function (project, location, getMappedLocation) {
171646
+ logger.info("Finding references to " + location.fileName + " position " + location.pos + " in project " + project.getProjectName());
171575
171647
  var _loop_8 = function (outputReferencedSymbol) {
171576
171648
  var mappedDefinitionFile = getMappedLocation(project, documentSpanLocation(outputReferencedSymbol.definition));
171577
171649
  var definition = mappedDefinitionFile === undefined ?
@@ -172929,7 +173001,7 @@ var ts;
172929
173001
  var file = server.toNormalizedPath(args.file);
172930
173002
  var projects = this.getProjects(args);
172931
173003
  var position = this.getPositionInFile(args, file);
172932
- var references = combineProjectOutputForReferences(projects, this.getDefaultProject(args), { fileName: args.file, pos: position });
173004
+ var references = combineProjectOutputForReferences(projects, this.getDefaultProject(args), { fileName: args.file, pos: position }, this.logger);
172933
173005
  if (!simplifiedResult)
172934
173006
  return references;
172935
173007
  var defaultProject = this.getDefaultProject(args);