typescript 5.9.0-dev.20250722 → 5.9.0-dev.20250723
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/_tsc.js +2 -2
- package/lib/fr/diagnosticMessages.generated.json +1 -1
- package/lib/ja/diagnosticMessages.generated.json +1 -1
- package/lib/ko/diagnosticMessages.generated.json +1 -1
- package/lib/pt-br/diagnosticMessages.generated.json +1 -1
- package/lib/typescript.js +2 -2
- package/lib/zh-cn/diagnosticMessages.generated.json +1 -1
- package/lib/zh-tw/diagnosticMessages.generated.json +1 -1
- package/package.json +2 -2
package/lib/_tsc.js
CHANGED
@@ -18,7 +18,7 @@ and limitations under the License.
|
|
18
18
|
|
19
19
|
// src/compiler/corePublic.ts
|
20
20
|
var versionMajorMinor = "5.9";
|
21
|
-
var version = `${versionMajorMinor}.0-dev.
|
21
|
+
var version = `${versionMajorMinor}.0-dev.20250723`;
|
22
22
|
|
23
23
|
// src/compiler/core.ts
|
24
24
|
var emptyArray = [];
|
@@ -50593,7 +50593,7 @@ function createTypeChecker(host) {
|
|
50593
50593
|
}
|
50594
50594
|
}
|
50595
50595
|
function typeToString(type, enclosingDeclaration, flags = 1048576 /* AllowUniqueESSymbolType */ | 16384 /* UseAliasDefinedOutsideCurrentScope */, writer = createTextWriter(""), maximumLength, verbosityLevel, out) {
|
50596
|
-
const noTruncation = compilerOptions.noErrorTruncation || flags & 1 /* NoTruncation */;
|
50596
|
+
const noTruncation = !maximumLength && compilerOptions.noErrorTruncation || flags & 1 /* NoTruncation */;
|
50597
50597
|
const typeNode = nodeBuilder.typeToTypeNode(
|
50598
50598
|
type,
|
50599
50599
|
enclosingDeclaration,
|
@@ -439,7 +439,7 @@
|
|
439
439
|
"Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_dec_18036": "Impossible d'utiliser des éléments décoratifs de classe avec un identificateur privé static. Supprimez l'élément décoratif expérimental.",
|
440
440
|
"Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super_2855": "Le champ de classe « {0} » défini par la classe parente n’est pas accessible dans la classe enfant via super.",
|
441
441
|
"Class_name_cannot_be_0_2414": "Le nom de la classe ne peut pas être '{0}'.",
|
442
|
-
"
|
442
|
+
"Class_name_cannot_be_Object_when_targeting_ES5_and_above_with_module_0_2725": "Le nom de la classe ne peut pas être « Object » quand ES5 et ses versions ultérieures sont ciblées avec le module {0}.",
|
443
443
|
"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417": "Le côté statique de la classe '{0}' étend de manière incorrecte le côté statique de la classe de base '{1}'.",
|
444
444
|
"Classes_can_only_extend_a_single_class_1174": "Les classes ne peuvent étendre qu'une seule classe.",
|
445
445
|
"Classes_may_not_have_a_field_named_constructor_18006": "Les classes n'ont peut-être pas de champ nommé 'constructor'.",
|
@@ -439,7 +439,7 @@
|
|
439
439
|
"Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_dec_18036": "クラス デコレーターは、静的プライベート識別子と共に使用することはできません。試験段階のデコレーターを削除することをご検討ください。",
|
440
440
|
"Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super_2855": "親クラスによって定義されたクラス フィールド '{0}' は、super を介して子クラスでアクセスすることはできません。",
|
441
441
|
"Class_name_cannot_be_0_2414": "クラス名を '{0}' にすることはできません。",
|
442
|
-
"
|
442
|
+
"Class_name_cannot_be_Object_when_targeting_ES5_and_above_with_module_0_2725": "モジュール {0} で ES5 以降を対象とする場合、クラス名を 'Object' にすることはできません。",
|
443
443
|
"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417": "クラス側の静的な '{0}' が基底クラス側の静的な '{1}' を正しく拡張していません。",
|
444
444
|
"Classes_can_only_extend_a_single_class_1174": "クラスで拡張できるクラスは 1 つのみです。",
|
445
445
|
"Classes_may_not_have_a_field_named_constructor_18006": "クラスに 'constructor' という名前のフィールドを含めることはできません。",
|
@@ -439,7 +439,7 @@
|
|
439
439
|
"Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_dec_18036": "클래스 데코레이터는 정적 프라이빗 식별자와 함께 사용할 수 없습니다. 실험적 데코레이터를 제거하는 것이 좋습니다.",
|
440
440
|
"Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super_2855": "부모 클래스에서 정의한 '{0}' 클래스 필드는 super를 통해 자식 클래스에서 액세스할 수 없습니다.",
|
441
441
|
"Class_name_cannot_be_0_2414": "클래스 이름은 '{0}'일 수 없습니다.",
|
442
|
-
"
|
442
|
+
"Class_name_cannot_be_Object_when_targeting_ES5_and_above_with_module_0_2725": "{0} 모듈을 사용하는 ES5를 대상으로 하는 경우 클래스 이름은 'Object'일 수 없습니다.",
|
443
443
|
"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417": "클래스 정적 측면 '{0}'이(가) 기본 클래스 정적 측면 '{1}'을(를) 잘못 확장합니다.",
|
444
444
|
"Classes_can_only_extend_a_single_class_1174": "클래스는 단일 클래스만 확장할 수 있습니다.",
|
445
445
|
"Classes_may_not_have_a_field_named_constructor_18006": "클래스에는 'constructor' 필드를 사용할 수 없습니다.",
|
@@ -439,7 +439,7 @@
|
|
439
439
|
"Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_dec_18036": "Os decoradores de classe não podem ser usados com um identificador privado estático. Considere remover o decorador experimental.",
|
440
440
|
"Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super_2855": "O campo de classe '{0}' definido pela classe pai não está acessível na classe filho via super.",
|
441
441
|
"Class_name_cannot_be_0_2414": "O nome de classe não pode ser '{0}'.",
|
442
|
-
"
|
442
|
+
"Class_name_cannot_be_Object_when_targeting_ES5_and_above_with_module_0_2725": "O nome da classe não pode ser 'Object' ao direcionar para ES5 e superior com o módulo {0}.",
|
443
443
|
"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417": "O lado estático da classe '{0}' incorretamente estende o lado estático da classe base '{1}'.",
|
444
444
|
"Classes_can_only_extend_a_single_class_1174": "Classes só podem estender uma única classe.",
|
445
445
|
"Classes_may_not_have_a_field_named_constructor_18006": "Classes não podem ter um campo denominado 'constructor'.",
|
package/lib/typescript.js
CHANGED
@@ -2285,7 +2285,7 @@ module.exports = __toCommonJS(typescript_exports);
|
|
2285
2285
|
|
2286
2286
|
// src/compiler/corePublic.ts
|
2287
2287
|
var versionMajorMinor = "5.9";
|
2288
|
-
var version = `${versionMajorMinor}.0-dev.
|
2288
|
+
var version = `${versionMajorMinor}.0-dev.20250723`;
|
2289
2289
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
2290
2290
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
2291
2291
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
@@ -55204,7 +55204,7 @@ function createTypeChecker(host) {
|
|
55204
55204
|
}
|
55205
55205
|
}
|
55206
55206
|
function typeToString(type, enclosingDeclaration, flags = 1048576 /* AllowUniqueESSymbolType */ | 16384 /* UseAliasDefinedOutsideCurrentScope */, writer = createTextWriter(""), maximumLength, verbosityLevel, out) {
|
55207
|
-
const noTruncation = compilerOptions.noErrorTruncation || flags & 1 /* NoTruncation */;
|
55207
|
+
const noTruncation = !maximumLength && compilerOptions.noErrorTruncation || flags & 1 /* NoTruncation */;
|
55208
55208
|
const typeNode = nodeBuilder.typeToTypeNode(
|
55209
55209
|
type,
|
55210
55210
|
enclosingDeclaration,
|
@@ -439,7 +439,7 @@
|
|
439
439
|
"Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_dec_18036": "类修饰器不能与静态专用标识符一起使用。请考虑删除实验性修饰器。",
|
440
440
|
"Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super_2855": "父类定义的类字段“{0}”无法通过 super 在子类中访问。",
|
441
441
|
"Class_name_cannot_be_0_2414": "类名不能为“{0}”。",
|
442
|
-
"
|
442
|
+
"Class_name_cannot_be_Object_when_targeting_ES5_and_above_with_module_0_2725": "使用模块 {0} 将目标设置为 ES5 及更高版本时,类名不能为 \"Object\"。",
|
443
443
|
"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417": "类静态侧“{0}”错误扩展基类静态侧“{1}”。",
|
444
444
|
"Classes_can_only_extend_a_single_class_1174": "类只能扩展一个类。",
|
445
445
|
"Classes_may_not_have_a_field_named_constructor_18006": "类不能具有名为 \"constructor\" 的字段。",
|
@@ -439,7 +439,7 @@
|
|
439
439
|
"Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_dec_18036": "類別裝飾項目無法與靜態私人識別碼一起使用。請考慮移除實驗性裝飾項目。",
|
440
440
|
"Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super_2855": "父類別所定義的類別欄位 '{0}' 無法透過超級在子類別中存取。",
|
441
441
|
"Class_name_cannot_be_0_2414": "類別名稱不得為 '{0}'。",
|
442
|
-
"
|
442
|
+
"Class_name_cannot_be_Object_when_targeting_ES5_and_above_with_module_0_2725": "當目標為具有模組 {0} 的 ES5 和更新版本時,類別名稱不可為 'Object'。",
|
443
443
|
"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417": "類別靜態端 '{0}' 不正確地擴充基底類別靜態端 '{1}'。",
|
444
444
|
"Classes_can_only_extend_a_single_class_1174": "類別只能擴充一個類別。",
|
445
445
|
"Classes_may_not_have_a_field_named_constructor_18006": "類別不能具有名為 'constructor' 的欄位。",
|
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": "5.9.0-dev.
|
5
|
+
"version": "5.9.0-dev.20250723",
|
6
6
|
"license": "Apache-2.0",
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
8
8
|
"keywords": [
|
@@ -116,5 +116,5 @@
|
|
116
116
|
"node": "20.1.0",
|
117
117
|
"npm": "8.19.4"
|
118
118
|
},
|
119
|
-
"gitHead": "
|
119
|
+
"gitHead": "22ef57786f5ca99837c430439bc6003c068fe1d2"
|
120
120
|
}
|