typescript 5.2.0-dev.20230606 → 5.2.0-dev.20230607

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.
@@ -54,7 +54,7 @@ var path = __toESM(require("path"));
54
54
 
55
55
  // src/compiler/corePublic.ts
56
56
  var versionMajorMinor = "5.2";
57
- var version = `${versionMajorMinor}.0-dev.20230606`;
57
+ var version = `${versionMajorMinor}.0-dev.20230607`;
58
58
 
59
59
  // src/compiler/core.ts
60
60
  var emptyArray = [];
@@ -1141,6 +1141,15 @@ Node ${formatSyntaxKind(node.kind)} was unexpected.`,
1141
1141
  );
1142
1142
  }
1143
1143
  Debug2.formatSnippetKind = formatSnippetKind;
1144
+ function formatScriptKind(kind) {
1145
+ return formatEnum(
1146
+ kind,
1147
+ ScriptKind,
1148
+ /*isFlags*/
1149
+ false
1150
+ );
1151
+ }
1152
+ Debug2.formatScriptKind = formatScriptKind;
1144
1153
  function formatNodeFlags(flags) {
1145
1154
  return formatEnum(
1146
1155
  flags,
@@ -3200,6 +3209,17 @@ var ModuleResolutionKind = /* @__PURE__ */ ((ModuleResolutionKind2) => {
3200
3209
  ModuleResolutionKind2[ModuleResolutionKind2["Bundler"] = 100] = "Bundler";
3201
3210
  return ModuleResolutionKind2;
3202
3211
  })(ModuleResolutionKind || {});
3212
+ var ScriptKind = /* @__PURE__ */ ((ScriptKind3) => {
3213
+ ScriptKind3[ScriptKind3["Unknown"] = 0] = "Unknown";
3214
+ ScriptKind3[ScriptKind3["JS"] = 1] = "JS";
3215
+ ScriptKind3[ScriptKind3["JSX"] = 2] = "JSX";
3216
+ ScriptKind3[ScriptKind3["TS"] = 3] = "TS";
3217
+ ScriptKind3[ScriptKind3["TSX"] = 4] = "TSX";
3218
+ ScriptKind3[ScriptKind3["External"] = 5] = "External";
3219
+ ScriptKind3[ScriptKind3["JSON"] = 6] = "JSON";
3220
+ ScriptKind3[ScriptKind3["Deferred"] = 7] = "Deferred";
3221
+ return ScriptKind3;
3222
+ })(ScriptKind || {});
3203
3223
  var TransformFlags = /* @__PURE__ */ ((TransformFlags3) => {
3204
3224
  TransformFlags3[TransformFlags3["None"] = 0] = "None";
3205
3225
  TransformFlags3[TransformFlags3["ContainsTypeScript"] = 1] = "ContainsTypeScript";
@@ -7082,6 +7102,7 @@ var Diagnostics = {
7082
7102
  Use_import_type: diag(95180, 3 /* Message */, "Use_import_type_95180", "Use 'import type'"),
7083
7103
  Use_type_0: diag(95181, 3 /* Message */, "Use_type_0_95181", "Use 'type {0}'"),
7084
7104
  Fix_all_with_type_only_imports: diag(95182, 3 /* Message */, "Fix_all_with_type_only_imports_95182", "Fix all with type-only imports"),
7105
+ Cannot_move_statements_to_the_selected_file: diag(95183, 3 /* Message */, "Cannot_move_statements_to_the_selected_file_95183", "Cannot move statements to the selected file"),
7085
7106
  No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer: diag(18004, 1 /* Error */, "No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer_18004", "No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer."),
7086
7107
  Classes_may_not_have_a_field_named_constructor: diag(18006, 1 /* Error */, "Classes_may_not_have_a_field_named_constructor_18006", "Classes may not have a field named 'constructor'."),
7087
7108
  JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array: diag(18007, 1 /* Error */, "JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array_18007", "JSX expressions may not use the comma operator. Did you mean to write an array?"),
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.2.0-dev.20230606",
5
+ "version": "5.2.0-dev.20230607",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [
@@ -114,5 +114,5 @@
114
114
  "node": "20.1.0",
115
115
  "npm": "8.19.4"
116
116
  },
117
- "gitHead": "324e61e4519d010f2dd929b88fe3e9eedcfc5d44"
117
+ "gitHead": "fbd63e9e43dc4e64184b590fa156002a7be6d47e"
118
118
  }