Skip to content

Commit f0e9921

Browse files
Bump version to 5.5.3 and LKG
1 parent 738bd60 commit f0e9921

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

Diff for: lib/tsc.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ and limitations under the License.
1818

1919
// src/compiler/corePublic.ts
2020
var versionMajorMinor = "5.5";
21-
var version = "5.5.2";
21+
var version = "5.5.3";
2222

2323
// src/compiler/core.ts
2424
var emptyArray = [];
@@ -48048,7 +48048,7 @@ function createTypeChecker(host) {
4804848048
}
4804948049
if (moduleResolutionKind === 3 /* Node16 */ || moduleResolutionKind === 99 /* NodeNext */) {
4805048050
const isSyncImport = currentSourceFile.impliedNodeFormat === 1 /* CommonJS */ && !findAncestor(location, isImportCall) || !!findAncestor(location, isImportEqualsDeclaration);
48051-
const overrideHost = findAncestor(location, (l) => isImportTypeNode(l) || isExportDeclaration(l) || isImportDeclaration(l));
48051+
const overrideHost = findAncestor(location, (l) => isImportTypeNode(l) || isExportDeclaration(l) || isImportDeclaration(l) || isJSDocImportTag(l));
4805248052
if (isSyncImport && sourceFile.impliedNodeFormat === 99 /* ESNext */ && !hasResolutionModeOverride(overrideHost)) {
4805348053
if (findAncestor(location, isImportEqualsDeclaration)) {
4805448054
error(errorNode, Diagnostics.Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead, moduleReference);
@@ -118604,7 +118604,7 @@ function getModeForUsageLocation(file, usage, compilerOptions) {
118604118604
}
118605118605
function getModeForUsageLocationWorker(file, usage, compilerOptions) {
118606118606
var _a;
118607-
if (isImportDeclaration(usage.parent) || isExportDeclaration(usage.parent)) {
118607+
if (isImportDeclaration(usage.parent) || isExportDeclaration(usage.parent) || isJSDocImportTag(usage.parent)) {
118608118608
const isTypeOnly = isExclusivelyTypeOnlyImportOrExport(usage.parent);
118609118609
if (isTypeOnly) {
118610118610
const override = getResolutionModeOverride(usage.parent.attributes);

Diff for: lib/typescript.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -2366,7 +2366,7 @@ module.exports = __toCommonJS(typescript_exports);
23662366

23672367
// src/compiler/corePublic.ts
23682368
var versionMajorMinor = "5.5";
2369-
var version = "5.5.2";
2369+
var version = "5.5.3";
23702370
var Comparison = /* @__PURE__ */ ((Comparison3) => {
23712371
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
23722372
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -52812,7 +52812,7 @@ function createTypeChecker(host) {
5281252812
}
5281352813
if (moduleResolutionKind === 3 /* Node16 */ || moduleResolutionKind === 99 /* NodeNext */) {
5281452814
const isSyncImport = currentSourceFile.impliedNodeFormat === 1 /* CommonJS */ && !findAncestor(location, isImportCall) || !!findAncestor(location, isImportEqualsDeclaration);
52815-
const overrideHost = findAncestor(location, (l) => isImportTypeNode(l) || isExportDeclaration(l) || isImportDeclaration(l));
52815+
const overrideHost = findAncestor(location, (l) => isImportTypeNode(l) || isExportDeclaration(l) || isImportDeclaration(l) || isJSDocImportTag(l));
5281652816
if (isSyncImport && sourceFile.impliedNodeFormat === 99 /* ESNext */ && !hasResolutionModeOverride(overrideHost)) {
5281752817
if (findAncestor(location, isImportEqualsDeclaration)) {
5281852818
error2(errorNode, Diagnostics.Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead, moduleReference);
@@ -123600,7 +123600,7 @@ function getModeForUsageLocation(file, usage, compilerOptions) {
123600123600
}
123601123601
function getModeForUsageLocationWorker(file, usage, compilerOptions) {
123602123602
var _a;
123603-
if (isImportDeclaration(usage.parent) || isExportDeclaration(usage.parent)) {
123603+
if (isImportDeclaration(usage.parent) || isExportDeclaration(usage.parent) || isJSDocImportTag(usage.parent)) {
123604123604
const isTypeOnly = isExclusivelyTypeOnlyImportOrExport(usage.parent);
123605123605
if (isTypeOnly) {
123606123606
const override = getResolutionModeOverride(usage.parent.attributes);

Diff for: package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "typescript",
33
"author": "Microsoft Corp.",
44
"homepage": "https://www.typescriptlang.org/",
5-
"version": "5.5.2",
5+
"version": "5.5.3",
66
"license": "Apache-2.0",
77
"description": "TypeScript is a language for application scale JavaScript development",
88
"keywords": [

Diff for: src/compiler/corePublic.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
export const versionMajorMinor = "5.5";
44
// The following is baselined as a literal template type without intervention
55
/** The version of the TypeScript compiler release */
6-
export const version = "5.5.2" as string;
6+
export const version = "5.5.3" as string;
77

88
/**
99
* Type of objects whose values are all of the same type.

0 commit comments

Comments
 (0)