typescript 5.6.0-dev.20240724 → 5.6.0-dev.20240725

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 CHANGED
@@ -18,7 +18,7 @@ and limitations under the License.
18
18
 
19
19
  // src/compiler/corePublic.ts
20
20
  var versionMajorMinor = "5.6";
21
- var version = `${versionMajorMinor}.0-dev.20240724`;
21
+ var version = `${versionMajorMinor}.0-dev.20240725`;
22
22
 
23
23
  // src/compiler/core.ts
24
24
  var emptyArray = [];
package/lib/typescript.js CHANGED
@@ -2259,7 +2259,7 @@ module.exports = __toCommonJS(typescript_exports);
2259
2259
 
2260
2260
  // src/compiler/corePublic.ts
2261
2261
  var versionMajorMinor = "5.6";
2262
- var version = `${versionMajorMinor}.0-dev.20240724`;
2262
+ var version = `${versionMajorMinor}.0-dev.20240725`;
2263
2263
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
2264
2264
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
2265
2265
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -157350,7 +157350,7 @@ function getInfo10(sourceFile, tokenPos, errorCode, checker, program) {
157350
157350
  const moduleDeclaration = find(symbol.declarations, isModuleDeclaration);
157351
157351
  const moduleDeclarationSourceFile = moduleDeclaration == null ? void 0 : moduleDeclaration.getSourceFile();
157352
157352
  if (moduleDeclaration && moduleDeclarationSourceFile && !isSourceFileFromLibrary(program, moduleDeclarationSourceFile)) {
157353
- return { kind: 2 /* Function */, token, call: parent2.parent, sourceFile, modifierFlags: 32 /* Export */, parentDeclaration: moduleDeclaration };
157353
+ return { kind: 2 /* Function */, token, call: parent2.parent, sourceFile: moduleDeclarationSourceFile, modifierFlags: 32 /* Export */, parentDeclaration: moduleDeclaration };
157354
157354
  }
157355
157355
  const moduleSourceFile = find(symbol.declarations, isSourceFile);
157356
157356
  if (sourceFile.commonJsModuleIndicator) return void 0;
@@ -191367,42 +191367,12 @@ Project '${project.projectName}' (${ProjectKind[project.projectKind]}) ${counter
191367
191367
  const prefix = args.prefix || "";
191368
191368
  const entries = mapDefined(completions.entries, (entry) => {
191369
191369
  if (completions.isMemberCompletion || startsWith(entry.name.toLowerCase(), prefix.toLowerCase())) {
191370
- const {
191371
- name,
191372
- kind: kind2,
191373
- kindModifiers,
191374
- sortText,
191375
- insertText,
191376
- filterText,
191377
- replacementSpan,
191378
- hasAction,
191379
- source,
191380
- sourceDisplay,
191381
- labelDetails,
191382
- isSnippet,
191383
- isRecommended,
191384
- isPackageJsonImport,
191385
- isImportStatementCompletion,
191386
- data
191387
- } = entry;
191388
- const convertedSpan = replacementSpan ? toProtocolTextSpan(replacementSpan, scriptInfo) : void 0;
191370
+ const convertedSpan = entry.replacementSpan ? toProtocolTextSpan(entry.replacementSpan, scriptInfo) : void 0;
191389
191371
  return {
191390
- name,
191391
- kind: kind2,
191392
- kindModifiers,
191393
- sortText,
191394
- insertText,
191395
- filterText,
191372
+ ...entry,
191396
191373
  replacementSpan: convertedSpan,
191397
- isSnippet,
191398
- hasAction: hasAction || void 0,
191399
- source,
191400
- sourceDisplay,
191401
- labelDetails,
191402
- isRecommended,
191403
- isPackageJsonImport,
191404
- isImportStatementCompletion,
191405
- data
191374
+ hasAction: entry.hasAction || void 0,
191375
+ symbol: void 0
191406
191376
  };
191407
191377
  }
191408
191378
  });
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.6.0-dev.20240724",
5
+ "version": "5.6.0-dev.20240725",
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": "3f6f3164d6b8226953490bb43fd1ae5a7aa99fa4"
117
+ "gitHead": "7319968e90600102892a79142fb804bcbe384160"
118
118
  }