@typescript-deploys/pr-build 4.9.0-pr-50903-10 → 4.9.0-pr-51026-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/lib.es2015.symbol.wellknown.d.ts +3 -3
- package/lib/lib.es5.d.ts +2 -2
- package/lib/pl/diagnosticMessages.generated.json +3 -3
- package/lib/protocol.d.ts +0 -2
- package/lib/tr/diagnosticMessages.generated.json +3 -0
- package/lib/tsc.js +171 -93
- package/lib/tsserver.js +299 -137
- package/lib/tsserverlibrary.d.ts +18 -0
- package/lib/tsserverlibrary.js +299 -137
- package/lib/typescript.d.ts +11 -0
- package/lib/typescript.js +274 -120
- package/lib/typescriptServices.d.ts +258 -281
- package/lib/typescriptServices.js +9481 -10635
- package/lib/typingsInstaller.js +220 -98
- package/package.json +9 -11
|
@@ -239,9 +239,9 @@ interface String {
|
|
|
239
239
|
match(matcher: { [Symbol.match](string: string): RegExpMatchArray | null; }): RegExpMatchArray | null;
|
|
240
240
|
|
|
241
241
|
/**
|
|
242
|
-
*
|
|
243
|
-
* @param searchValue
|
|
244
|
-
* @param replaceValue
|
|
242
|
+
* Passes a string and {@linkcode replaceValue} to the `[Symbol.replace]` method on {@linkcode searchValue}. This method is expected to implement its own replacement algorithm.
|
|
243
|
+
* @param searchValue An object that supports searching for and replacing matches within a string.
|
|
244
|
+
* @param replaceValue The replacement text.
|
|
245
245
|
*/
|
|
246
246
|
replace(searchValue: { [Symbol.replace](string: string, replaceValue: string): string; }, replaceValue: string): string;
|
|
247
247
|
|
package/lib/lib.es5.d.ts
CHANGED
|
@@ -443,8 +443,8 @@ interface String {
|
|
|
443
443
|
|
|
444
444
|
/**
|
|
445
445
|
* Replaces text in a string, using a regular expression or search string.
|
|
446
|
-
* @param searchValue A string to search for.
|
|
447
|
-
* @param replaceValue A string containing the text to replace
|
|
446
|
+
* @param searchValue A string or regular expression to search for.
|
|
447
|
+
* @param replaceValue A string containing the text to replace. When the {@linkcode searchValue} is a `RegExp`, all matches are replaced if the `g` flag is set (or only those matches at the beginning, if the `y` flag is also present). Otherwise, only the first match of {@linkcode searchValue} is replaced.
|
|
448
448
|
*/
|
|
449
449
|
replace(searchValue: string | RegExp, replaceValue: string): string;
|
|
450
450
|
|
|
@@ -1474,7 +1474,7 @@
|
|
|
1474
1474
|
"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "Element prop „{0}” tego tagu JSX oczekuje pojedynczego elementu podrzędnego typu „{1}”, ale podano wiele elementów podrzędnych.",
|
|
1475
1475
|
"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "Element prop „{0}” tego tagu JSX oczekuje typu „{1}”, który wymaga wielu elementów podrzędnych, ale podano tylko jeden element podrzędny.",
|
|
1476
1476
|
"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "To porównanie wydaje się niezamierzone, ponieważ typy „{0}” i „{1}” nie nakładają się na siebie.",
|
|
1477
|
-
"This_condition_will_always_return_0_2845": "
|
|
1477
|
+
"This_condition_will_always_return_0_2845": "Ten warunek będzie zawsze zwracać wartość „{0}”.",
|
|
1478
1478
|
"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839": "Ten warunek zawsze będzie zwracać wartość „{0}”, ponieważ język JavaScript porównuje obiekty według odwołania, a nie wartości.",
|
|
1479
1479
|
"This_condition_will_always_return_true_since_this_0_is_always_defined_2801": "Ten warunek będzie zawsze zwracać wartość true, ponieważ wartość '{0}' jest zawsze prawdziwa.",
|
|
1480
1480
|
"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774": "Ten warunek będzie zawsze zwracał wartość true, ponieważ funkcja jest zawsze zdefiniowana. Czy chcesz wywołać ją zamiast tego?",
|
|
@@ -1649,8 +1649,8 @@
|
|
|
1649
1649
|
"Updating_output_of_project_0_6373": "Trwa aktualizowanie danych wyjściowych projektu „{0}”...",
|
|
1650
1650
|
"Updating_output_timestamps_of_project_0_6359": "Trwa aktualizowanie sygnatury czasowej danych wyjściowych projektu „{0}”...",
|
|
1651
1651
|
"Updating_unchanged_output_timestamps_of_project_0_6371": "Trwa aktualizowanie niezmienionych sygnatur czasowych danych wyjściowych projektu „{0}”...",
|
|
1652
|
-
"Use_0_95174": "
|
|
1653
|
-
"Use_Number_isNaN_in_all_conditions_95175": "
|
|
1652
|
+
"Use_0_95174": "Użyj „{0}”.",
|
|
1653
|
+
"Use_Number_isNaN_in_all_conditions_95175": "Użyj wartości „Number.isNaN” we wszystkich warunkach.",
|
|
1654
1654
|
"Use_element_access_for_0_95145": "Użyj dostępu do elementu w przypadku elementu „{0}”",
|
|
1655
1655
|
"Use_element_access_for_all_undeclared_properties_95146": "Użyj dostępu do elementu w przypadku wszystkich niezadeklarowanych właściwości.",
|
|
1656
1656
|
"Use_synthetic_default_member_95016": "Użyj syntetycznej składowej „default”.",
|
package/lib/protocol.d.ts
CHANGED
|
@@ -2924,8 +2924,6 @@ declare namespace ts.server.protocol {
|
|
|
2924
2924
|
* interface Y { foo:number; }
|
|
2925
2925
|
*/
|
|
2926
2926
|
memberVariableElement = "property",
|
|
2927
|
-
/** class X { [public|private]* accessor foo: number; } */
|
|
2928
|
-
memberAccessorVariableElement = "accessor",
|
|
2929
2927
|
/**
|
|
2930
2928
|
* class X { constructor() { } }
|
|
2931
2929
|
* class X { static { } }
|
|
@@ -1474,6 +1474,7 @@
|
|
|
1474
1474
|
"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ı.",
|
|
1475
1475
|
"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ı.",
|
|
1476
1476
|
"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.",
|
|
1477
|
+
"This_condition_will_always_return_0_2845": "Bu koşul her zaman '{0}' döndürür.",
|
|
1477
1478
|
"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.",
|
|
1478
1479
|
"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.",
|
|
1479
1480
|
"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?",
|
|
@@ -1648,6 +1649,8 @@
|
|
|
1648
1649
|
"Updating_output_of_project_0_6373": "'{0}' projesinin çıkışı güncelleştiriliyor...",
|
|
1649
1650
|
"Updating_output_timestamps_of_project_0_6359": "'{0}' projesinin çıkış zaman damgaları güncelleştiriliyor...",
|
|
1650
1651
|
"Updating_unchanged_output_timestamps_of_project_0_6371": "'{0}' projesinin değiştirilmemiş çıkış zaman damgaları güncelleştiriliyor...",
|
|
1652
|
+
"Use_0_95174": "`{0}` kullanın.",
|
|
1653
|
+
"Use_Number_isNaN_in_all_conditions_95175": "Tüm koşullarda `Number.isNaN` kullanın.",
|
|
1651
1654
|
"Use_element_access_for_0_95145": "'{0}' için öğe erişimi kullan",
|
|
1652
1655
|
"Use_element_access_for_all_undeclared_properties_95146": "Tüm bildirilmemiş özellikler için öğe erişimi kullanın.",
|
|
1653
1656
|
"Use_synthetic_default_member_95016": "Yapay 'default' üyesini kullanın.",
|