typescript 4.9.0-dev.20220829 → 4.9.0-dev.20220901

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -46,59 +46,6 @@ with any additional questions or comments.
46
46
  * [Programming handbook](https://www.typescriptlang.org/docs/handbook/intro.html)
47
47
  * [Homepage](https://www.typescriptlang.org/)
48
48
 
49
- ## Building
50
-
51
- In order to build the TypeScript compiler, ensure that you have [Git](https://git-scm.com/downloads) and [Node.js](https://nodejs.org/) installed.
52
-
53
- Clone a copy of the repo:
54
-
55
- ```bash
56
- git clone https://github.com/microsoft/TypeScript.git
57
- ```
58
-
59
- Change to the TypeScript directory:
60
-
61
- ```bash
62
- cd TypeScript
63
- ```
64
-
65
- Install [Gulp](https://gulpjs.com/) tools and dev dependencies:
66
-
67
- ```bash
68
- npm install -g gulp
69
- npm ci
70
- ```
71
-
72
- Use one of the following to build and test:
73
-
74
- ```
75
- gulp local # Build the compiler into built/local.
76
- gulp clean # Delete the built compiler.
77
- gulp LKG # Replace the last known good with the built one.
78
- # Bootstrapping step to be executed when the built compiler reaches a stable state.
79
- gulp tests # Build the test infrastructure using the built compiler.
80
- gulp runtests # Run tests using the built compiler and test infrastructure.
81
- # You can override the specific suite runner used or specify a test for this command.
82
- # Use --tests=<testPath> for a specific test and/or --runner=<runnerName> for a specific suite.
83
- # Valid runners include conformance, compiler, fourslash, project, user, and docker
84
- # The user and docker runners are extended test suite runners - the user runner
85
- # works on disk in the tests/cases/user directory, while the docker runner works in containers.
86
- # You'll need to have the docker executable in your system path for the docker runner to work.
87
- gulp runtests-parallel # Like runtests, but split across multiple threads. Uses a number of threads equal to the system
88
- # core count by default. Use --workers=<number> to adjust this.
89
- gulp baseline-accept # This replaces the baseline test results with the results obtained from gulp runtests.
90
- gulp lint # Runs eslint on the TypeScript source.
91
- gulp help # List the above commands.
92
- ```
93
-
94
-
95
- ## Usage
96
-
97
- ```bash
98
- node built/local/tsc.js hello.ts
99
- ```
100
-
101
-
102
49
  ## Roadmap
103
50
 
104
51
  For details on our planned features and future direction please refer to our [roadmap](https://github.com/microsoft/TypeScript/wiki/Roadmap).
@@ -1472,7 +1472,7 @@
1472
1472
  "The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410": "Příkaz with není podporovaný. Všechny symboly s blokem with budou typu any.",
1473
1473
  "This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "Vlastnost {0} této značky JSX očekává jeden podřízený objekt typu {1}, ale poskytlo se jich více.",
1474
1474
  "This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "Vlastnost {0} této značky JSX očekává typ {1}, který vyžaduje více podřízených objektů, ale zadal se jen jeden.",
1475
- "This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "This comparison appears to be unintentional because the types '{0}' and '{1}' have no overlap.",
1475
+ "This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "Toto porovnání se zdá být neúmyslné, protože typy {0} a {1} se nijak nepřekrývají.",
1476
1476
  "This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839": "Tato podmínka vždy vrátí „{0}“, protože JavaScript porovnává objekty pomocí odkazu, nikoli hodnoty.",
1477
1477
  "This_condition_will_always_return_true_since_this_0_is_always_defined_2801": "Tato podmínka vždy vrátí hodnotu True, protože tato {0} je vždy definovaná.",
1478
1478
  "This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774": "Tato podmínka vždy vrátí hodnotu True, protože tato funkce je vždy definována. Chtěli jste ji místo toho nazvat?",
@@ -1526,7 +1526,7 @@
1526
1526
  "Type_0_cannot_be_used_as_an_index_type_2538": "Typ {0} se nedá použít jako typ indexu.",
1527
1527
  "Type_0_cannot_be_used_to_index_type_1_2536": "Typ {0} nejde použít k indexování typu {1}.",
1528
1528
  "Type_0_does_not_satisfy_the_constraint_1_2344": "Typ {0} nevyhovuje omezení {1}.",
1529
- "Type_0_does_not_satisfy_the_expected_type_1_1360": "Type '{0}' does not satisfy the expected type '{1}'.",
1529
+ "Type_0_does_not_satisfy_the_expected_type_1_1360": "Typ {0} nevyhovuje očekávanému typu {1}.",
1530
1530
  "Type_0_has_no_call_signatures_2757": "Typ {0} nemá žádné signatury volání.",
1531
1531
  "Type_0_has_no_construct_signatures_2761": "Typ {0} nemá žádné signatury konstruktu.",
1532
1532
  "Type_0_has_no_matching_index_signature_for_type_1_2537": "Typ {0} nemá odpovídající signaturu indexu pro typ {1}.",
@@ -1604,7 +1604,7 @@
1604
1604
  "Type_reference_directive_0_was_not_resolved_6120": "======== Direktiva odkazu na typ {0} se nepřeložila. ========",
1605
1605
  "Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119": "======== Direktiva odkazu na typ {0} se úspěšně přeložila na {1}, primární: {2}. ========",
1606
1606
  "Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219": "======== Direktiva odkazu na typ {0} se úspěšně přeložila na {1} s ID balíčku {2}, primární: {3}. ========",
1607
- "Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037": "Type satisfaction expressions can only be used in TypeScript files.",
1607
+ "Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037": "Kontrolní výrazy typů se dají používat jen v typescriptových souborech.",
1608
1608
  "Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043": "Typy se v deklaracích exportu v souborech JavaScriptu nemůžou vyskytovat.",
1609
1609
  "Types_have_separate_declarations_of_a_private_property_0_2442": "Typy mají samostatné deklarace privátní vlastnosti {0}.",
1610
1610
  "Types_of_construct_signatures_are_incompatible_2419": "Typy signatur konstruktorů nejsou kompatibilní.",
@@ -1472,7 +1472,7 @@
1472
1472
  "The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410": "No se admite la instrucción 'with'. Todos los símbolos de un bloque 'with' tendrán el tipo 'any'.",
1473
1473
  "This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "La propiedad \"{0}\" de esta etiqueta de JSX espera un solo elemento secundario de tipo \"{1}\", pero se han proporcionado varios elementos secundarios.",
1474
1474
  "This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "La propiedad \"{0}\" de esta etiqueta de JSX espera el tipo \"{1}\", que requiere varios elementos secundarios, pero solo se ha proporcionado un elemento secundario.",
1475
- "This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "This comparison appears to be unintentional because the types '{0}' and '{1}' have no overlap.",
1475
+ "This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "Esta comparación parece no intencionada porque los tipos \"{0}\" y \"{1}\" no tienen superposición.",
1476
1476
  "This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839": "Esta condición siempre devolverá \"{0}\", ya que JavaScript compara objetos por referencia, no por valor.",
1477
1477
  "This_condition_will_always_return_true_since_this_0_is_always_defined_2801": "Esta condición devolverá siempre true porque siempre se define '{0}'.",
1478
1478
  "This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774": "Esta condición siempre devolverá true, porque esta función se define siempre. ¿Pretendía llamarla en su lugar?",
@@ -1526,7 +1526,7 @@
1526
1526
  "Type_0_cannot_be_used_as_an_index_type_2538": "El tipo '{0}' no se puede usar como tipo de índice.",
1527
1527
  "Type_0_cannot_be_used_to_index_type_1_2536": "El tipo '{0}' no se puede usar para indexar el tipo '{1}'.",
1528
1528
  "Type_0_does_not_satisfy_the_constraint_1_2344": "El tipo '{0}' no cumple la restricción '{1}'.",
1529
- "Type_0_does_not_satisfy_the_expected_type_1_1360": "Type '{0}' does not satisfy the expected type '{1}'.",
1529
+ "Type_0_does_not_satisfy_the_expected_type_1_1360": "El tipo \"{0}\" no satisface el tipo esperado \"{1}\".",
1530
1530
  "Type_0_has_no_call_signatures_2757": "El tipo \"{0}\" no tiene signaturas de llamada.",
1531
1531
  "Type_0_has_no_construct_signatures_2761": "El tipo \"{0}\" no tiene signaturas de construcción.",
1532
1532
  "Type_0_has_no_matching_index_signature_for_type_1_2537": "El tipo '{0}' no tiene una signatura de índice correspondiente al tipo '{1}'.",
@@ -1604,7 +1604,7 @@
1604
1604
  "Type_reference_directive_0_was_not_resolved_6120": "======== No se resolvió la directiva de referencia de tipo '{0}'. ========",
1605
1605
  "Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119": "======== La directiva de referencia de tipo '{0}' se resolvió correctamente como '{1}', principal: {2}. ========",
1606
1606
  "Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219": "======== La directiva de referencia de tipo \"{0}\" se resolvió correctamente como \"{1}\" con el identificador de paquete \"{2}\", principal: {3}. ========",
1607
- "Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037": "Type satisfaction expressions can only be used in TypeScript files.",
1607
+ "Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037": "Las expresiones de satisfacción de tipo solo se pueden usar en archivos TypeScript.",
1608
1608
  "Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043": "Los tipos no pueden aparecer en declaraciones de exportación en archivos JavaScript.",
1609
1609
  "Types_have_separate_declarations_of_a_private_property_0_2442": "Los tipos tienen declaraciones independientes de una propiedad '{0}' privada.",
1610
1610
  "Types_of_construct_signatures_are_incompatible_2419": "Los tipos de signaturas de construcción son incompatibles.",
@@ -1472,7 +1472,7 @@
1472
1472
  "The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410": "L'instruction 'with' n'est pas prise en charge. Tous les symboles d'un bloc 'with' ont le type 'any'.",
1473
1473
  "This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "La propriété '{0}' de cette balise JSX attend un seul enfant de type '{1}', mais plusieurs enfants ont été fournis.",
1474
1474
  "This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "La propriété '{0}' de cette balise JSX attend le type '{1}', qui nécessite plusieurs enfants, mais un seul enfant a été fourni.",
1475
- "This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "This comparison appears to be unintentional because the types '{0}' and '{1}' have no overlap.",
1475
+ "This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "Cette comparaison semble involontaire, car les types '{0}' et '{1}' n’ont pas de chevauchement.",
1476
1476
  "This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839": "Cette condition retourne toujours '{0}', car JavaScript compare les objets par référence, et non par valeur.",
1477
1477
  "This_condition_will_always_return_true_since_this_0_is_always_defined_2801": "Cette condition retourne toujours true, car cette « {0} » est toujours définie.",
1478
1478
  "This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774": "Cette condition retourne toujours true, car cette fonction est toujours définie. Est-ce que vous avez voulu l'appeler à la place ?",
@@ -1526,7 +1526,7 @@
1526
1526
  "Type_0_cannot_be_used_as_an_index_type_2538": "Impossible d'utiliser le type '{0}' comme type d'index.",
1527
1527
  "Type_0_cannot_be_used_to_index_type_1_2536": "Le type '{0}' ne peut pas être utilisé pour indexer le type '{1}'.",
1528
1528
  "Type_0_does_not_satisfy_the_constraint_1_2344": "Le type '{0}' ne satisfait pas la contrainte '{1}'.",
1529
- "Type_0_does_not_satisfy_the_expected_type_1_1360": "Type '{0}' does not satisfy the expected type '{1}'.",
1529
+ "Type_0_does_not_satisfy_the_expected_type_1_1360": "Le type '{0}' ne satisfait pas le type attendu '{1}'.",
1530
1530
  "Type_0_has_no_call_signatures_2757": "Le type '{0}' n'a aucune signature d'appel.",
1531
1531
  "Type_0_has_no_construct_signatures_2761": "Le type '{0}' n'a aucune signature de construction.",
1532
1532
  "Type_0_has_no_matching_index_signature_for_type_1_2537": "Le type '{0}' n'a aucune signature d'index correspondant au type '{1}'.",
@@ -1604,7 +1604,7 @@
1604
1604
  "Type_reference_directive_0_was_not_resolved_6120": "======== La directive de référence de type '{0}' n'a pas été résolue. ========",
1605
1605
  "Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119": "======== La directive de référence de type '{0}' a été correctement résolue en '{1}', primaire : {2}. ========",
1606
1606
  "Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219": "======== La directive de référence de type '{0}' a été correctement résolue en '{1}' avec l'ID de package '{2}', primaire : {3}. ========",
1607
- "Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037": "Type satisfaction expressions can only be used in TypeScript files.",
1607
+ "Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037": "Les expressions de satisfaction de type peuvent uniquement être utilisées dans les fichiers TypeScript.",
1608
1608
  "Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043": "Les types ne peuvent pas apparaître dans les déclarations d’exportation dans les fichiers JavaScript.",
1609
1609
  "Types_have_separate_declarations_of_a_private_property_0_2442": "Les types ont des déclarations distinctes d'une propriété privée '{0}'.",
1610
1610
  "Types_of_construct_signatures_are_incompatible_2419": "Les types de signature de construction sont incompatibles.",
@@ -1472,7 +1472,7 @@
1472
1472
  "The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410": "'with' 문은 지원되지 않습니다. 'with' 블록의 모든 기호가 'any' 형식이 됩니다.",
1473
1473
  "This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "이 JSX 태그의 '{0}' 속성에는 '{1}' 형식의 자식 하나가 필요하지만, 여러 자식이 제공되었습니다.",
1474
1474
  "This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "이 JSX 태그의 '{0}' 속성에는 여러 자식이 있어야 하는 '{1}' 형식이 필요하지만, 단일 자식만 제공되었습니다.",
1475
- "This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "This comparison appears to be unintentional because the types '{0}' and '{1}' have no overlap.",
1475
+ "This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "'{0}'이(가) '{1}'과(와) 겹치지 않으므로 이 비교는 의도하지 않은 것 같습니다.",
1476
1476
  "This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839": "JavaScript는 값이 아닌 참조로 개체를 비교하므로 이 조건은 항상 '{0}'을(를) 반환합니다.",
1477
1477
  "This_condition_will_always_return_true_since_this_0_is_always_defined_2801": "이 '{0}'(은)는 항상 정의되어 있으므로 이 조건은 항상 true를 반환합니다.",
1478
1478
  "This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774": "함수가 항상 정의되므로 이 조건은 항상 true를 반환합니다. 대신 호출하시겠어요?",
@@ -1526,7 +1526,7 @@
1526
1526
  "Type_0_cannot_be_used_as_an_index_type_2538": "'{0}' 형식을 인덱스 형식으로 사용할 수 없습니다.",
1527
1527
  "Type_0_cannot_be_used_to_index_type_1_2536": "'{0}' 형식을 인덱스 형식 '{1}'에 사용할 수 없습니다.",
1528
1528
  "Type_0_does_not_satisfy_the_constraint_1_2344": "'{0}' 형식이 '{1}' 제약 조건을 만족하지 않습니다.",
1529
- "Type_0_does_not_satisfy_the_expected_type_1_1360": "Type '{0}' does not satisfy the expected type '{1}'.",
1529
+ "Type_0_does_not_satisfy_the_expected_type_1_1360": "형식 '{0}'이(가) 필요한 형식 '{1}'을(를) 충족하지 않습니다.",
1530
1530
  "Type_0_has_no_call_signatures_2757": "'{0}' 형식에 호출 시그니처가 없습니다.",
1531
1531
  "Type_0_has_no_construct_signatures_2761": "'{0}' 형식에 구문 시그니처가 없습니다.",
1532
1532
  "Type_0_has_no_matching_index_signature_for_type_1_2537": "'{0}' 형식에 '{1}' 형식에 대한 일치하는 인덱스 시그니처가 없습니다.",
@@ -1604,7 +1604,7 @@
1604
1604
  "Type_reference_directive_0_was_not_resolved_6120": "======== 형식 참조 지시문 '{0}'이(가) 확인되지 않았습니다. ========",
1605
1605
  "Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119": "======== 형식 참조 지시문 '{0}'이(가) '{1}'(으)로 확인되었습니다. 주: {2}. ========",
1606
1606
  "Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219": "======== 형식 참조 지시문 '{0}'이(가) 패키지 ID가 '{2}'인 '{1}'(으)로 확인되었습니다. 주: {3}. ========",
1607
- "Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037": "Type satisfaction expressions can only be used in TypeScript files.",
1607
+ "Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037": "형식 만족 식은 TypeScript 파일에서만 사용할 수 있습니다.",
1608
1608
  "Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043": "유형은 JavaScript 파일의 내보내기 선언에 나타날 수 없습니다.",
1609
1609
  "Types_have_separate_declarations_of_a_private_property_0_2442": "형식에 별도의 프라이빗 속성 '{0}' 선언이 있습니다.",
1610
1610
  "Types_of_construct_signatures_are_incompatible_2419": "구문 시그니처 형식이 호환되지 않습니다.",
@@ -1472,7 +1472,7 @@
1472
1472
  "The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410": "A instrução \"with\" não tem suporte. Todos os símbolos em um bloco \"with\" terão o tipo \"any\".",
1473
1473
  "This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "A propriedade '{0}' da marca desse JSX espera um único filho do tipo '{1}', mas vários filhos foram fornecidos.",
1474
1474
  "This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "A propriedade '{0}' da marca desse JSX espera o tipo '{1}' que requer vários filhos, mas somente um único filho foi fornecido.",
1475
- "This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "This comparison appears to be unintentional because the types '{0}' and '{1}' have no overlap.",
1475
+ "This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "Esta comparação parece não ser intencional porque os tipos '{0}' e '{1}' não têm sobreposição.",
1476
1476
  "This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839": "Essa condição sempre retornará '{0}', pois o JavaScript compara objetos por referência, não por valor.",
1477
1477
  "This_condition_will_always_return_true_since_this_0_is_always_defined_2801": "Esta condição sempre retornará verdadeiro, já que este '{0}' está sempre definido.",
1478
1478
  "This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774": "Esta condição sempre retornará verdadeira, uma vez que esta função foi sempre definida. Você pretendia chamá-la em vez disso?",
@@ -1526,7 +1526,7 @@
1526
1526
  "Type_0_cannot_be_used_as_an_index_type_2538": "O tipo '{0}' não pode ser usado como um tipo de índice.",
1527
1527
  "Type_0_cannot_be_used_to_index_type_1_2536": "O tipo '{0}' não pode ser usado para indexar o tipo '{1}'.",
1528
1528
  "Type_0_does_not_satisfy_the_constraint_1_2344": "O tipo '{0}' não satisfaz a restrição '{1}'.",
1529
- "Type_0_does_not_satisfy_the_expected_type_1_1360": "Type '{0}' does not satisfy the expected type '{1}'.",
1529
+ "Type_0_does_not_satisfy_the_expected_type_1_1360": "O tipo '{0}' não atende ao tipo esperado '{1}'.",
1530
1530
  "Type_0_has_no_call_signatures_2757": "O tipo '{0}' não tem assinaturas de chamada.",
1531
1531
  "Type_0_has_no_construct_signatures_2761": "O tipo '{0}' não tem assinaturas de constructo.",
1532
1532
  "Type_0_has_no_matching_index_signature_for_type_1_2537": "O tipo '{0}' não tem assinatura de índice correspondente para o tipo '{1}'.",
@@ -1604,7 +1604,7 @@
1604
1604
  "Type_reference_directive_0_was_not_resolved_6120": "======== A diretiva de referência de tipo '{0}' não foi resolvida. ========",
1605
1605
  "Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119": "======== A diretiva de referência de tipo '{0}' foi resolvida com sucesso para '{1}', primário: {2}. ========",
1606
1606
  "Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219": "======== A diretiva de referência de tipo '{0}' foi resolvida com sucesso para '{1}' com a ID do Pacote '{2}', primário: {3}. ========",
1607
- "Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037": "Type satisfaction expressions can only be used in TypeScript files.",
1607
+ "Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037": "As expressões de satisfação de tipo só podem ser usadas em arquivos TypeScript.",
1608
1608
  "Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043": "Os tipos não podem aparecer em declarações de exportação em arquivos JavaScript.",
1609
1609
  "Types_have_separate_declarations_of_a_private_property_0_2442": "Tipos têm declarações separadas de uma propriedade privada '{0}'.",
1610
1610
  "Types_of_construct_signatures_are_incompatible_2419": "Os tipos de assinaturas de constructo são incompatíveis.",
@@ -1472,7 +1472,7 @@
1472
1472
  "The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410": "'with' ifadesi desteklenmiyor. 'with' bloklarındaki tüm simgeler 'any' türüne sahip olacaktır.",
1473
1473
  "This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "Bu JSX etiketinin '{0}' özelliği, '{1}' türünde tek bir alt öğe bekliyor ancak birden çok alt öğe sağlandı.",
1474
1474
  "This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "Bu JSX etiketinin '{0}' özelliği, birden çok alt öğe gerektiren '{1}' türünü bekliyor ancak yalnızca tek bir alt öğe sağlandı.",
1475
- "This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "This comparison appears to be unintentional because the types '{0}' and '{1}' have no overlap.",
1475
+ "This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "'{0}' ve '{1}' türlerinde çakışma olmadığından bu karşılaştırma yanlışlıkla yapılmış gibi görünüyor.",
1476
1476
  "This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839": "JavaScript nesneleri değer göre değil başvuruya göre karşılaştırdığından bu koşul her zaman '{0}' değerini döndürür.",
1477
1477
  "This_condition_will_always_return_true_since_this_0_is_always_defined_2801": "Bu '{0}' her zaman tanımlandığı için bu koşul her zaman doğru olacaktır.",
1478
1478
  "This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774": "İşlev her zaman tanımlı olduğundan bu koşul her zaman true döndürür. Bunun yerine işlevi çağırmayı mı istediniz?",
@@ -1526,7 +1526,7 @@
1526
1526
  "Type_0_cannot_be_used_as_an_index_type_2538": "'{0}' türü, dizin türü olarak kullanılamaz.",
1527
1527
  "Type_0_cannot_be_used_to_index_type_1_2536": "'{0}' türü, '{1}' türünü dizinlemek için kullanılamaz.",
1528
1528
  "Type_0_does_not_satisfy_the_constraint_1_2344": "'{0}' türü, '{1}' kısıtlamasını karşılamıyor.",
1529
- "Type_0_does_not_satisfy_the_expected_type_1_1360": "Type '{0}' does not satisfy the expected type '{1}'.",
1529
+ "Type_0_does_not_satisfy_the_expected_type_1_1360": "'{0}' türü, beklenen '{1}' türünü karşılamıyor.",
1530
1530
  "Type_0_has_no_call_signatures_2757": "'{0}' türünün çağrı imzası yok.",
1531
1531
  "Type_0_has_no_construct_signatures_2761": "'{0}' türünün oluşturma imzası yok.",
1532
1532
  "Type_0_has_no_matching_index_signature_for_type_1_2537": "'{0}' türü, '{1}' türüyle eşleşen dizin imzasına sahip değil.",
@@ -1604,7 +1604,7 @@
1604
1604
  "Type_reference_directive_0_was_not_resolved_6120": "======== '{0}' tür başvuru yönergesi çözümlenmedi. ========",
1605
1605
  "Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119": "======== '{0}' tür başvuru yönergesi '{1}' olarak başarıyla çözümlendi, birincil: {2}. ========",
1606
1606
  "Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219": "======== '{0}' tür başvuru yönergesi '{2}' Paket Kimliğine sahip '{1}' olarak başarıyla çözümlendi, birincil: {3}. ========",
1607
- "Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037": "Type satisfaction expressions can only be used in TypeScript files.",
1607
+ "Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037": "Tür karşılama ifadeleri yalnızca TypeScript dosyalarında kullanılabilir.",
1608
1608
  "Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043": "Türler, JavaScript dosyalarında dışarı aktarma bildirimlerinde görünemez.",
1609
1609
  "Types_have_separate_declarations_of_a_private_property_0_2442": "Türler, '{0}' özel özelliğinin ayrı bildirimlerine sahip.",
1610
1610
  "Types_of_construct_signatures_are_incompatible_2419": "Yapı imzalarının türleri uyumsuz.",
package/lib/tsc.js CHANGED
@@ -69,7 +69,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
69
69
  var ts;
70
70
  (function (ts) {
71
71
  ts.versionMajorMinor = "4.9";
72
- ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20220829");
72
+ ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20220901");
73
73
  var NativeCollections;
74
74
  (function (NativeCollections) {
75
75
  var globals = typeof globalThis !== "undefined" ? globalThis :
@@ -44844,7 +44844,7 @@ var ts;
44844
44844
  }
44845
44845
  var visited = ts.visitEachChild(node, elideInitializerAndPropertyRenamingAndSetEmitFlags, ts.nullTransformationContext, undefined, elideInitializerAndPropertyRenamingAndSetEmitFlags);
44846
44846
  if (ts.isBindingElement(visited)) {
44847
- if (visited.propertyName && ts.isIdentifier(visited.propertyName) && ts.isIdentifier(visited.name)) {
44847
+ if (visited.propertyName && ts.isIdentifier(visited.propertyName) && ts.isIdentifier(visited.name) && !ts.isStringAKeyword(ts.idText(visited.propertyName))) {
44848
44848
  visited = ts.factory.updateBindingElement(visited, visited.dotDotDotToken, undefined, visited.propertyName, undefined);
44849
44849
  }
44850
44850
  else {
@@ -54762,7 +54762,7 @@ var ts;
54762
54762
  if (reduced !== type) {
54763
54763
  return reduced;
54764
54764
  }
54765
- if (type.flags & 2097152) {
54765
+ if (type.flags & 2097152 && ts.some(type.types, isEmptyAnonymousObjectType)) {
54766
54766
  var normalizedTypes = ts.sameMap(type.types, function (t) { return getNormalizedType(t, writing); });
54767
54767
  if (normalizedTypes !== type.types) {
54768
54768
  return getIntersectionType(normalizedTypes);
@@ -60381,11 +60381,18 @@ var ts;
60381
60381
  }
60382
60382
  var target = getReferenceCandidate(typeOfExpr.expression);
60383
60383
  if (!isMatchingReference(reference, target)) {
60384
+ var propertyAccess = getDiscriminantPropertyAccess(typeOfExpr.expression, type);
60385
+ if (propertyAccess) {
60386
+ return narrowTypeByDiscriminant(type, propertyAccess, function (t) { return narrowTypeByLiteralExpression(t, literal, assumeTrue); });
60387
+ }
60384
60388
  if (strictNullChecks && optionalChainContainsReference(target, reference) && assumeTrue === (literal.text !== "undefined")) {
60385
60389
  return getAdjustedTypeWithFacts(type, 2097152);
60386
60390
  }
60387
60391
  return type;
60388
60392
  }
60393
+ return narrowTypeByLiteralExpression(type, literal, assumeTrue);
60394
+ }
60395
+ function narrowTypeByLiteralExpression(type, literal, assumeTrue) {
60389
60396
  return assumeTrue ?
60390
60397
  narrowTypeByTypeName(type, literal.text) :
60391
60398
  getTypeWithFacts(type, typeofNEFacts.get(literal.text) || 32768);
@@ -60745,7 +60752,9 @@ var ts;
60745
60752
  !!(type.flags & 465829888 && getBaseConstraintOrType(type).flags & (98304 | 1048576));
60746
60753
  }
60747
60754
  function isGenericTypeWithoutNullableConstraint(type) {
60748
- return !!(type.flags & 465829888 && !maybeTypeOfKind(getBaseConstraintOrType(type), 98304));
60755
+ return type.flags & 2097152 ?
60756
+ ts.some(type.types, isGenericTypeWithoutNullableConstraint) :
60757
+ !!(type.flags & 465829888 && !maybeTypeOfKind(getBaseConstraintOrType(type), 98304));
60749
60758
  }
60750
60759
  function hasContextualTypeWithNoGenericTypes(node, checkMode) {
60751
60760
  var contextualType = (ts.isIdentifier(node) || ts.isPropertyAccessExpression(node) || ts.isElementAccessExpression(node)) &&
package/lib/tsserver.js CHANGED
@@ -109,7 +109,7 @@ var ts;
109
109
  // The following is baselined as a literal template type without intervention
110
110
  /** The version of the TypeScript compiler release */
111
111
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
112
- ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20220829");
112
+ ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20220901");
113
113
  /* @internal */
114
114
  var Comparison;
115
115
  (function (Comparison) {
@@ -54278,7 +54278,7 @@ var ts;
54278
54278
  }
54279
54279
  var visited = ts.visitEachChild(node, elideInitializerAndPropertyRenamingAndSetEmitFlags, ts.nullTransformationContext, /*nodesVisitor*/ undefined, elideInitializerAndPropertyRenamingAndSetEmitFlags);
54280
54280
  if (ts.isBindingElement(visited)) {
54281
- if (visited.propertyName && ts.isIdentifier(visited.propertyName) && ts.isIdentifier(visited.name)) {
54281
+ if (visited.propertyName && ts.isIdentifier(visited.propertyName) && ts.isIdentifier(visited.name) && !ts.isStringAKeyword(ts.idText(visited.propertyName))) {
54282
54282
  visited = ts.factory.updateBindingElement(visited, visited.dotDotDotToken,
54283
54283
  /* propertyName*/ undefined, visited.propertyName,
54284
54284
  /*initializer*/ undefined);
@@ -65621,7 +65621,7 @@ var ts;
65621
65621
  if (reduced !== type) {
65622
65622
  return reduced;
65623
65623
  }
65624
- if (type.flags & 2097152 /* TypeFlags.Intersection */) {
65624
+ if (type.flags & 2097152 /* TypeFlags.Intersection */ && ts.some(type.types, isEmptyAnonymousObjectType)) {
65625
65625
  var normalizedTypes = ts.sameMap(type.types, function (t) { return getNormalizedType(t, writing); });
65626
65626
  if (normalizedTypes !== type.types) {
65627
65627
  return getIntersectionType(normalizedTypes);
@@ -72140,11 +72140,18 @@ var ts;
72140
72140
  }
72141
72141
  var target = getReferenceCandidate(typeOfExpr.expression);
72142
72142
  if (!isMatchingReference(reference, target)) {
72143
+ var propertyAccess = getDiscriminantPropertyAccess(typeOfExpr.expression, type);
72144
+ if (propertyAccess) {
72145
+ return narrowTypeByDiscriminant(type, propertyAccess, function (t) { return narrowTypeByLiteralExpression(t, literal, assumeTrue); });
72146
+ }
72143
72147
  if (strictNullChecks && optionalChainContainsReference(target, reference) && assumeTrue === (literal.text !== "undefined")) {
72144
72148
  return getAdjustedTypeWithFacts(type, 2097152 /* TypeFacts.NEUndefinedOrNull */);
72145
72149
  }
72146
72150
  return type;
72147
72151
  }
72152
+ return narrowTypeByLiteralExpression(type, literal, assumeTrue);
72153
+ }
72154
+ function narrowTypeByLiteralExpression(type, literal, assumeTrue) {
72148
72155
  return assumeTrue ?
72149
72156
  narrowTypeByTypeName(type, literal.text) :
72150
72157
  getTypeWithFacts(type, typeofNEFacts.get(literal.text) || 32768 /* TypeFacts.TypeofNEHostObject */);
@@ -72567,7 +72574,9 @@ var ts;
72567
72574
  !!(type.flags & 465829888 /* TypeFlags.Instantiable */ && getBaseConstraintOrType(type).flags & (98304 /* TypeFlags.Nullable */ | 1048576 /* TypeFlags.Union */));
72568
72575
  }
72569
72576
  function isGenericTypeWithoutNullableConstraint(type) {
72570
- return !!(type.flags & 465829888 /* TypeFlags.Instantiable */ && !maybeTypeOfKind(getBaseConstraintOrType(type), 98304 /* TypeFlags.Nullable */));
72577
+ return type.flags & 2097152 /* TypeFlags.Intersection */ ?
72578
+ ts.some(type.types, isGenericTypeWithoutNullableConstraint) :
72579
+ !!(type.flags & 465829888 /* TypeFlags.Instantiable */ && !maybeTypeOfKind(getBaseConstraintOrType(type), 98304 /* TypeFlags.Nullable */));
72571
72580
  }
72572
72581
  function hasContextualTypeWithNoGenericTypes(node, checkMode) {
72573
72582
  // Computing the contextual type for a child of a JSX element involves resolving the type of the
@@ -172209,13 +172218,13 @@ var ts;
172209
172218
  return __generator(this, function (_a) {
172210
172219
  switch (_a.label) {
172211
172220
  case 0:
172212
- ts.Debug.assertIsDefined(host.importServicePlugin);
172221
+ ts.Debug.assertIsDefined(host.importPlugin);
172213
172222
  resolvedPath = ts.combinePaths(initialDir, "node_modules");
172214
172223
  log("Dynamically importing ".concat(moduleName, " from ").concat(initialDir, " (resolved to ").concat(resolvedPath, ")"));
172215
172224
  _a.label = 1;
172216
172225
  case 1:
172217
172226
  _a.trys.push([1, 3, , 4]);
172218
- return [4 /*yield*/, host.importServicePlugin(resolvedPath, moduleName)];
172227
+ return [4 /*yield*/, host.importPlugin(resolvedPath, moduleName)];
172219
172228
  case 2:
172220
172229
  result = _a.sent();
172221
172230
  return [3 /*break*/, 4];
@@ -173294,7 +173303,7 @@ var ts;
173294
173303
  };
173295
173304
  Project.prototype.enableGlobalPlugins = function (options, pluginConfigOverrides) {
173296
173305
  var host = this.projectService.host;
173297
- if (!host.require && !host.importServicePlugin) {
173306
+ if (!host.require && !host.importPlugin) {
173298
173307
  this.projectService.logger.info("Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded");
173299
173308
  return;
173300
173309
  }
@@ -173351,7 +173360,7 @@ var ts;
173351
173360
  return __generator(this, function (_a) {
173352
173361
  switch (_a.label) {
173353
173362
  case 0:
173354
- ts.Debug.assertIsDefined(this.projectService.host.importServicePlugin);
173363
+ ts.Debug.assertIsDefined(this.projectService.host.importPlugin);
173355
173364
  log = function (message) { return _this.projectService.logger.info(message); };
173356
173365
  logError = function (message) {
173357
173366
  (errorLogs !== null && errorLogs !== void 0 ? errorLogs : (errorLogs = [])).push(message);
@@ -174052,7 +174061,7 @@ var ts;
174052
174061
  /*@internal*/
174053
174062
  ConfiguredProject.prototype.enablePluginsWithOptions = function (options, pluginConfigOverrides) {
174054
174063
  var host = this.projectService.host;
174055
- if (!host.require && !host.importServicePlugin) {
174064
+ if (!host.require && !host.importPlugin) {
174056
174065
  this.projectService.logger.info("Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded");
174057
174066
  return;
174058
174067
  }
@@ -177496,7 +177505,7 @@ var ts;
177496
177505
  /*@internal*/
177497
177506
  ProjectService.prototype.requestEnablePlugin = function (project, pluginConfigEntry, searchPaths, pluginConfigOverrides) {
177498
177507
  var _a;
177499
- if (!this.host.importServicePlugin && !this.host.require) {
177508
+ if (!this.host.importPlugin && !this.host.require) {
177500
177509
  this.logger.info("Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded");
177501
177510
  return;
177502
177511
  }
@@ -177506,7 +177515,7 @@ var ts;
177506
177515
  return;
177507
177516
  }
177508
177517
  // If the host supports dynamic import, begin enabling the plugin asynchronously.
177509
- if (this.host.importServicePlugin) {
177518
+ if (this.host.importPlugin) {
177510
177519
  var importPromise = project.beginEnablePluginAsync(pluginConfigEntry, searchPaths, pluginConfigOverrides);
177511
177520
  (_a = this.pendingPluginEnablements) !== null && _a !== void 0 ? _a : (this.pendingPluginEnablements = new ts.Map());
177512
177521
  var promises = this.pendingPluginEnablements.get(project);
@@ -181805,7 +181814,7 @@ var ts;
181805
181814
  setImmediate: function (x) { return setTimeout(x, 0); },
181806
181815
  clearImmediate: function (handle) { return clearTimeout(handle); },
181807
181816
  /* eslint-enable no-restricted-globals */
181808
- importServicePlugin: function (initialDir, moduleName) { return __awaiter(_this, void 0, void 0, function () {
181817
+ importPlugin: function (initialDir, moduleName) { return __awaiter(_this, void 0, void 0, function () {
181809
181818
  var packageRoot, packageJson, packageJsonResponse, e_1, browser, scriptPath, module_1, e_2;
181810
181819
  return __generator(this, function (_a) {
181811
181820
  switch (_a.label) {
@@ -7044,7 +7044,6 @@ declare namespace ts.server {
7044
7044
  gc?(): void;
7045
7045
  trace?(s: string): void;
7046
7046
  require?(initialPath: string, moduleName: string): ModuleImportResult;
7047
- importServicePlugin?(root: string, moduleName: string): Promise<ModuleImportResult>;
7048
7047
  }
7049
7048
  }
7050
7049
  declare namespace ts.server {
@@ -108,7 +108,7 @@ var ts;
108
108
  // The following is baselined as a literal template type without intervention
109
109
  /** The version of the TypeScript compiler release */
110
110
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
111
- ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20220829");
111
+ ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20220901");
112
112
  /* @internal */
113
113
  var Comparison;
114
114
  (function (Comparison) {
@@ -54277,7 +54277,7 @@ var ts;
54277
54277
  }
54278
54278
  var visited = ts.visitEachChild(node, elideInitializerAndPropertyRenamingAndSetEmitFlags, ts.nullTransformationContext, /*nodesVisitor*/ undefined, elideInitializerAndPropertyRenamingAndSetEmitFlags);
54279
54279
  if (ts.isBindingElement(visited)) {
54280
- if (visited.propertyName && ts.isIdentifier(visited.propertyName) && ts.isIdentifier(visited.name)) {
54280
+ if (visited.propertyName && ts.isIdentifier(visited.propertyName) && ts.isIdentifier(visited.name) && !ts.isStringAKeyword(ts.idText(visited.propertyName))) {
54281
54281
  visited = ts.factory.updateBindingElement(visited, visited.dotDotDotToken,
54282
54282
  /* propertyName*/ undefined, visited.propertyName,
54283
54283
  /*initializer*/ undefined);
@@ -65620,7 +65620,7 @@ var ts;
65620
65620
  if (reduced !== type) {
65621
65621
  return reduced;
65622
65622
  }
65623
- if (type.flags & 2097152 /* TypeFlags.Intersection */) {
65623
+ if (type.flags & 2097152 /* TypeFlags.Intersection */ && ts.some(type.types, isEmptyAnonymousObjectType)) {
65624
65624
  var normalizedTypes = ts.sameMap(type.types, function (t) { return getNormalizedType(t, writing); });
65625
65625
  if (normalizedTypes !== type.types) {
65626
65626
  return getIntersectionType(normalizedTypes);
@@ -72139,11 +72139,18 @@ var ts;
72139
72139
  }
72140
72140
  var target = getReferenceCandidate(typeOfExpr.expression);
72141
72141
  if (!isMatchingReference(reference, target)) {
72142
+ var propertyAccess = getDiscriminantPropertyAccess(typeOfExpr.expression, type);
72143
+ if (propertyAccess) {
72144
+ return narrowTypeByDiscriminant(type, propertyAccess, function (t) { return narrowTypeByLiteralExpression(t, literal, assumeTrue); });
72145
+ }
72142
72146
  if (strictNullChecks && optionalChainContainsReference(target, reference) && assumeTrue === (literal.text !== "undefined")) {
72143
72147
  return getAdjustedTypeWithFacts(type, 2097152 /* TypeFacts.NEUndefinedOrNull */);
72144
72148
  }
72145
72149
  return type;
72146
72150
  }
72151
+ return narrowTypeByLiteralExpression(type, literal, assumeTrue);
72152
+ }
72153
+ function narrowTypeByLiteralExpression(type, literal, assumeTrue) {
72147
72154
  return assumeTrue ?
72148
72155
  narrowTypeByTypeName(type, literal.text) :
72149
72156
  getTypeWithFacts(type, typeofNEFacts.get(literal.text) || 32768 /* TypeFacts.TypeofNEHostObject */);
@@ -72566,7 +72573,9 @@ var ts;
72566
72573
  !!(type.flags & 465829888 /* TypeFlags.Instantiable */ && getBaseConstraintOrType(type).flags & (98304 /* TypeFlags.Nullable */ | 1048576 /* TypeFlags.Union */));
72567
72574
  }
72568
72575
  function isGenericTypeWithoutNullableConstraint(type) {
72569
- return !!(type.flags & 465829888 /* TypeFlags.Instantiable */ && !maybeTypeOfKind(getBaseConstraintOrType(type), 98304 /* TypeFlags.Nullable */));
72576
+ return type.flags & 2097152 /* TypeFlags.Intersection */ ?
72577
+ ts.some(type.types, isGenericTypeWithoutNullableConstraint) :
72578
+ !!(type.flags & 465829888 /* TypeFlags.Instantiable */ && !maybeTypeOfKind(getBaseConstraintOrType(type), 98304 /* TypeFlags.Nullable */));
72570
72579
  }
72571
72580
  function hasContextualTypeWithNoGenericTypes(node, checkMode) {
72572
72581
  // Computing the contextual type for a child of a JSX element involves resolving the type of the
@@ -172208,13 +172217,13 @@ var ts;
172208
172217
  return __generator(this, function (_a) {
172209
172218
  switch (_a.label) {
172210
172219
  case 0:
172211
- ts.Debug.assertIsDefined(host.importServicePlugin);
172220
+ ts.Debug.assertIsDefined(host.importPlugin);
172212
172221
  resolvedPath = ts.combinePaths(initialDir, "node_modules");
172213
172222
  log("Dynamically importing ".concat(moduleName, " from ").concat(initialDir, " (resolved to ").concat(resolvedPath, ")"));
172214
172223
  _a.label = 1;
172215
172224
  case 1:
172216
172225
  _a.trys.push([1, 3, , 4]);
172217
- return [4 /*yield*/, host.importServicePlugin(resolvedPath, moduleName)];
172226
+ return [4 /*yield*/, host.importPlugin(resolvedPath, moduleName)];
172218
172227
  case 2:
172219
172228
  result = _a.sent();
172220
172229
  return [3 /*break*/, 4];
@@ -173293,7 +173302,7 @@ var ts;
173293
173302
  };
173294
173303
  Project.prototype.enableGlobalPlugins = function (options, pluginConfigOverrides) {
173295
173304
  var host = this.projectService.host;
173296
- if (!host.require && !host.importServicePlugin) {
173305
+ if (!host.require && !host.importPlugin) {
173297
173306
  this.projectService.logger.info("Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded");
173298
173307
  return;
173299
173308
  }
@@ -173350,7 +173359,7 @@ var ts;
173350
173359
  return __generator(this, function (_a) {
173351
173360
  switch (_a.label) {
173352
173361
  case 0:
173353
- ts.Debug.assertIsDefined(this.projectService.host.importServicePlugin);
173362
+ ts.Debug.assertIsDefined(this.projectService.host.importPlugin);
173354
173363
  log = function (message) { return _this.projectService.logger.info(message); };
173355
173364
  logError = function (message) {
173356
173365
  (errorLogs !== null && errorLogs !== void 0 ? errorLogs : (errorLogs = [])).push(message);
@@ -174051,7 +174060,7 @@ var ts;
174051
174060
  /*@internal*/
174052
174061
  ConfiguredProject.prototype.enablePluginsWithOptions = function (options, pluginConfigOverrides) {
174053
174062
  var host = this.projectService.host;
174054
- if (!host.require && !host.importServicePlugin) {
174063
+ if (!host.require && !host.importPlugin) {
174055
174064
  this.projectService.logger.info("Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded");
174056
174065
  return;
174057
174066
  }
@@ -177495,7 +177504,7 @@ var ts;
177495
177504
  /*@internal*/
177496
177505
  ProjectService.prototype.requestEnablePlugin = function (project, pluginConfigEntry, searchPaths, pluginConfigOverrides) {
177497
177506
  var _a;
177498
- if (!this.host.importServicePlugin && !this.host.require) {
177507
+ if (!this.host.importPlugin && !this.host.require) {
177499
177508
  this.logger.info("Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded");
177500
177509
  return;
177501
177510
  }
@@ -177505,7 +177514,7 @@ var ts;
177505
177514
  return;
177506
177515
  }
177507
177516
  // If the host supports dynamic import, begin enabling the plugin asynchronously.
177508
- if (this.host.importServicePlugin) {
177517
+ if (this.host.importPlugin) {
177509
177518
  var importPromise = project.beginEnablePluginAsync(pluginConfigEntry, searchPaths, pluginConfigOverrides);
177510
177519
  (_a = this.pendingPluginEnablements) !== null && _a !== void 0 ? _a : (this.pendingPluginEnablements = new ts.Map());
177511
177520
  var promises = this.pendingPluginEnablements.get(project);
package/lib/typescript.js CHANGED
@@ -99,7 +99,7 @@ var ts;
99
99
  // The following is baselined as a literal template type without intervention
100
100
  /** The version of the TypeScript compiler release */
101
101
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
102
- ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20220829");
102
+ ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20220901");
103
103
  /* @internal */
104
104
  var Comparison;
105
105
  (function (Comparison) {
@@ -54268,7 +54268,7 @@ var ts;
54268
54268
  }
54269
54269
  var visited = ts.visitEachChild(node, elideInitializerAndPropertyRenamingAndSetEmitFlags, ts.nullTransformationContext, /*nodesVisitor*/ undefined, elideInitializerAndPropertyRenamingAndSetEmitFlags);
54270
54270
  if (ts.isBindingElement(visited)) {
54271
- if (visited.propertyName && ts.isIdentifier(visited.propertyName) && ts.isIdentifier(visited.name)) {
54271
+ if (visited.propertyName && ts.isIdentifier(visited.propertyName) && ts.isIdentifier(visited.name) && !ts.isStringAKeyword(ts.idText(visited.propertyName))) {
54272
54272
  visited = ts.factory.updateBindingElement(visited, visited.dotDotDotToken,
54273
54273
  /* propertyName*/ undefined, visited.propertyName,
54274
54274
  /*initializer*/ undefined);
@@ -65611,7 +65611,7 @@ var ts;
65611
65611
  if (reduced !== type) {
65612
65612
  return reduced;
65613
65613
  }
65614
- if (type.flags & 2097152 /* TypeFlags.Intersection */) {
65614
+ if (type.flags & 2097152 /* TypeFlags.Intersection */ && ts.some(type.types, isEmptyAnonymousObjectType)) {
65615
65615
  var normalizedTypes = ts.sameMap(type.types, function (t) { return getNormalizedType(t, writing); });
65616
65616
  if (normalizedTypes !== type.types) {
65617
65617
  return getIntersectionType(normalizedTypes);
@@ -72130,11 +72130,18 @@ var ts;
72130
72130
  }
72131
72131
  var target = getReferenceCandidate(typeOfExpr.expression);
72132
72132
  if (!isMatchingReference(reference, target)) {
72133
+ var propertyAccess = getDiscriminantPropertyAccess(typeOfExpr.expression, type);
72134
+ if (propertyAccess) {
72135
+ return narrowTypeByDiscriminant(type, propertyAccess, function (t) { return narrowTypeByLiteralExpression(t, literal, assumeTrue); });
72136
+ }
72133
72137
  if (strictNullChecks && optionalChainContainsReference(target, reference) && assumeTrue === (literal.text !== "undefined")) {
72134
72138
  return getAdjustedTypeWithFacts(type, 2097152 /* TypeFacts.NEUndefinedOrNull */);
72135
72139
  }
72136
72140
  return type;
72137
72141
  }
72142
+ return narrowTypeByLiteralExpression(type, literal, assumeTrue);
72143
+ }
72144
+ function narrowTypeByLiteralExpression(type, literal, assumeTrue) {
72138
72145
  return assumeTrue ?
72139
72146
  narrowTypeByTypeName(type, literal.text) :
72140
72147
  getTypeWithFacts(type, typeofNEFacts.get(literal.text) || 32768 /* TypeFacts.TypeofNEHostObject */);
@@ -72557,7 +72564,9 @@ var ts;
72557
72564
  !!(type.flags & 465829888 /* TypeFlags.Instantiable */ && getBaseConstraintOrType(type).flags & (98304 /* TypeFlags.Nullable */ | 1048576 /* TypeFlags.Union */));
72558
72565
  }
72559
72566
  function isGenericTypeWithoutNullableConstraint(type) {
72560
- return !!(type.flags & 465829888 /* TypeFlags.Instantiable */ && !maybeTypeOfKind(getBaseConstraintOrType(type), 98304 /* TypeFlags.Nullable */));
72567
+ return type.flags & 2097152 /* TypeFlags.Intersection */ ?
72568
+ ts.some(type.types, isGenericTypeWithoutNullableConstraint) :
72569
+ !!(type.flags & 465829888 /* TypeFlags.Instantiable */ && !maybeTypeOfKind(getBaseConstraintOrType(type), 98304 /* TypeFlags.Nullable */));
72561
72570
  }
72562
72571
  function hasContextualTypeWithNoGenericTypes(node, checkMode) {
72563
72572
  // Computing the contextual type for a child of a JSX element involves resolving the type of the
@@ -99,7 +99,7 @@ var ts;
99
99
  // The following is baselined as a literal template type without intervention
100
100
  /** The version of the TypeScript compiler release */
101
101
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
102
- ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20220829");
102
+ ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20220901");
103
103
  /* @internal */
104
104
  var Comparison;
105
105
  (function (Comparison) {
@@ -54268,7 +54268,7 @@ var ts;
54268
54268
  }
54269
54269
  var visited = ts.visitEachChild(node, elideInitializerAndPropertyRenamingAndSetEmitFlags, ts.nullTransformationContext, /*nodesVisitor*/ undefined, elideInitializerAndPropertyRenamingAndSetEmitFlags);
54270
54270
  if (ts.isBindingElement(visited)) {
54271
- if (visited.propertyName && ts.isIdentifier(visited.propertyName) && ts.isIdentifier(visited.name)) {
54271
+ if (visited.propertyName && ts.isIdentifier(visited.propertyName) && ts.isIdentifier(visited.name) && !ts.isStringAKeyword(ts.idText(visited.propertyName))) {
54272
54272
  visited = ts.factory.updateBindingElement(visited, visited.dotDotDotToken,
54273
54273
  /* propertyName*/ undefined, visited.propertyName,
54274
54274
  /*initializer*/ undefined);
@@ -65611,7 +65611,7 @@ var ts;
65611
65611
  if (reduced !== type) {
65612
65612
  return reduced;
65613
65613
  }
65614
- if (type.flags & 2097152 /* TypeFlags.Intersection */) {
65614
+ if (type.flags & 2097152 /* TypeFlags.Intersection */ && ts.some(type.types, isEmptyAnonymousObjectType)) {
65615
65615
  var normalizedTypes = ts.sameMap(type.types, function (t) { return getNormalizedType(t, writing); });
65616
65616
  if (normalizedTypes !== type.types) {
65617
65617
  return getIntersectionType(normalizedTypes);
@@ -72130,11 +72130,18 @@ var ts;
72130
72130
  }
72131
72131
  var target = getReferenceCandidate(typeOfExpr.expression);
72132
72132
  if (!isMatchingReference(reference, target)) {
72133
+ var propertyAccess = getDiscriminantPropertyAccess(typeOfExpr.expression, type);
72134
+ if (propertyAccess) {
72135
+ return narrowTypeByDiscriminant(type, propertyAccess, function (t) { return narrowTypeByLiteralExpression(t, literal, assumeTrue); });
72136
+ }
72133
72137
  if (strictNullChecks && optionalChainContainsReference(target, reference) && assumeTrue === (literal.text !== "undefined")) {
72134
72138
  return getAdjustedTypeWithFacts(type, 2097152 /* TypeFacts.NEUndefinedOrNull */);
72135
72139
  }
72136
72140
  return type;
72137
72141
  }
72142
+ return narrowTypeByLiteralExpression(type, literal, assumeTrue);
72143
+ }
72144
+ function narrowTypeByLiteralExpression(type, literal, assumeTrue) {
72138
72145
  return assumeTrue ?
72139
72146
  narrowTypeByTypeName(type, literal.text) :
72140
72147
  getTypeWithFacts(type, typeofNEFacts.get(literal.text) || 32768 /* TypeFacts.TypeofNEHostObject */);
@@ -72557,7 +72564,9 @@ var ts;
72557
72564
  !!(type.flags & 465829888 /* TypeFlags.Instantiable */ && getBaseConstraintOrType(type).flags & (98304 /* TypeFlags.Nullable */ | 1048576 /* TypeFlags.Union */));
72558
72565
  }
72559
72566
  function isGenericTypeWithoutNullableConstraint(type) {
72560
- return !!(type.flags & 465829888 /* TypeFlags.Instantiable */ && !maybeTypeOfKind(getBaseConstraintOrType(type), 98304 /* TypeFlags.Nullable */));
72567
+ return type.flags & 2097152 /* TypeFlags.Intersection */ ?
72568
+ ts.some(type.types, isGenericTypeWithoutNullableConstraint) :
72569
+ !!(type.flags & 465829888 /* TypeFlags.Instantiable */ && !maybeTypeOfKind(getBaseConstraintOrType(type), 98304 /* TypeFlags.Nullable */));
72561
72570
  }
72562
72571
  function hasContextualTypeWithNoGenericTypes(node, checkMode) {
72563
72572
  // Computing the contextual type for a child of a JSX element involves resolving the type of the
@@ -89,7 +89,7 @@ var ts;
89
89
  // The following is baselined as a literal template type without intervention
90
90
  /** The version of the TypeScript compiler release */
91
91
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
92
- ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20220829");
92
+ ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20220901");
93
93
  /* @internal */
94
94
  var Comparison;
95
95
  (function (Comparison) {
@@ -54258,7 +54258,7 @@ var ts;
54258
54258
  }
54259
54259
  var visited = ts.visitEachChild(node, elideInitializerAndPropertyRenamingAndSetEmitFlags, ts.nullTransformationContext, /*nodesVisitor*/ undefined, elideInitializerAndPropertyRenamingAndSetEmitFlags);
54260
54260
  if (ts.isBindingElement(visited)) {
54261
- if (visited.propertyName && ts.isIdentifier(visited.propertyName) && ts.isIdentifier(visited.name)) {
54261
+ if (visited.propertyName && ts.isIdentifier(visited.propertyName) && ts.isIdentifier(visited.name) && !ts.isStringAKeyword(ts.idText(visited.propertyName))) {
54262
54262
  visited = ts.factory.updateBindingElement(visited, visited.dotDotDotToken,
54263
54263
  /* propertyName*/ undefined, visited.propertyName,
54264
54264
  /*initializer*/ undefined);
@@ -65601,7 +65601,7 @@ var ts;
65601
65601
  if (reduced !== type) {
65602
65602
  return reduced;
65603
65603
  }
65604
- if (type.flags & 2097152 /* TypeFlags.Intersection */) {
65604
+ if (type.flags & 2097152 /* TypeFlags.Intersection */ && ts.some(type.types, isEmptyAnonymousObjectType)) {
65605
65605
  var normalizedTypes = ts.sameMap(type.types, function (t) { return getNormalizedType(t, writing); });
65606
65606
  if (normalizedTypes !== type.types) {
65607
65607
  return getIntersectionType(normalizedTypes);
@@ -72120,11 +72120,18 @@ var ts;
72120
72120
  }
72121
72121
  var target = getReferenceCandidate(typeOfExpr.expression);
72122
72122
  if (!isMatchingReference(reference, target)) {
72123
+ var propertyAccess = getDiscriminantPropertyAccess(typeOfExpr.expression, type);
72124
+ if (propertyAccess) {
72125
+ return narrowTypeByDiscriminant(type, propertyAccess, function (t) { return narrowTypeByLiteralExpression(t, literal, assumeTrue); });
72126
+ }
72123
72127
  if (strictNullChecks && optionalChainContainsReference(target, reference) && assumeTrue === (literal.text !== "undefined")) {
72124
72128
  return getAdjustedTypeWithFacts(type, 2097152 /* TypeFacts.NEUndefinedOrNull */);
72125
72129
  }
72126
72130
  return type;
72127
72131
  }
72132
+ return narrowTypeByLiteralExpression(type, literal, assumeTrue);
72133
+ }
72134
+ function narrowTypeByLiteralExpression(type, literal, assumeTrue) {
72128
72135
  return assumeTrue ?
72129
72136
  narrowTypeByTypeName(type, literal.text) :
72130
72137
  getTypeWithFacts(type, typeofNEFacts.get(literal.text) || 32768 /* TypeFacts.TypeofNEHostObject */);
@@ -72547,7 +72554,9 @@ var ts;
72547
72554
  !!(type.flags & 465829888 /* TypeFlags.Instantiable */ && getBaseConstraintOrType(type).flags & (98304 /* TypeFlags.Nullable */ | 1048576 /* TypeFlags.Union */));
72548
72555
  }
72549
72556
  function isGenericTypeWithoutNullableConstraint(type) {
72550
- return !!(type.flags & 465829888 /* TypeFlags.Instantiable */ && !maybeTypeOfKind(getBaseConstraintOrType(type), 98304 /* TypeFlags.Nullable */));
72557
+ return type.flags & 2097152 /* TypeFlags.Intersection */ ?
72558
+ ts.some(type.types, isGenericTypeWithoutNullableConstraint) :
72559
+ !!(type.flags & 465829888 /* TypeFlags.Instantiable */ && !maybeTypeOfKind(getBaseConstraintOrType(type), 98304 /* TypeFlags.Nullable */));
72551
72560
  }
72552
72561
  function hasContextualTypeWithNoGenericTypes(node, checkMode) {
72553
72562
  // Computing the contextual type for a child of a JSX element involves resolving the type of the
@@ -1472,7 +1472,7 @@
1472
1472
  "The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410": "不支持 \"with\" 语句。\"with\" 程序块中的所有符号都将具有类型 \"any\"。",
1473
1473
  "This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "此 JSX 标记的 \"{0}\" 属性需要 \"{1}\" 类型的子级,但提供了多个子级。",
1474
1474
  "This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "此 JSX 标记的 \"{0}\" 属性需要类型 \"{1}\",该类型需要多个子级,但仅提供了一个子级。",
1475
- "This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "This comparison appears to be unintentional because the types '{0}' and '{1}' have no overlap.",
1475
+ "This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "此比较似乎是无意的,因为类型“{0}”和“{1}”没有重叠。",
1476
1476
  "This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839": "此条件将始终返回“{0}”,因为 JavaScript 按引用而不是值比较对象。",
1477
1477
  "This_condition_will_always_return_true_since_this_0_is_always_defined_2801": "此条件将始终返回 true,因为此“{0}”已始终定义。",
1478
1478
  "This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774": "此条件将始终返回 true,因为始终定义了函数。你是想改为调用它吗?",
@@ -1526,7 +1526,7 @@
1526
1526
  "Type_0_cannot_be_used_as_an_index_type_2538": "类型“{0}”不能作为索引类型使用。",
1527
1527
  "Type_0_cannot_be_used_to_index_type_1_2536": "类型“{0}”无法用于索引类型“{1}”。",
1528
1528
  "Type_0_does_not_satisfy_the_constraint_1_2344": "类型“{0}”不满足约束“{1}”。",
1529
- "Type_0_does_not_satisfy_the_expected_type_1_1360": "Type '{0}' does not satisfy the expected type '{1}'.",
1529
+ "Type_0_does_not_satisfy_the_expected_type_1_1360": "类型“{0}”不满足预期类型“{1}”。",
1530
1530
  "Type_0_has_no_call_signatures_2757": "类型 \"{0}\" 没有调用签名。",
1531
1531
  "Type_0_has_no_construct_signatures_2761": "类型 \"{0}\" 没有构造签名。",
1532
1532
  "Type_0_has_no_matching_index_signature_for_type_1_2537": "类型“{0}”没有匹配的类型“{1}”的索引签名。",
@@ -1604,7 +1604,7 @@
1604
1604
  "Type_reference_directive_0_was_not_resolved_6120": "======== 未解析类型引用指令“{0}”。========",
1605
1605
  "Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119": "======== 类型引用指令“{0}”已成功解析为“{1}”,主要: {2}。========",
1606
1606
  "Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219": "======== 类型引用指令 \"{0}\" 已成功解析为 \"{1}\" ,包 ID 为 \"{2}\",主要: {3}。========",
1607
- "Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037": "Type satisfaction expressions can only be used in TypeScript files.",
1607
+ "Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037": "类型满意度表达式只能在 TypeScript 文件中使用。",
1608
1608
  "Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043": "类型不能出现在 JavaScript 文件的导出声明中。",
1609
1609
  "Types_have_separate_declarations_of_a_private_property_0_2442": "类型具有私有属性“{0}”的单独声明。",
1610
1610
  "Types_of_construct_signatures_are_incompatible_2419": "构造签名的类型不兼容。",
@@ -1472,7 +1472,7 @@
1472
1472
  "The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410": "不支援 'with' 陳述式。'with' 區塊中的所有符號都會有類型 'any'。",
1473
1473
  "This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "此 JSX 標籤的 '{0}' 屬性只能有一個 '{1}' 類型的子系,但提供的子系卻有多個。",
1474
1474
  "This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "此 JSX 標籤的 '{0}' 屬性需要必須有多個子系的類型 '{1}',但僅提供的子系只有一個。",
1475
- "This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "This comparison appears to be unintentional because the types '{0}' and '{1}' have no overlap.",
1475
+ "This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "此比較似乎是無意的,因為類型 '{0}' 和 '{1}' 沒有重疊。",
1476
1476
  "This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839": "此條件一律會傳回 '{0}',因為 JavaScript 會依參照而非值比較物件。",
1477
1477
  "This_condition_will_always_return_true_since_this_0_is_always_defined_2801": "因為此 '{0}' 一律會被定義,所以此條件一律傳回 True。",
1478
1478
  "This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774": "因為永遠會定義此函式,所以此條件永遠會傳回 true。您是要改為呼叫該條件嗎?",
@@ -1526,7 +1526,7 @@
1526
1526
  "Type_0_cannot_be_used_as_an_index_type_2538": "類型 '{0}' 無法作為索引類型。",
1527
1527
  "Type_0_cannot_be_used_to_index_type_1_2536": "類型 '{0}' 無法用來為類型 '{1}' 編制索引。",
1528
1528
  "Type_0_does_not_satisfy_the_constraint_1_2344": "類型 '{0}' 不符合條件約束 '{1}'。",
1529
- "Type_0_does_not_satisfy_the_expected_type_1_1360": "Type '{0}' does not satisfy the expected type '{1}'.",
1529
+ "Type_0_does_not_satisfy_the_expected_type_1_1360": "類型 '{0}' 不符合預期類型 '{1}'。",
1530
1530
  "Type_0_has_no_call_signatures_2757": "類型 '{0}' 沒有任何呼叫簽章。",
1531
1531
  "Type_0_has_no_construct_signatures_2761": "類型 '{0}' 沒有任何建構簽章。",
1532
1532
  "Type_0_has_no_matching_index_signature_for_type_1_2537": "類型 '{0}' 沒有與類型 '{1}' 相符的索引簽章。",
@@ -1604,7 +1604,7 @@
1604
1604
  "Type_reference_directive_0_was_not_resolved_6120": "======== 類型參考指示詞 '{0}' 未解析。========",
1605
1605
  "Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119": "======== 類型參考指示詞 '{0}' 已成功解析為 '{1}',主要: {2}。========",
1606
1606
  "Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219": "======== 類型參考指示詞 '{0}' 已成功解析為 '{1}',套件識別碼為 '{2}',主要: {3}。========",
1607
- "Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037": "Type satisfaction expressions can only be used in TypeScript files.",
1607
+ "Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037": "類型滿足運算式只可用於 TypeScript 檔案。",
1608
1608
  "Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043": "類型不能出現在 JavaScript 檔案的匯出宣告中。",
1609
1609
  "Types_have_separate_declarations_of_a_private_property_0_2442": "類型具有私用屬性 '{0}' 的個別宣告。",
1610
1610
  "Types_of_construct_signatures_are_incompatible_2419": "建構簽章的類型不相容。",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "typescript",
3
3
  "author": "Microsoft Corp.",
4
4
  "homepage": "https://www.typescriptlang.org/",
5
- "version": "4.9.0-dev.20220829",
5
+ "version": "4.9.0-dev.20220901",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [
@@ -101,7 +101,6 @@
101
101
  "es5-ext": "0.10.53"
102
102
  },
103
103
  "scripts": {
104
- "pretest": "gulp tests",
105
104
  "test": "gulp runtests-parallel --light=false",
106
105
  "test:eslint-rules": "gulp run-eslint-rules-tests",
107
106
  "build": "npm run build:compiler && npm run build:tests",