typescript 4.9.0-dev.20220902 → 4.9.0-dev.20220905
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 +17 -28
- package/lib/tsserver.js +17 -29
- package/lib/tsserverlibrary.js +17 -29
- package/lib/typescript.js +17 -29
- package/lib/typescriptServices.js +17 -29
- package/lib/typingsInstaller.js +17 -29
- package/package.json +1 -1
package/lib/tsc.js
CHANGED
|
@@ -69,7 +69,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
69
69
|
var ts;
|
|
70
70
|
(function (ts) {
|
|
71
71
|
ts.versionMajorMinor = "4.9";
|
|
72
|
-
ts.version = "".concat(ts.versionMajorMinor, ".0-dev.
|
|
72
|
+
ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20220905");
|
|
73
73
|
var NativeCollections;
|
|
74
74
|
(function (NativeCollections) {
|
|
75
75
|
var globals = typeof globalThis !== "undefined" ? globalThis :
|
|
@@ -60223,7 +60223,7 @@ var ts;
|
|
|
60223
60223
|
}
|
|
60224
60224
|
function narrowByInKeyword(type, name, assumeTrue) {
|
|
60225
60225
|
if (type.flags & 1048576
|
|
60226
|
-
|| type.flags & 524288 && declaredType !== type
|
|
60226
|
+
|| type.flags & 524288 && declaredType !== type && !(declaredType === unknownType && isEmptyAnonymousObjectType(type))
|
|
60227
60227
|
|| ts.isThisTypeParameter(type)
|
|
60228
60228
|
|| type.flags & 2097152 && ts.every(type.types, function (t) { return t.symbol !== globalThisSymbol; })) {
|
|
60229
60229
|
return filterType(type, function (t) { return isTypePresencePossible(t, name, assumeTrue); });
|
|
@@ -60343,14 +60343,18 @@ var ts;
|
|
|
60343
60343
|
assumeTrue = !assumeTrue;
|
|
60344
60344
|
}
|
|
60345
60345
|
var valueType = getTypeOfExpression(value);
|
|
60346
|
-
if ((type.flags & 2)
|
|
60346
|
+
if (((type.flags & 2) || isEmptyAnonymousObjectType(type) && !(valueType.flags & 98304)) &&
|
|
60347
|
+
assumeTrue &&
|
|
60348
|
+
(operator === 36 || operator === 37)) {
|
|
60347
60349
|
if (valueType.flags & (131068 | 67108864)) {
|
|
60348
60350
|
return valueType;
|
|
60349
60351
|
}
|
|
60350
60352
|
if (valueType.flags & 524288) {
|
|
60351
60353
|
return nonPrimitiveType;
|
|
60352
60354
|
}
|
|
60353
|
-
|
|
60355
|
+
if (type.flags & 2) {
|
|
60356
|
+
return type;
|
|
60357
|
+
}
|
|
60354
60358
|
}
|
|
60355
60359
|
if (valueType.flags & 98304) {
|
|
60356
60360
|
if (!strictNullChecks) {
|
|
@@ -99901,10 +99905,12 @@ var ts;
|
|
|
99901
99905
|
if (options.preserveConstEnums === false) {
|
|
99902
99906
|
createDiagnosticForOptionName(ts.Diagnostics.Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled, "preserveConstEnums", "isolatedModules");
|
|
99903
99907
|
}
|
|
99904
|
-
var
|
|
99905
|
-
|
|
99906
|
-
|
|
99907
|
-
|
|
99908
|
+
for (var _a = 0, files_5 = files; _a < files_5.length; _a++) {
|
|
99909
|
+
var file = files_5[_a];
|
|
99910
|
+
if (!ts.isExternalModule(file) && !ts.isSourceFileJS(file) && !file.isDeclarationFile && file.scriptKind !== 6) {
|
|
99911
|
+
var span = ts.getErrorSpanForNode(file, file);
|
|
99912
|
+
programDiagnostics.add(ts.createFileDiagnostic(file, span.start, span.length, ts.Diagnostics._0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_import_export_or_an_empty_export_statement_to_make_it_a_module, ts.getBaseFileName(file.fileName)));
|
|
99913
|
+
}
|
|
99908
99914
|
}
|
|
99909
99915
|
}
|
|
99910
99916
|
else if (firstNonAmbientExternalModuleSourceFile && languageVersion < 2 && options.module === ts.ModuleKind.None) {
|
|
@@ -105889,9 +105895,7 @@ var ts;
|
|
|
105889
105895
|
}
|
|
105890
105896
|
}
|
|
105891
105897
|
}
|
|
105892
|
-
var seenRefs = buildInfoPath ? new ts.Set() : undefined;
|
|
105893
105898
|
var buildInfoCacheEntry = state.buildInfoCache.get(resolvedPath);
|
|
105894
|
-
seenRefs === null || seenRefs === void 0 ? void 0 : seenRefs.add(resolvedPath);
|
|
105895
105899
|
var pseudoUpToDate = false;
|
|
105896
105900
|
var usesPrepend = false;
|
|
105897
105901
|
var upstreamChangedProject;
|
|
@@ -105902,7 +105906,7 @@ var ts;
|
|
|
105902
105906
|
if (refStatus.newestInputFileTime && refStatus.newestInputFileTime <= oldestOutputFileTime) {
|
|
105903
105907
|
continue;
|
|
105904
105908
|
}
|
|
105905
|
-
if (buildInfoCacheEntry && hasSameBuildInfo(state, buildInfoCacheEntry,
|
|
105909
|
+
if (buildInfoCacheEntry && hasSameBuildInfo(state, buildInfoCacheEntry, resolvedRefPath)) {
|
|
105906
105910
|
return {
|
|
105907
105911
|
type: ts.UpToDateStatusType.OutOfDateWithUpstream,
|
|
105908
105912
|
outOfDateOutputFileName: buildInfoPath,
|
|
@@ -105953,24 +105957,9 @@ var ts;
|
|
|
105953
105957
|
oldestOutputFileName: oldestOutputFileName
|
|
105954
105958
|
};
|
|
105955
105959
|
}
|
|
105956
|
-
function hasSameBuildInfo(state, buildInfoCacheEntry,
|
|
105957
|
-
if (seenRefs.has(resolvedRefPath))
|
|
105958
|
-
return false;
|
|
105959
|
-
seenRefs.add(resolvedRefPath);
|
|
105960
|
+
function hasSameBuildInfo(state, buildInfoCacheEntry, resolvedRefPath) {
|
|
105960
105961
|
var refBuildInfo = state.buildInfoCache.get(resolvedRefPath);
|
|
105961
|
-
|
|
105962
|
-
return true;
|
|
105963
|
-
if (resolvedConfig.projectReferences) {
|
|
105964
|
-
for (var _i = 0, _a = resolvedConfig.projectReferences; _i < _a.length; _i++) {
|
|
105965
|
-
var ref = _a[_i];
|
|
105966
|
-
var resolvedRef = ts.resolveProjectReferencePath(ref);
|
|
105967
|
-
var resolvedRefPath_1 = toResolvedConfigFilePath(state, resolvedRef);
|
|
105968
|
-
var resolvedConfig_1 = parseConfigFile(state, resolvedRef, resolvedRefPath_1);
|
|
105969
|
-
if (hasSameBuildInfo(state, buildInfoCacheEntry, seenRefs, resolvedConfig_1, resolvedRefPath_1))
|
|
105970
|
-
return true;
|
|
105971
|
-
}
|
|
105972
|
-
}
|
|
105973
|
-
return false;
|
|
105962
|
+
return refBuildInfo.path === buildInfoCacheEntry.path;
|
|
105974
105963
|
}
|
|
105975
105964
|
function getUpToDateStatus(state, project, resolvedPath) {
|
|
105976
105965
|
if (project === undefined) {
|
package/lib/tsserver.js
CHANGED
|
@@ -109,7 +109,7 @@ var ts;
|
|
|
109
109
|
// The following is baselined as a literal template type without intervention
|
|
110
110
|
/** The version of the TypeScript compiler release */
|
|
111
111
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
112
|
-
ts.version = "".concat(ts.versionMajorMinor, ".0-dev.
|
|
112
|
+
ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20220905");
|
|
113
113
|
/* @internal */
|
|
114
114
|
var Comparison;
|
|
115
115
|
(function (Comparison) {
|
|
@@ -71968,7 +71968,7 @@ var ts;
|
|
|
71968
71968
|
}
|
|
71969
71969
|
function narrowByInKeyword(type, name, assumeTrue) {
|
|
71970
71970
|
if (type.flags & 1048576 /* TypeFlags.Union */
|
|
71971
|
-
|| type.flags & 524288 /* TypeFlags.Object */ && declaredType !== type
|
|
71971
|
+
|| type.flags & 524288 /* TypeFlags.Object */ && declaredType !== type && !(declaredType === unknownType && isEmptyAnonymousObjectType(type))
|
|
71972
71972
|
|| ts.isThisTypeParameter(type)
|
|
71973
71973
|
|| type.flags & 2097152 /* TypeFlags.Intersection */ && ts.every(type.types, function (t) { return t.symbol !== globalThisSymbol; })) {
|
|
71974
71974
|
return filterType(type, function (t) { return isTypePresencePossible(t, name, assumeTrue); });
|
|
@@ -72101,14 +72101,18 @@ var ts;
|
|
|
72101
72101
|
assumeTrue = !assumeTrue;
|
|
72102
72102
|
}
|
|
72103
72103
|
var valueType = getTypeOfExpression(value);
|
|
72104
|
-
if ((type.flags & 2 /* TypeFlags.Unknown */)
|
|
72104
|
+
if (((type.flags & 2 /* TypeFlags.Unknown */) || isEmptyAnonymousObjectType(type) && !(valueType.flags & 98304 /* TypeFlags.Nullable */)) &&
|
|
72105
|
+
assumeTrue &&
|
|
72106
|
+
(operator === 36 /* SyntaxKind.EqualsEqualsEqualsToken */ || operator === 37 /* SyntaxKind.ExclamationEqualsEqualsToken */)) {
|
|
72105
72107
|
if (valueType.flags & (131068 /* TypeFlags.Primitive */ | 67108864 /* TypeFlags.NonPrimitive */)) {
|
|
72106
72108
|
return valueType;
|
|
72107
72109
|
}
|
|
72108
72110
|
if (valueType.flags & 524288 /* TypeFlags.Object */) {
|
|
72109
72111
|
return nonPrimitiveType;
|
|
72110
72112
|
}
|
|
72111
|
-
|
|
72113
|
+
if (type.flags & 2 /* TypeFlags.Unknown */) {
|
|
72114
|
+
return type;
|
|
72115
|
+
}
|
|
72112
72116
|
}
|
|
72113
72117
|
if (valueType.flags & 98304 /* TypeFlags.Nullable */) {
|
|
72114
72118
|
if (!strictNullChecks) {
|
|
@@ -120621,10 +120625,12 @@ var ts;
|
|
|
120621
120625
|
if (options.preserveConstEnums === false) {
|
|
120622
120626
|
createDiagnosticForOptionName(ts.Diagnostics.Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled, "preserveConstEnums", "isolatedModules");
|
|
120623
120627
|
}
|
|
120624
|
-
var
|
|
120625
|
-
|
|
120626
|
-
|
|
120627
|
-
|
|
120628
|
+
for (var _a = 0, files_5 = files; _a < files_5.length; _a++) {
|
|
120629
|
+
var file = files_5[_a];
|
|
120630
|
+
if (!ts.isExternalModule(file) && !ts.isSourceFileJS(file) && !file.isDeclarationFile && file.scriptKind !== 6 /* ScriptKind.JSON */) {
|
|
120631
|
+
var span = ts.getErrorSpanForNode(file, file);
|
|
120632
|
+
programDiagnostics.add(ts.createFileDiagnostic(file, span.start, span.length, ts.Diagnostics._0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_import_export_or_an_empty_export_statement_to_make_it_a_module, ts.getBaseFileName(file.fileName)));
|
|
120633
|
+
}
|
|
120628
120634
|
}
|
|
120629
120635
|
}
|
|
120630
120636
|
else if (firstNonAmbientExternalModuleSourceFile && languageVersion < 2 /* ScriptTarget.ES2015 */ && options.module === ts.ModuleKind.None) {
|
|
@@ -127405,9 +127411,7 @@ var ts;
|
|
|
127405
127411
|
}
|
|
127406
127412
|
}
|
|
127407
127413
|
}
|
|
127408
|
-
var seenRefs = buildInfoPath ? new ts.Set() : undefined;
|
|
127409
127414
|
var buildInfoCacheEntry = state.buildInfoCache.get(resolvedPath);
|
|
127410
|
-
seenRefs === null || seenRefs === void 0 ? void 0 : seenRefs.add(resolvedPath);
|
|
127411
127415
|
/** Inputs are up-to-date, just need either timestamp update or bundle prepend manipulation to make it look up-to-date */
|
|
127412
127416
|
var pseudoUpToDate = false;
|
|
127413
127417
|
var usesPrepend = false;
|
|
@@ -127422,7 +127426,7 @@ var ts;
|
|
|
127422
127426
|
continue;
|
|
127423
127427
|
}
|
|
127424
127428
|
// Check if tsbuildinfo path is shared, then we need to rebuild
|
|
127425
|
-
if (buildInfoCacheEntry && hasSameBuildInfo(state, buildInfoCacheEntry,
|
|
127429
|
+
if (buildInfoCacheEntry && hasSameBuildInfo(state, buildInfoCacheEntry, resolvedRefPath)) {
|
|
127426
127430
|
return {
|
|
127427
127431
|
type: ts.UpToDateStatusType.OutOfDateWithUpstream,
|
|
127428
127432
|
outOfDateOutputFileName: buildInfoPath,
|
|
@@ -127480,25 +127484,9 @@ var ts;
|
|
|
127480
127484
|
oldestOutputFileName: oldestOutputFileName
|
|
127481
127485
|
};
|
|
127482
127486
|
}
|
|
127483
|
-
function hasSameBuildInfo(state, buildInfoCacheEntry,
|
|
127484
|
-
if (seenRefs.has(resolvedRefPath))
|
|
127485
|
-
return false;
|
|
127486
|
-
seenRefs.add(resolvedRefPath);
|
|
127487
|
+
function hasSameBuildInfo(state, buildInfoCacheEntry, resolvedRefPath) {
|
|
127487
127488
|
var refBuildInfo = state.buildInfoCache.get(resolvedRefPath);
|
|
127488
|
-
|
|
127489
|
-
return true;
|
|
127490
|
-
if (resolvedConfig.projectReferences) {
|
|
127491
|
-
// Check references
|
|
127492
|
-
for (var _i = 0, _a = resolvedConfig.projectReferences; _i < _a.length; _i++) {
|
|
127493
|
-
var ref = _a[_i];
|
|
127494
|
-
var resolvedRef = ts.resolveProjectReferencePath(ref);
|
|
127495
|
-
var resolvedRefPath_1 = toResolvedConfigFilePath(state, resolvedRef);
|
|
127496
|
-
var resolvedConfig_1 = parseConfigFile(state, resolvedRef, resolvedRefPath_1);
|
|
127497
|
-
if (hasSameBuildInfo(state, buildInfoCacheEntry, seenRefs, resolvedConfig_1, resolvedRefPath_1))
|
|
127498
|
-
return true;
|
|
127499
|
-
}
|
|
127500
|
-
}
|
|
127501
|
-
return false;
|
|
127489
|
+
return refBuildInfo.path === buildInfoCacheEntry.path;
|
|
127502
127490
|
}
|
|
127503
127491
|
function getUpToDateStatus(state, project, resolvedPath) {
|
|
127504
127492
|
if (project === undefined) {
|
package/lib/tsserverlibrary.js
CHANGED
|
@@ -108,7 +108,7 @@ var ts;
|
|
|
108
108
|
// The following is baselined as a literal template type without intervention
|
|
109
109
|
/** The version of the TypeScript compiler release */
|
|
110
110
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
111
|
-
ts.version = "".concat(ts.versionMajorMinor, ".0-dev.
|
|
111
|
+
ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20220905");
|
|
112
112
|
/* @internal */
|
|
113
113
|
var Comparison;
|
|
114
114
|
(function (Comparison) {
|
|
@@ -71967,7 +71967,7 @@ var ts;
|
|
|
71967
71967
|
}
|
|
71968
71968
|
function narrowByInKeyword(type, name, assumeTrue) {
|
|
71969
71969
|
if (type.flags & 1048576 /* TypeFlags.Union */
|
|
71970
|
-
|| type.flags & 524288 /* TypeFlags.Object */ && declaredType !== type
|
|
71970
|
+
|| type.flags & 524288 /* TypeFlags.Object */ && declaredType !== type && !(declaredType === unknownType && isEmptyAnonymousObjectType(type))
|
|
71971
71971
|
|| ts.isThisTypeParameter(type)
|
|
71972
71972
|
|| type.flags & 2097152 /* TypeFlags.Intersection */ && ts.every(type.types, function (t) { return t.symbol !== globalThisSymbol; })) {
|
|
71973
71973
|
return filterType(type, function (t) { return isTypePresencePossible(t, name, assumeTrue); });
|
|
@@ -72100,14 +72100,18 @@ var ts;
|
|
|
72100
72100
|
assumeTrue = !assumeTrue;
|
|
72101
72101
|
}
|
|
72102
72102
|
var valueType = getTypeOfExpression(value);
|
|
72103
|
-
if ((type.flags & 2 /* TypeFlags.Unknown */)
|
|
72103
|
+
if (((type.flags & 2 /* TypeFlags.Unknown */) || isEmptyAnonymousObjectType(type) && !(valueType.flags & 98304 /* TypeFlags.Nullable */)) &&
|
|
72104
|
+
assumeTrue &&
|
|
72105
|
+
(operator === 36 /* SyntaxKind.EqualsEqualsEqualsToken */ || operator === 37 /* SyntaxKind.ExclamationEqualsEqualsToken */)) {
|
|
72104
72106
|
if (valueType.flags & (131068 /* TypeFlags.Primitive */ | 67108864 /* TypeFlags.NonPrimitive */)) {
|
|
72105
72107
|
return valueType;
|
|
72106
72108
|
}
|
|
72107
72109
|
if (valueType.flags & 524288 /* TypeFlags.Object */) {
|
|
72108
72110
|
return nonPrimitiveType;
|
|
72109
72111
|
}
|
|
72110
|
-
|
|
72112
|
+
if (type.flags & 2 /* TypeFlags.Unknown */) {
|
|
72113
|
+
return type;
|
|
72114
|
+
}
|
|
72111
72115
|
}
|
|
72112
72116
|
if (valueType.flags & 98304 /* TypeFlags.Nullable */) {
|
|
72113
72117
|
if (!strictNullChecks) {
|
|
@@ -120620,10 +120624,12 @@ var ts;
|
|
|
120620
120624
|
if (options.preserveConstEnums === false) {
|
|
120621
120625
|
createDiagnosticForOptionName(ts.Diagnostics.Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled, "preserveConstEnums", "isolatedModules");
|
|
120622
120626
|
}
|
|
120623
|
-
var
|
|
120624
|
-
|
|
120625
|
-
|
|
120626
|
-
|
|
120627
|
+
for (var _a = 0, files_5 = files; _a < files_5.length; _a++) {
|
|
120628
|
+
var file = files_5[_a];
|
|
120629
|
+
if (!ts.isExternalModule(file) && !ts.isSourceFileJS(file) && !file.isDeclarationFile && file.scriptKind !== 6 /* ScriptKind.JSON */) {
|
|
120630
|
+
var span = ts.getErrorSpanForNode(file, file);
|
|
120631
|
+
programDiagnostics.add(ts.createFileDiagnostic(file, span.start, span.length, ts.Diagnostics._0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_import_export_or_an_empty_export_statement_to_make_it_a_module, ts.getBaseFileName(file.fileName)));
|
|
120632
|
+
}
|
|
120627
120633
|
}
|
|
120628
120634
|
}
|
|
120629
120635
|
else if (firstNonAmbientExternalModuleSourceFile && languageVersion < 2 /* ScriptTarget.ES2015 */ && options.module === ts.ModuleKind.None) {
|
|
@@ -127404,9 +127410,7 @@ var ts;
|
|
|
127404
127410
|
}
|
|
127405
127411
|
}
|
|
127406
127412
|
}
|
|
127407
|
-
var seenRefs = buildInfoPath ? new ts.Set() : undefined;
|
|
127408
127413
|
var buildInfoCacheEntry = state.buildInfoCache.get(resolvedPath);
|
|
127409
|
-
seenRefs === null || seenRefs === void 0 ? void 0 : seenRefs.add(resolvedPath);
|
|
127410
127414
|
/** Inputs are up-to-date, just need either timestamp update or bundle prepend manipulation to make it look up-to-date */
|
|
127411
127415
|
var pseudoUpToDate = false;
|
|
127412
127416
|
var usesPrepend = false;
|
|
@@ -127421,7 +127425,7 @@ var ts;
|
|
|
127421
127425
|
continue;
|
|
127422
127426
|
}
|
|
127423
127427
|
// Check if tsbuildinfo path is shared, then we need to rebuild
|
|
127424
|
-
if (buildInfoCacheEntry && hasSameBuildInfo(state, buildInfoCacheEntry,
|
|
127428
|
+
if (buildInfoCacheEntry && hasSameBuildInfo(state, buildInfoCacheEntry, resolvedRefPath)) {
|
|
127425
127429
|
return {
|
|
127426
127430
|
type: ts.UpToDateStatusType.OutOfDateWithUpstream,
|
|
127427
127431
|
outOfDateOutputFileName: buildInfoPath,
|
|
@@ -127479,25 +127483,9 @@ var ts;
|
|
|
127479
127483
|
oldestOutputFileName: oldestOutputFileName
|
|
127480
127484
|
};
|
|
127481
127485
|
}
|
|
127482
|
-
function hasSameBuildInfo(state, buildInfoCacheEntry,
|
|
127483
|
-
if (seenRefs.has(resolvedRefPath))
|
|
127484
|
-
return false;
|
|
127485
|
-
seenRefs.add(resolvedRefPath);
|
|
127486
|
+
function hasSameBuildInfo(state, buildInfoCacheEntry, resolvedRefPath) {
|
|
127486
127487
|
var refBuildInfo = state.buildInfoCache.get(resolvedRefPath);
|
|
127487
|
-
|
|
127488
|
-
return true;
|
|
127489
|
-
if (resolvedConfig.projectReferences) {
|
|
127490
|
-
// Check references
|
|
127491
|
-
for (var _i = 0, _a = resolvedConfig.projectReferences; _i < _a.length; _i++) {
|
|
127492
|
-
var ref = _a[_i];
|
|
127493
|
-
var resolvedRef = ts.resolveProjectReferencePath(ref);
|
|
127494
|
-
var resolvedRefPath_1 = toResolvedConfigFilePath(state, resolvedRef);
|
|
127495
|
-
var resolvedConfig_1 = parseConfigFile(state, resolvedRef, resolvedRefPath_1);
|
|
127496
|
-
if (hasSameBuildInfo(state, buildInfoCacheEntry, seenRefs, resolvedConfig_1, resolvedRefPath_1))
|
|
127497
|
-
return true;
|
|
127498
|
-
}
|
|
127499
|
-
}
|
|
127500
|
-
return false;
|
|
127488
|
+
return refBuildInfo.path === buildInfoCacheEntry.path;
|
|
127501
127489
|
}
|
|
127502
127490
|
function getUpToDateStatus(state, project, resolvedPath) {
|
|
127503
127491
|
if (project === undefined) {
|
package/lib/typescript.js
CHANGED
|
@@ -99,7 +99,7 @@ var ts;
|
|
|
99
99
|
// The following is baselined as a literal template type without intervention
|
|
100
100
|
/** The version of the TypeScript compiler release */
|
|
101
101
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
102
|
-
ts.version = "".concat(ts.versionMajorMinor, ".0-dev.
|
|
102
|
+
ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20220905");
|
|
103
103
|
/* @internal */
|
|
104
104
|
var Comparison;
|
|
105
105
|
(function (Comparison) {
|
|
@@ -71958,7 +71958,7 @@ var ts;
|
|
|
71958
71958
|
}
|
|
71959
71959
|
function narrowByInKeyword(type, name, assumeTrue) {
|
|
71960
71960
|
if (type.flags & 1048576 /* TypeFlags.Union */
|
|
71961
|
-
|| type.flags & 524288 /* TypeFlags.Object */ && declaredType !== type
|
|
71961
|
+
|| type.flags & 524288 /* TypeFlags.Object */ && declaredType !== type && !(declaredType === unknownType && isEmptyAnonymousObjectType(type))
|
|
71962
71962
|
|| ts.isThisTypeParameter(type)
|
|
71963
71963
|
|| type.flags & 2097152 /* TypeFlags.Intersection */ && ts.every(type.types, function (t) { return t.symbol !== globalThisSymbol; })) {
|
|
71964
71964
|
return filterType(type, function (t) { return isTypePresencePossible(t, name, assumeTrue); });
|
|
@@ -72091,14 +72091,18 @@ var ts;
|
|
|
72091
72091
|
assumeTrue = !assumeTrue;
|
|
72092
72092
|
}
|
|
72093
72093
|
var valueType = getTypeOfExpression(value);
|
|
72094
|
-
if ((type.flags & 2 /* TypeFlags.Unknown */)
|
|
72094
|
+
if (((type.flags & 2 /* TypeFlags.Unknown */) || isEmptyAnonymousObjectType(type) && !(valueType.flags & 98304 /* TypeFlags.Nullable */)) &&
|
|
72095
|
+
assumeTrue &&
|
|
72096
|
+
(operator === 36 /* SyntaxKind.EqualsEqualsEqualsToken */ || operator === 37 /* SyntaxKind.ExclamationEqualsEqualsToken */)) {
|
|
72095
72097
|
if (valueType.flags & (131068 /* TypeFlags.Primitive */ | 67108864 /* TypeFlags.NonPrimitive */)) {
|
|
72096
72098
|
return valueType;
|
|
72097
72099
|
}
|
|
72098
72100
|
if (valueType.flags & 524288 /* TypeFlags.Object */) {
|
|
72099
72101
|
return nonPrimitiveType;
|
|
72100
72102
|
}
|
|
72101
|
-
|
|
72103
|
+
if (type.flags & 2 /* TypeFlags.Unknown */) {
|
|
72104
|
+
return type;
|
|
72105
|
+
}
|
|
72102
72106
|
}
|
|
72103
72107
|
if (valueType.flags & 98304 /* TypeFlags.Nullable */) {
|
|
72104
72108
|
if (!strictNullChecks) {
|
|
@@ -120611,10 +120615,12 @@ var ts;
|
|
|
120611
120615
|
if (options.preserveConstEnums === false) {
|
|
120612
120616
|
createDiagnosticForOptionName(ts.Diagnostics.Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled, "preserveConstEnums", "isolatedModules");
|
|
120613
120617
|
}
|
|
120614
|
-
var
|
|
120615
|
-
|
|
120616
|
-
|
|
120617
|
-
|
|
120618
|
+
for (var _a = 0, files_5 = files; _a < files_5.length; _a++) {
|
|
120619
|
+
var file = files_5[_a];
|
|
120620
|
+
if (!ts.isExternalModule(file) && !ts.isSourceFileJS(file) && !file.isDeclarationFile && file.scriptKind !== 6 /* ScriptKind.JSON */) {
|
|
120621
|
+
var span = ts.getErrorSpanForNode(file, file);
|
|
120622
|
+
programDiagnostics.add(ts.createFileDiagnostic(file, span.start, span.length, ts.Diagnostics._0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_import_export_or_an_empty_export_statement_to_make_it_a_module, ts.getBaseFileName(file.fileName)));
|
|
120623
|
+
}
|
|
120618
120624
|
}
|
|
120619
120625
|
}
|
|
120620
120626
|
else if (firstNonAmbientExternalModuleSourceFile && languageVersion < 2 /* ScriptTarget.ES2015 */ && options.module === ts.ModuleKind.None) {
|
|
@@ -127395,9 +127401,7 @@ var ts;
|
|
|
127395
127401
|
}
|
|
127396
127402
|
}
|
|
127397
127403
|
}
|
|
127398
|
-
var seenRefs = buildInfoPath ? new ts.Set() : undefined;
|
|
127399
127404
|
var buildInfoCacheEntry = state.buildInfoCache.get(resolvedPath);
|
|
127400
|
-
seenRefs === null || seenRefs === void 0 ? void 0 : seenRefs.add(resolvedPath);
|
|
127401
127405
|
/** Inputs are up-to-date, just need either timestamp update or bundle prepend manipulation to make it look up-to-date */
|
|
127402
127406
|
var pseudoUpToDate = false;
|
|
127403
127407
|
var usesPrepend = false;
|
|
@@ -127412,7 +127416,7 @@ var ts;
|
|
|
127412
127416
|
continue;
|
|
127413
127417
|
}
|
|
127414
127418
|
// Check if tsbuildinfo path is shared, then we need to rebuild
|
|
127415
|
-
if (buildInfoCacheEntry && hasSameBuildInfo(state, buildInfoCacheEntry,
|
|
127419
|
+
if (buildInfoCacheEntry && hasSameBuildInfo(state, buildInfoCacheEntry, resolvedRefPath)) {
|
|
127416
127420
|
return {
|
|
127417
127421
|
type: ts.UpToDateStatusType.OutOfDateWithUpstream,
|
|
127418
127422
|
outOfDateOutputFileName: buildInfoPath,
|
|
@@ -127470,25 +127474,9 @@ var ts;
|
|
|
127470
127474
|
oldestOutputFileName: oldestOutputFileName
|
|
127471
127475
|
};
|
|
127472
127476
|
}
|
|
127473
|
-
function hasSameBuildInfo(state, buildInfoCacheEntry,
|
|
127474
|
-
if (seenRefs.has(resolvedRefPath))
|
|
127475
|
-
return false;
|
|
127476
|
-
seenRefs.add(resolvedRefPath);
|
|
127477
|
+
function hasSameBuildInfo(state, buildInfoCacheEntry, resolvedRefPath) {
|
|
127477
127478
|
var refBuildInfo = state.buildInfoCache.get(resolvedRefPath);
|
|
127478
|
-
|
|
127479
|
-
return true;
|
|
127480
|
-
if (resolvedConfig.projectReferences) {
|
|
127481
|
-
// Check references
|
|
127482
|
-
for (var _i = 0, _a = resolvedConfig.projectReferences; _i < _a.length; _i++) {
|
|
127483
|
-
var ref = _a[_i];
|
|
127484
|
-
var resolvedRef = ts.resolveProjectReferencePath(ref);
|
|
127485
|
-
var resolvedRefPath_1 = toResolvedConfigFilePath(state, resolvedRef);
|
|
127486
|
-
var resolvedConfig_1 = parseConfigFile(state, resolvedRef, resolvedRefPath_1);
|
|
127487
|
-
if (hasSameBuildInfo(state, buildInfoCacheEntry, seenRefs, resolvedConfig_1, resolvedRefPath_1))
|
|
127488
|
-
return true;
|
|
127489
|
-
}
|
|
127490
|
-
}
|
|
127491
|
-
return false;
|
|
127479
|
+
return refBuildInfo.path === buildInfoCacheEntry.path;
|
|
127492
127480
|
}
|
|
127493
127481
|
function getUpToDateStatus(state, project, resolvedPath) {
|
|
127494
127482
|
if (project === undefined) {
|
|
@@ -99,7 +99,7 @@ var ts;
|
|
|
99
99
|
// The following is baselined as a literal template type without intervention
|
|
100
100
|
/** The version of the TypeScript compiler release */
|
|
101
101
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
102
|
-
ts.version = "".concat(ts.versionMajorMinor, ".0-dev.
|
|
102
|
+
ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20220905");
|
|
103
103
|
/* @internal */
|
|
104
104
|
var Comparison;
|
|
105
105
|
(function (Comparison) {
|
|
@@ -71958,7 +71958,7 @@ var ts;
|
|
|
71958
71958
|
}
|
|
71959
71959
|
function narrowByInKeyword(type, name, assumeTrue) {
|
|
71960
71960
|
if (type.flags & 1048576 /* TypeFlags.Union */
|
|
71961
|
-
|| type.flags & 524288 /* TypeFlags.Object */ && declaredType !== type
|
|
71961
|
+
|| type.flags & 524288 /* TypeFlags.Object */ && declaredType !== type && !(declaredType === unknownType && isEmptyAnonymousObjectType(type))
|
|
71962
71962
|
|| ts.isThisTypeParameter(type)
|
|
71963
71963
|
|| type.flags & 2097152 /* TypeFlags.Intersection */ && ts.every(type.types, function (t) { return t.symbol !== globalThisSymbol; })) {
|
|
71964
71964
|
return filterType(type, function (t) { return isTypePresencePossible(t, name, assumeTrue); });
|
|
@@ -72091,14 +72091,18 @@ var ts;
|
|
|
72091
72091
|
assumeTrue = !assumeTrue;
|
|
72092
72092
|
}
|
|
72093
72093
|
var valueType = getTypeOfExpression(value);
|
|
72094
|
-
if ((type.flags & 2 /* TypeFlags.Unknown */)
|
|
72094
|
+
if (((type.flags & 2 /* TypeFlags.Unknown */) || isEmptyAnonymousObjectType(type) && !(valueType.flags & 98304 /* TypeFlags.Nullable */)) &&
|
|
72095
|
+
assumeTrue &&
|
|
72096
|
+
(operator === 36 /* SyntaxKind.EqualsEqualsEqualsToken */ || operator === 37 /* SyntaxKind.ExclamationEqualsEqualsToken */)) {
|
|
72095
72097
|
if (valueType.flags & (131068 /* TypeFlags.Primitive */ | 67108864 /* TypeFlags.NonPrimitive */)) {
|
|
72096
72098
|
return valueType;
|
|
72097
72099
|
}
|
|
72098
72100
|
if (valueType.flags & 524288 /* TypeFlags.Object */) {
|
|
72099
72101
|
return nonPrimitiveType;
|
|
72100
72102
|
}
|
|
72101
|
-
|
|
72103
|
+
if (type.flags & 2 /* TypeFlags.Unknown */) {
|
|
72104
|
+
return type;
|
|
72105
|
+
}
|
|
72102
72106
|
}
|
|
72103
72107
|
if (valueType.flags & 98304 /* TypeFlags.Nullable */) {
|
|
72104
72108
|
if (!strictNullChecks) {
|
|
@@ -120611,10 +120615,12 @@ var ts;
|
|
|
120611
120615
|
if (options.preserveConstEnums === false) {
|
|
120612
120616
|
createDiagnosticForOptionName(ts.Diagnostics.Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled, "preserveConstEnums", "isolatedModules");
|
|
120613
120617
|
}
|
|
120614
|
-
var
|
|
120615
|
-
|
|
120616
|
-
|
|
120617
|
-
|
|
120618
|
+
for (var _a = 0, files_5 = files; _a < files_5.length; _a++) {
|
|
120619
|
+
var file = files_5[_a];
|
|
120620
|
+
if (!ts.isExternalModule(file) && !ts.isSourceFileJS(file) && !file.isDeclarationFile && file.scriptKind !== 6 /* ScriptKind.JSON */) {
|
|
120621
|
+
var span = ts.getErrorSpanForNode(file, file);
|
|
120622
|
+
programDiagnostics.add(ts.createFileDiagnostic(file, span.start, span.length, ts.Diagnostics._0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_import_export_or_an_empty_export_statement_to_make_it_a_module, ts.getBaseFileName(file.fileName)));
|
|
120623
|
+
}
|
|
120618
120624
|
}
|
|
120619
120625
|
}
|
|
120620
120626
|
else if (firstNonAmbientExternalModuleSourceFile && languageVersion < 2 /* ScriptTarget.ES2015 */ && options.module === ts.ModuleKind.None) {
|
|
@@ -127395,9 +127401,7 @@ var ts;
|
|
|
127395
127401
|
}
|
|
127396
127402
|
}
|
|
127397
127403
|
}
|
|
127398
|
-
var seenRefs = buildInfoPath ? new ts.Set() : undefined;
|
|
127399
127404
|
var buildInfoCacheEntry = state.buildInfoCache.get(resolvedPath);
|
|
127400
|
-
seenRefs === null || seenRefs === void 0 ? void 0 : seenRefs.add(resolvedPath);
|
|
127401
127405
|
/** Inputs are up-to-date, just need either timestamp update or bundle prepend manipulation to make it look up-to-date */
|
|
127402
127406
|
var pseudoUpToDate = false;
|
|
127403
127407
|
var usesPrepend = false;
|
|
@@ -127412,7 +127416,7 @@ var ts;
|
|
|
127412
127416
|
continue;
|
|
127413
127417
|
}
|
|
127414
127418
|
// Check if tsbuildinfo path is shared, then we need to rebuild
|
|
127415
|
-
if (buildInfoCacheEntry && hasSameBuildInfo(state, buildInfoCacheEntry,
|
|
127419
|
+
if (buildInfoCacheEntry && hasSameBuildInfo(state, buildInfoCacheEntry, resolvedRefPath)) {
|
|
127416
127420
|
return {
|
|
127417
127421
|
type: ts.UpToDateStatusType.OutOfDateWithUpstream,
|
|
127418
127422
|
outOfDateOutputFileName: buildInfoPath,
|
|
@@ -127470,25 +127474,9 @@ var ts;
|
|
|
127470
127474
|
oldestOutputFileName: oldestOutputFileName
|
|
127471
127475
|
};
|
|
127472
127476
|
}
|
|
127473
|
-
function hasSameBuildInfo(state, buildInfoCacheEntry,
|
|
127474
|
-
if (seenRefs.has(resolvedRefPath))
|
|
127475
|
-
return false;
|
|
127476
|
-
seenRefs.add(resolvedRefPath);
|
|
127477
|
+
function hasSameBuildInfo(state, buildInfoCacheEntry, resolvedRefPath) {
|
|
127477
127478
|
var refBuildInfo = state.buildInfoCache.get(resolvedRefPath);
|
|
127478
|
-
|
|
127479
|
-
return true;
|
|
127480
|
-
if (resolvedConfig.projectReferences) {
|
|
127481
|
-
// Check references
|
|
127482
|
-
for (var _i = 0, _a = resolvedConfig.projectReferences; _i < _a.length; _i++) {
|
|
127483
|
-
var ref = _a[_i];
|
|
127484
|
-
var resolvedRef = ts.resolveProjectReferencePath(ref);
|
|
127485
|
-
var resolvedRefPath_1 = toResolvedConfigFilePath(state, resolvedRef);
|
|
127486
|
-
var resolvedConfig_1 = parseConfigFile(state, resolvedRef, resolvedRefPath_1);
|
|
127487
|
-
if (hasSameBuildInfo(state, buildInfoCacheEntry, seenRefs, resolvedConfig_1, resolvedRefPath_1))
|
|
127488
|
-
return true;
|
|
127489
|
-
}
|
|
127490
|
-
}
|
|
127491
|
-
return false;
|
|
127479
|
+
return refBuildInfo.path === buildInfoCacheEntry.path;
|
|
127492
127480
|
}
|
|
127493
127481
|
function getUpToDateStatus(state, project, resolvedPath) {
|
|
127494
127482
|
if (project === undefined) {
|
package/lib/typingsInstaller.js
CHANGED
|
@@ -89,7 +89,7 @@ var ts;
|
|
|
89
89
|
// The following is baselined as a literal template type without intervention
|
|
90
90
|
/** The version of the TypeScript compiler release */
|
|
91
91
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
92
|
-
ts.version = "".concat(ts.versionMajorMinor, ".0-dev.
|
|
92
|
+
ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20220905");
|
|
93
93
|
/* @internal */
|
|
94
94
|
var Comparison;
|
|
95
95
|
(function (Comparison) {
|
|
@@ -71948,7 +71948,7 @@ var ts;
|
|
|
71948
71948
|
}
|
|
71949
71949
|
function narrowByInKeyword(type, name, assumeTrue) {
|
|
71950
71950
|
if (type.flags & 1048576 /* TypeFlags.Union */
|
|
71951
|
-
|| type.flags & 524288 /* TypeFlags.Object */ && declaredType !== type
|
|
71951
|
+
|| type.flags & 524288 /* TypeFlags.Object */ && declaredType !== type && !(declaredType === unknownType && isEmptyAnonymousObjectType(type))
|
|
71952
71952
|
|| ts.isThisTypeParameter(type)
|
|
71953
71953
|
|| type.flags & 2097152 /* TypeFlags.Intersection */ && ts.every(type.types, function (t) { return t.symbol !== globalThisSymbol; })) {
|
|
71954
71954
|
return filterType(type, function (t) { return isTypePresencePossible(t, name, assumeTrue); });
|
|
@@ -72081,14 +72081,18 @@ var ts;
|
|
|
72081
72081
|
assumeTrue = !assumeTrue;
|
|
72082
72082
|
}
|
|
72083
72083
|
var valueType = getTypeOfExpression(value);
|
|
72084
|
-
if ((type.flags & 2 /* TypeFlags.Unknown */)
|
|
72084
|
+
if (((type.flags & 2 /* TypeFlags.Unknown */) || isEmptyAnonymousObjectType(type) && !(valueType.flags & 98304 /* TypeFlags.Nullable */)) &&
|
|
72085
|
+
assumeTrue &&
|
|
72086
|
+
(operator === 36 /* SyntaxKind.EqualsEqualsEqualsToken */ || operator === 37 /* SyntaxKind.ExclamationEqualsEqualsToken */)) {
|
|
72085
72087
|
if (valueType.flags & (131068 /* TypeFlags.Primitive */ | 67108864 /* TypeFlags.NonPrimitive */)) {
|
|
72086
72088
|
return valueType;
|
|
72087
72089
|
}
|
|
72088
72090
|
if (valueType.flags & 524288 /* TypeFlags.Object */) {
|
|
72089
72091
|
return nonPrimitiveType;
|
|
72090
72092
|
}
|
|
72091
|
-
|
|
72093
|
+
if (type.flags & 2 /* TypeFlags.Unknown */) {
|
|
72094
|
+
return type;
|
|
72095
|
+
}
|
|
72092
72096
|
}
|
|
72093
72097
|
if (valueType.flags & 98304 /* TypeFlags.Nullable */) {
|
|
72094
72098
|
if (!strictNullChecks) {
|
|
@@ -120601,10 +120605,12 @@ var ts;
|
|
|
120601
120605
|
if (options.preserveConstEnums === false) {
|
|
120602
120606
|
createDiagnosticForOptionName(ts.Diagnostics.Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled, "preserveConstEnums", "isolatedModules");
|
|
120603
120607
|
}
|
|
120604
|
-
var
|
|
120605
|
-
|
|
120606
|
-
|
|
120607
|
-
|
|
120608
|
+
for (var _a = 0, files_5 = files; _a < files_5.length; _a++) {
|
|
120609
|
+
var file = files_5[_a];
|
|
120610
|
+
if (!ts.isExternalModule(file) && !ts.isSourceFileJS(file) && !file.isDeclarationFile && file.scriptKind !== 6 /* ScriptKind.JSON */) {
|
|
120611
|
+
var span = ts.getErrorSpanForNode(file, file);
|
|
120612
|
+
programDiagnostics.add(ts.createFileDiagnostic(file, span.start, span.length, ts.Diagnostics._0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_import_export_or_an_empty_export_statement_to_make_it_a_module, ts.getBaseFileName(file.fileName)));
|
|
120613
|
+
}
|
|
120608
120614
|
}
|
|
120609
120615
|
}
|
|
120610
120616
|
else if (firstNonAmbientExternalModuleSourceFile && languageVersion < 2 /* ScriptTarget.ES2015 */ && options.module === ts.ModuleKind.None) {
|
|
@@ -127385,9 +127391,7 @@ var ts;
|
|
|
127385
127391
|
}
|
|
127386
127392
|
}
|
|
127387
127393
|
}
|
|
127388
|
-
var seenRefs = buildInfoPath ? new ts.Set() : undefined;
|
|
127389
127394
|
var buildInfoCacheEntry = state.buildInfoCache.get(resolvedPath);
|
|
127390
|
-
seenRefs === null || seenRefs === void 0 ? void 0 : seenRefs.add(resolvedPath);
|
|
127391
127395
|
/** Inputs are up-to-date, just need either timestamp update or bundle prepend manipulation to make it look up-to-date */
|
|
127392
127396
|
var pseudoUpToDate = false;
|
|
127393
127397
|
var usesPrepend = false;
|
|
@@ -127402,7 +127406,7 @@ var ts;
|
|
|
127402
127406
|
continue;
|
|
127403
127407
|
}
|
|
127404
127408
|
// Check if tsbuildinfo path is shared, then we need to rebuild
|
|
127405
|
-
if (buildInfoCacheEntry && hasSameBuildInfo(state, buildInfoCacheEntry,
|
|
127409
|
+
if (buildInfoCacheEntry && hasSameBuildInfo(state, buildInfoCacheEntry, resolvedRefPath)) {
|
|
127406
127410
|
return {
|
|
127407
127411
|
type: ts.UpToDateStatusType.OutOfDateWithUpstream,
|
|
127408
127412
|
outOfDateOutputFileName: buildInfoPath,
|
|
@@ -127460,25 +127464,9 @@ var ts;
|
|
|
127460
127464
|
oldestOutputFileName: oldestOutputFileName
|
|
127461
127465
|
};
|
|
127462
127466
|
}
|
|
127463
|
-
function hasSameBuildInfo(state, buildInfoCacheEntry,
|
|
127464
|
-
if (seenRefs.has(resolvedRefPath))
|
|
127465
|
-
return false;
|
|
127466
|
-
seenRefs.add(resolvedRefPath);
|
|
127467
|
+
function hasSameBuildInfo(state, buildInfoCacheEntry, resolvedRefPath) {
|
|
127467
127468
|
var refBuildInfo = state.buildInfoCache.get(resolvedRefPath);
|
|
127468
|
-
|
|
127469
|
-
return true;
|
|
127470
|
-
if (resolvedConfig.projectReferences) {
|
|
127471
|
-
// Check references
|
|
127472
|
-
for (var _i = 0, _a = resolvedConfig.projectReferences; _i < _a.length; _i++) {
|
|
127473
|
-
var ref = _a[_i];
|
|
127474
|
-
var resolvedRef = ts.resolveProjectReferencePath(ref);
|
|
127475
|
-
var resolvedRefPath_1 = toResolvedConfigFilePath(state, resolvedRef);
|
|
127476
|
-
var resolvedConfig_1 = parseConfigFile(state, resolvedRef, resolvedRefPath_1);
|
|
127477
|
-
if (hasSameBuildInfo(state, buildInfoCacheEntry, seenRefs, resolvedConfig_1, resolvedRefPath_1))
|
|
127478
|
-
return true;
|
|
127479
|
-
}
|
|
127480
|
-
}
|
|
127481
|
-
return false;
|
|
127469
|
+
return refBuildInfo.path === buildInfoCacheEntry.path;
|
|
127482
127470
|
}
|
|
127483
127471
|
function getUpToDateStatus(state, project, resolvedPath) {
|
|
127484
127472
|
if (project === undefined) {
|
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.20220905",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|