typescript 5.5.0-dev.20240225 → 5.5.0-dev.20240227
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 +3 -3
- package/lib/tsserver.js +5 -5
- package/lib/typescript.js +5 -5
- package/lib/typingsInstaller.js +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.5";
|
|
21
|
-
var version = `${versionMajorMinor}.0-dev.
|
|
21
|
+
var version = `${versionMajorMinor}.0-dev.20240227`;
|
|
22
22
|
|
|
23
23
|
// src/compiler/core.ts
|
|
24
24
|
var emptyArray = [];
|
|
@@ -111057,8 +111057,8 @@ function emitFiles(resolver, host, targetSourceFile, { scriptTransformers, decla
|
|
|
111057
111057
|
removeComments: compilerOptions.removeComments,
|
|
111058
111058
|
newLine: compilerOptions.newLine,
|
|
111059
111059
|
noEmitHelpers: compilerOptions.noEmitHelpers,
|
|
111060
|
-
module: compilerOptions
|
|
111061
|
-
target: compilerOptions
|
|
111060
|
+
module: getEmitModuleKind(compilerOptions),
|
|
111061
|
+
target: getEmitScriptTarget(compilerOptions),
|
|
111062
111062
|
sourceMap: compilerOptions.sourceMap,
|
|
111063
111063
|
inlineSourceMap: compilerOptions.inlineSourceMap,
|
|
111064
111064
|
inlineSources: compilerOptions.inlineSources,
|
package/lib/tsserver.js
CHANGED
|
@@ -2341,7 +2341,7 @@ module.exports = __toCommonJS(server_exports);
|
|
|
2341
2341
|
|
|
2342
2342
|
// src/compiler/corePublic.ts
|
|
2343
2343
|
var versionMajorMinor = "5.5";
|
|
2344
|
-
var version = `${versionMajorMinor}.0-dev.
|
|
2344
|
+
var version = `${versionMajorMinor}.0-dev.20240227`;
|
|
2345
2345
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
2346
2346
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
2347
2347
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -115984,8 +115984,8 @@ function emitFiles(resolver, host, targetSourceFile, { scriptTransformers, decla
|
|
|
115984
115984
|
removeComments: compilerOptions.removeComments,
|
|
115985
115985
|
newLine: compilerOptions.newLine,
|
|
115986
115986
|
noEmitHelpers: compilerOptions.noEmitHelpers,
|
|
115987
|
-
module: compilerOptions
|
|
115988
|
-
target: compilerOptions
|
|
115987
|
+
module: getEmitModuleKind(compilerOptions),
|
|
115988
|
+
target: getEmitScriptTarget(compilerOptions),
|
|
115989
115989
|
sourceMap: compilerOptions.sourceMap,
|
|
115990
115990
|
inlineSourceMap: compilerOptions.inlineSourceMap,
|
|
115991
115991
|
inlineSources: compilerOptions.inlineSources,
|
|
@@ -162684,7 +162684,7 @@ function toUpperCharCode(charCode) {
|
|
|
162684
162684
|
return charCode;
|
|
162685
162685
|
}
|
|
162686
162686
|
function isContextualKeywordInAutoImportableExpressionSpace(keyword) {
|
|
162687
|
-
return keyword === "abstract" || keyword === "async" || keyword === "await" || keyword === "declare" || keyword === "module" || keyword === "namespace" || keyword === "type";
|
|
162687
|
+
return keyword === "abstract" || keyword === "async" || keyword === "await" || keyword === "declare" || keyword === "module" || keyword === "namespace" || keyword === "type" || keyword === "satisfies" || keyword === "as";
|
|
162688
162688
|
}
|
|
162689
162689
|
|
|
162690
162690
|
// src/services/_namespaces/ts.Completions.StringCompletions.ts
|
|
@@ -166826,7 +166826,7 @@ function provideInlayHints(context) {
|
|
|
166826
166826
|
return false;
|
|
166827
166827
|
}
|
|
166828
166828
|
function leadingCommentsContainsParameterName(node, name) {
|
|
166829
|
-
if (!isIdentifierText(name, compilerOptions
|
|
166829
|
+
if (!isIdentifierText(name, getEmitScriptTarget(compilerOptions), getLanguageVariant(file.scriptKind))) {
|
|
166830
166830
|
return false;
|
|
166831
166831
|
}
|
|
166832
166832
|
const ranges = getLeadingCommentRanges(sourceFileText, node.pos);
|
package/lib/typescript.js
CHANGED
|
@@ -35,7 +35,7 @@ var ts = (() => {
|
|
|
35
35
|
"src/compiler/corePublic.ts"() {
|
|
36
36
|
"use strict";
|
|
37
37
|
versionMajorMinor = "5.5";
|
|
38
|
-
version = `${versionMajorMinor}.0-dev.
|
|
38
|
+
version = `${versionMajorMinor}.0-dev.20240227`;
|
|
39
39
|
Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
40
40
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
41
41
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -114064,8 +114064,8 @@ ${lanes.join("\n")}
|
|
|
114064
114064
|
removeComments: compilerOptions.removeComments,
|
|
114065
114065
|
newLine: compilerOptions.newLine,
|
|
114066
114066
|
noEmitHelpers: compilerOptions.noEmitHelpers,
|
|
114067
|
-
module: compilerOptions
|
|
114068
|
-
target: compilerOptions
|
|
114067
|
+
module: getEmitModuleKind(compilerOptions),
|
|
114068
|
+
target: getEmitScriptTarget(compilerOptions),
|
|
114069
114069
|
sourceMap: compilerOptions.sourceMap,
|
|
114070
114070
|
inlineSourceMap: compilerOptions.inlineSourceMap,
|
|
114071
114071
|
inlineSources: compilerOptions.inlineSources,
|
|
@@ -161884,7 +161884,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
|
|
|
161884
161884
|
return charCode;
|
|
161885
161885
|
}
|
|
161886
161886
|
function isContextualKeywordInAutoImportableExpressionSpace(keyword) {
|
|
161887
|
-
return keyword === "abstract" || keyword === "async" || keyword === "await" || keyword === "declare" || keyword === "module" || keyword === "namespace" || keyword === "type";
|
|
161887
|
+
return keyword === "abstract" || keyword === "async" || keyword === "await" || keyword === "declare" || keyword === "module" || keyword === "namespace" || keyword === "type" || keyword === "satisfies" || keyword === "as";
|
|
161888
161888
|
}
|
|
161889
161889
|
var moduleSpecifierResolutionLimit, moduleSpecifierResolutionCacheAttemptLimit, SortText, CompletionSource, SymbolOriginInfoKind, CompletionKind, _keywordCompletions, allKeywordsCompletions;
|
|
161890
161890
|
var init_completions = __esm({
|
|
@@ -166171,7 +166171,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
|
|
|
166171
166171
|
return false;
|
|
166172
166172
|
}
|
|
166173
166173
|
function leadingCommentsContainsParameterName(node, name) {
|
|
166174
|
-
if (!isIdentifierText(name, compilerOptions
|
|
166174
|
+
if (!isIdentifierText(name, getEmitScriptTarget(compilerOptions), getLanguageVariant(file.scriptKind))) {
|
|
166175
166175
|
return false;
|
|
166176
166176
|
}
|
|
166177
166177
|
const ranges = getLeadingCommentRanges(sourceFileText, node.pos);
|
package/lib/typingsInstaller.js
CHANGED
|
@@ -54,7 +54,7 @@ var path = __toESM(require("path"));
|
|
|
54
54
|
|
|
55
55
|
// src/compiler/corePublic.ts
|
|
56
56
|
var versionMajorMinor = "5.5";
|
|
57
|
-
var version = `${versionMajorMinor}.0-dev.
|
|
57
|
+
var version = `${versionMajorMinor}.0-dev.20240227`;
|
|
58
58
|
|
|
59
59
|
// src/compiler/core.ts
|
|
60
60
|
var emptyArray = [];
|
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.5.0-dev.
|
|
5
|
+
"version": "5.5.0-dev.20240227",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|
|
@@ -113,5 +113,5 @@
|
|
|
113
113
|
"node": "20.1.0",
|
|
114
114
|
"npm": "8.19.4"
|
|
115
115
|
},
|
|
116
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "a77370342dcdbd9273fe1716390d90a9b0d88fcc"
|
|
117
117
|
}
|