typescript 4.9.0-dev.20220818 → 4.9.0-dev.20220819
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/.eslintcache +1 -0
- package/lib/cs/diagnosticMessages.generated.json +1 -1
- package/lib/de/diagnosticMessages.generated.json +1 -1
- package/lib/lib.es2020.intl.d.ts +1 -1
- package/lib/tsc.js +428 -436
- package/lib/tsserver.js +448 -458
- package/lib/tsserverlibrary.js +448 -458
- package/lib/typescript.js +448 -458
- package/lib/typescriptServices.js +448 -458
- package/lib/typingsInstaller.js +448 -458
- package/lib/zh-cn/diagnosticMessages.generated.json +7 -7
- package/package.json +1 -3
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"A_0_modifier_cannot_be_used_with_an_import_declaration_1079": "“{0}”修饰符不能与导入声明一起使用。",
|
|
4
4
|
"A_0_parameter_must_be_the_first_parameter_2680": "“{0}”参数必须是第一个参数。",
|
|
5
5
|
"A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags_8033": "JSDoc \"@typedef\" 注释不能包含多个 \"@type\" 标记。",
|
|
6
|
-
"A_bigint_literal_cannot_use_exponential_notation_1352": "
|
|
7
|
-
"A_bigint_literal_must_be_an_integer_1353": "
|
|
6
|
+
"A_bigint_literal_cannot_use_exponential_notation_1352": "BigInt 字面量中不能使用指数符号。",
|
|
7
|
+
"A_bigint_literal_must_be_an_integer_1353": "BigInt 字面量必须是整数。",
|
|
8
8
|
"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463": "绑定模式参数在实现签名中不能为可选参数。",
|
|
9
9
|
"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105": "\"break\" 语句只能在封闭迭代或 switch 语句内使用。",
|
|
10
10
|
"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116": "\"break\" 语句只能跳转到封闭语句的标签。",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165": "环境上下文中的计算属性名称必须引用类型为文本类型或 \"unique symbol\" 类型的表达式。",
|
|
21
21
|
"A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169": "接口中的计算属性名称必须引用必须引用类型为文本类型或 \"unique symbol\" 的表达式。",
|
|
22
22
|
"A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464": "计算属性名的类型必须为 \"string\"、\"number\"、\"symbol\" 或 \"any\"。",
|
|
23
|
-
"A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355": "
|
|
23
|
+
"A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355": "'const' 断言只能作用于枚举成员、字符串、数字、布尔值、数组或对象字面量。",
|
|
24
24
|
"A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476": "只有使用字符串文本才能访问常数枚举成员。",
|
|
25
25
|
"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254": "环境上下文中的 \"const\" 初始化表达式必须为字符串、数字文本或文本枚举引用。",
|
|
26
26
|
"A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005": "当构造函数的类扩展 \"null\" 时,它不能包含 \"super\" 调用。",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711": "动态导入调用返回 “Promise”。请确保具有对 “Promise” 的声明或在 “--lib” 选项中包含了 “ES2015”。",
|
|
39
39
|
"A_file_cannot_have_a_reference_to_itself_1006": "文件不能引用自身。",
|
|
40
40
|
"A_function_returning_never_cannot_have_a_reachable_end_point_2534": "返回“从不”的函数不能具有可访问的终结点。",
|
|
41
|
-
"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679": "使用
|
|
41
|
+
"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679": "使用 'new' 关键字调用的函数的 'this' 类型不能为 'void'。",
|
|
42
42
|
"A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value_2355": "其声明类型不为 \"void\" 或 \"any\" 的函数必须返回值。",
|
|
43
43
|
"A_generator_cannot_have_a_void_type_annotation_2505": "生成器不能具有 \"void\" 类型批注。",
|
|
44
44
|
"A_get_accessor_cannot_have_parameters_1054": "\"get\" 访问器不能具有参数。",
|
|
@@ -57,13 +57,13 @@
|
|
|
57
57
|
"A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module_1235": "命名空间声明只允许位于命名空间或模块的顶层。",
|
|
58
58
|
"A_non_dry_build_would_build_project_0_6357": "非 -dry 生成将生成项目“{0}”",
|
|
59
59
|
"A_non_dry_build_would_delete_the_following_files_Colon_0_6356": "非 -dry 生成将删除以下文件: {0}",
|
|
60
|
-
"A_non_dry_build_would_update_output_of_project_0_6375": "
|
|
61
|
-
"A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374": "
|
|
60
|
+
"A_non_dry_build_would_update_output_of_project_0_6375": "非 dry 生成将更新项目 '{0}' 的输出",
|
|
61
|
+
"A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374": "非 dry 生成将更新项目 '{0}' 的输出的时间戳",
|
|
62
62
|
"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371": "只允许在函数或构造函数实现中使用参数初始化表达式。",
|
|
63
63
|
"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317": "不能使用 rest 参数声明参数属性。",
|
|
64
64
|
"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369": "只允许在构造函数实现中使用参数属性。",
|
|
65
65
|
"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187": "不能使用绑定模式声明参数属性。",
|
|
66
|
-
"A_promise_must_have_a_then_method_1059": "
|
|
66
|
+
"A_promise_must_have_a_then_method_1059": "'Promise' 必须具有 'then' 方法。",
|
|
67
67
|
"A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331": "类型为 \"unique symbol\" 的类的属性必须同时为 \"static\" 和 \"readonly\"。",
|
|
68
68
|
"A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330": "类型为 \"unique symbol\" 的接口或类型文本的属性必须为 \"readonly\"。",
|
|
69
69
|
"A_required_element_cannot_follow_an_optional_element_1257": "必选元素不能位于可选元素后。",
|
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.
|
|
5
|
+
"version": "4.9.0-dev.20220819",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|
|
@@ -108,8 +108,6 @@
|
|
|
108
108
|
"gulp": "gulp",
|
|
109
109
|
"lint": "gulp lint",
|
|
110
110
|
"lint:ci": "gulp lint --ci",
|
|
111
|
-
"lint:compiler": "gulp lint-compiler",
|
|
112
|
-
"lint:scripts": "gulp lint-scripts",
|
|
113
111
|
"setup-hooks": "node scripts/link-hooks.js"
|
|
114
112
|
},
|
|
115
113
|
"browser": {
|