typescript 5.6.0-dev.20240626 → 5.6.0-dev.20240628
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 +165 -170
- package/lib/typescript.d.ts +16 -14
- package/lib/typescript.js +282 -914
- package/package.json +15 -13
package/lib/typescript.js
CHANGED
|
@@ -86,7 +86,6 @@ __export(typescript_exports, {
|
|
|
86
86
|
GoToDefinition: () => ts_GoToDefinition_exports,
|
|
87
87
|
HighlightSpanKind: () => HighlightSpanKind,
|
|
88
88
|
IdentifierNameMap: () => IdentifierNameMap,
|
|
89
|
-
IdentifierNameMultiMap: () => IdentifierNameMultiMap,
|
|
90
89
|
ImportKind: () => ImportKind,
|
|
91
90
|
ImportsNotUsedAsValues: () => ImportsNotUsedAsValues,
|
|
92
91
|
IndentStyle: () => IndentStyle,
|
|
@@ -173,7 +172,6 @@ __export(typescript_exports, {
|
|
|
173
172
|
SymbolFlags: () => SymbolFlags,
|
|
174
173
|
SymbolFormatFlags: () => SymbolFormatFlags,
|
|
175
174
|
SyntaxKind: () => SyntaxKind,
|
|
176
|
-
SyntheticSymbolKind: () => SyntheticSymbolKind,
|
|
177
175
|
Ternary: () => Ternary,
|
|
178
176
|
ThrottledCancellationToken: () => ThrottledCancellationToken,
|
|
179
177
|
TokenClass: () => TokenClass,
|
|
@@ -196,7 +194,6 @@ __export(typescript_exports, {
|
|
|
196
194
|
WatchLogLevel: () => WatchLogLevel,
|
|
197
195
|
WatchType: () => WatchType,
|
|
198
196
|
accessPrivateIdentifier: () => accessPrivateIdentifier,
|
|
199
|
-
addDisposableResourceHelper: () => addDisposableResourceHelper,
|
|
200
197
|
addEmitFlags: () => addEmitFlags,
|
|
201
198
|
addEmitHelper: () => addEmitHelper,
|
|
202
199
|
addEmitHelpers: () => addEmitHelpers,
|
|
@@ -219,7 +216,6 @@ __export(typescript_exports, {
|
|
|
219
216
|
arrayFrom: () => arrayFrom,
|
|
220
217
|
arrayIsEqualTo: () => arrayIsEqualTo,
|
|
221
218
|
arrayIsHomogeneous: () => arrayIsHomogeneous,
|
|
222
|
-
arrayIsSorted: () => arrayIsSorted,
|
|
223
219
|
arrayOf: () => arrayOf,
|
|
224
220
|
arrayReverseIterator: () => arrayReverseIterator,
|
|
225
221
|
arrayToMap: () => arrayToMap,
|
|
@@ -227,14 +223,8 @@ __export(typescript_exports, {
|
|
|
227
223
|
arrayToNumericMap: () => arrayToNumericMap,
|
|
228
224
|
assertType: () => assertType,
|
|
229
225
|
assign: () => assign,
|
|
230
|
-
assignHelper: () => assignHelper,
|
|
231
|
-
asyncDelegator: () => asyncDelegator,
|
|
232
|
-
asyncGeneratorHelper: () => asyncGeneratorHelper,
|
|
233
226
|
asyncSuperHelper: () => asyncSuperHelper,
|
|
234
|
-
asyncValues: () => asyncValues,
|
|
235
227
|
attachFileToDiagnostics: () => attachFileToDiagnostics,
|
|
236
|
-
awaitHelper: () => awaitHelper,
|
|
237
|
-
awaiterHelper: () => awaiterHelper,
|
|
238
228
|
base64decode: () => base64decode,
|
|
239
229
|
base64encode: () => base64encode,
|
|
240
230
|
binarySearch: () => binarySearch,
|
|
@@ -283,9 +273,6 @@ __export(typescript_exports, {
|
|
|
283
273
|
classHasDeclaredOrExplicitlyAssignedName: () => classHasDeclaredOrExplicitlyAssignedName,
|
|
284
274
|
classHasExplicitlyAssignedName: () => classHasExplicitlyAssignedName,
|
|
285
275
|
classOrConstructorParameterIsDecorated: () => classOrConstructorParameterIsDecorated,
|
|
286
|
-
classPrivateFieldGetHelper: () => classPrivateFieldGetHelper,
|
|
287
|
-
classPrivateFieldInHelper: () => classPrivateFieldInHelper,
|
|
288
|
-
classPrivateFieldSetHelper: () => classPrivateFieldSetHelper,
|
|
289
276
|
classicNameResolver: () => classicNameResolver,
|
|
290
277
|
classifier: () => ts_classifier_exports,
|
|
291
278
|
cleanExtendedConfigCache: () => cleanExtendedConfigCache,
|
|
@@ -293,7 +280,6 @@ __export(typescript_exports, {
|
|
|
293
280
|
clearMap: () => clearMap,
|
|
294
281
|
clearSharedExtendedConfigFileWatcher: () => clearSharedExtendedConfigFileWatcher,
|
|
295
282
|
climbPastPropertyAccess: () => climbPastPropertyAccess,
|
|
296
|
-
climbPastPropertyOrElementAccess: () => climbPastPropertyOrElementAccess,
|
|
297
283
|
clone: () => clone,
|
|
298
284
|
cloneCompilerOptions: () => cloneCompilerOptions,
|
|
299
285
|
closeFileWatcher: () => closeFileWatcher,
|
|
@@ -306,12 +292,10 @@ __export(typescript_exports, {
|
|
|
306
292
|
commandLineOptionOfCustomType: () => commandLineOptionOfCustomType,
|
|
307
293
|
commentPragmas: () => commentPragmas,
|
|
308
294
|
commonOptionsWithBuild: () => commonOptionsWithBuild,
|
|
309
|
-
commonPackageFolders: () => commonPackageFolders,
|
|
310
295
|
compact: () => compact,
|
|
311
296
|
compareBooleans: () => compareBooleans,
|
|
312
297
|
compareDataObjects: () => compareDataObjects,
|
|
313
298
|
compareDiagnostics: () => compareDiagnostics,
|
|
314
|
-
compareDiagnosticsSkipRelatedInformation: () => compareDiagnosticsSkipRelatedInformation,
|
|
315
299
|
compareEmitHelpers: () => compareEmitHelpers,
|
|
316
300
|
compareNumberOfDirectorySeparators: () => compareNumberOfDirectorySeparators,
|
|
317
301
|
comparePaths: () => comparePaths,
|
|
@@ -325,26 +309,21 @@ __export(typescript_exports, {
|
|
|
325
309
|
compareStringsCaseSensitiveUI: () => compareStringsCaseSensitiveUI,
|
|
326
310
|
compareTextSpans: () => compareTextSpans,
|
|
327
311
|
compareValues: () => compareValues,
|
|
328
|
-
compileOnSaveCommandLineOption: () => compileOnSaveCommandLineOption,
|
|
329
312
|
compilerOptionsAffectDeclarationPath: () => compilerOptionsAffectDeclarationPath,
|
|
330
313
|
compilerOptionsAffectEmit: () => compilerOptionsAffectEmit,
|
|
331
314
|
compilerOptionsAffectSemanticDiagnostics: () => compilerOptionsAffectSemanticDiagnostics,
|
|
332
315
|
compilerOptionsDidYouMeanDiagnostics: () => compilerOptionsDidYouMeanDiagnostics,
|
|
333
316
|
compilerOptionsIndicateEsModules: () => compilerOptionsIndicateEsModules,
|
|
334
|
-
compose: () => compose,
|
|
335
317
|
computeCommonSourceDirectoryOfFilenames: () => computeCommonSourceDirectoryOfFilenames,
|
|
336
318
|
computeLineAndCharacterOfPosition: () => computeLineAndCharacterOfPosition,
|
|
337
319
|
computeLineOfPosition: () => computeLineOfPosition,
|
|
338
320
|
computeLineStarts: () => computeLineStarts,
|
|
339
321
|
computePositionOfLineAndCharacter: () => computePositionOfLineAndCharacter,
|
|
340
|
-
computeSignature: () => computeSignature,
|
|
341
322
|
computeSignatureWithDiagnostics: () => computeSignatureWithDiagnostics,
|
|
342
323
|
computeSuggestionDiagnostics: () => computeSuggestionDiagnostics,
|
|
343
324
|
computedOptions: () => computedOptions,
|
|
344
325
|
concatenate: () => concatenate,
|
|
345
326
|
concatenateDiagnosticMessageChains: () => concatenateDiagnosticMessageChains,
|
|
346
|
-
configDirTemplateSubstitutionOptions: () => configDirTemplateSubstitutionOptions,
|
|
347
|
-
configDirTemplateSubstitutionWatchOptions: () => configDirTemplateSubstitutionWatchOptions,
|
|
348
327
|
consumesNodeCoreModules: () => consumesNodeCoreModules,
|
|
349
328
|
contains: () => contains,
|
|
350
329
|
containsIgnoredPath: () => containsIgnoredPath,
|
|
@@ -375,15 +354,11 @@ __export(typescript_exports, {
|
|
|
375
354
|
createAccessorPropertySetRedirector: () => createAccessorPropertySetRedirector,
|
|
376
355
|
createBaseNodeFactory: () => createBaseNodeFactory,
|
|
377
356
|
createBinaryExpressionTrampoline: () => createBinaryExpressionTrampoline,
|
|
378
|
-
createBindingHelper: () => createBindingHelper,
|
|
379
357
|
createBuilderProgram: () => createBuilderProgram,
|
|
380
358
|
createBuilderProgramUsingIncrementalBuildInfo: () => createBuilderProgramUsingIncrementalBuildInfo,
|
|
381
359
|
createBuilderStatusReporter: () => createBuilderStatusReporter,
|
|
382
|
-
createCacheWithRedirects: () => createCacheWithRedirects,
|
|
383
360
|
createCacheableExportInfoMap: () => createCacheableExportInfoMap,
|
|
384
361
|
createCachedDirectoryStructureHost: () => createCachedDirectoryStructureHost,
|
|
385
|
-
createClassNamedEvaluationHelperBlock: () => createClassNamedEvaluationHelperBlock,
|
|
386
|
-
createClassThisAssignmentBlock: () => createClassThisAssignmentBlock,
|
|
387
362
|
createClassifier: () => createClassifier,
|
|
388
363
|
createCommentDirectivesMap: () => createCommentDirectivesMap,
|
|
389
364
|
createCompilerDiagnostic: () => createCompilerDiagnostic,
|
|
@@ -505,10 +480,7 @@ __export(typescript_exports, {
|
|
|
505
480
|
declarationNameToString: () => declarationNameToString,
|
|
506
481
|
decodeMappings: () => decodeMappings,
|
|
507
482
|
decodedTextSpanIntersectsWith: () => decodedTextSpanIntersectsWith,
|
|
508
|
-
decorateHelper: () => decorateHelper,
|
|
509
483
|
deduplicate: () => deduplicate,
|
|
510
|
-
defaultIncludeSpec: () => defaultIncludeSpec,
|
|
511
|
-
defaultInitCompilerOptions: () => defaultInitCompilerOptions,
|
|
512
484
|
defaultMaximumTruncationLength: () => defaultMaximumTruncationLength,
|
|
513
485
|
diagnosticCategoryName: () => diagnosticCategoryName,
|
|
514
486
|
diagnosticToString: () => diagnosticToString,
|
|
@@ -518,27 +490,22 @@ __export(typescript_exports, {
|
|
|
518
490
|
displayPart: () => displayPart,
|
|
519
491
|
displayPartsToString: () => displayPartsToString,
|
|
520
492
|
disposeEmitNodes: () => disposeEmitNodes,
|
|
521
|
-
disposeResourcesHelper: () => disposeResourcesHelper,
|
|
522
493
|
documentSpansEqual: () => documentSpansEqual,
|
|
523
494
|
dumpTracingLegend: () => dumpTracingLegend,
|
|
524
495
|
elementAt: () => elementAt,
|
|
525
496
|
elideNodes: () => elideNodes,
|
|
526
|
-
emitComments: () => emitComments,
|
|
527
497
|
emitDetachedComments: () => emitDetachedComments,
|
|
528
498
|
emitFiles: () => emitFiles,
|
|
529
499
|
emitFilesAndReportErrors: () => emitFilesAndReportErrors,
|
|
530
500
|
emitFilesAndReportErrorsAndGetExitStatus: () => emitFilesAndReportErrorsAndGetExitStatus,
|
|
531
501
|
emitModuleKindIsNonNodeESM: () => emitModuleKindIsNonNodeESM,
|
|
532
502
|
emitNewLineBeforeLeadingCommentOfPosition: () => emitNewLineBeforeLeadingCommentOfPosition,
|
|
533
|
-
emitNewLineBeforeLeadingComments: () => emitNewLineBeforeLeadingComments,
|
|
534
|
-
emitNewLineBeforeLeadingCommentsOfPosition: () => emitNewLineBeforeLeadingCommentsOfPosition,
|
|
535
503
|
emitResolverSkipsTypeChecking: () => emitResolverSkipsTypeChecking,
|
|
536
504
|
emitSkippedWithNoDiagnostics: () => emitSkippedWithNoDiagnostics,
|
|
537
505
|
emptyArray: () => emptyArray,
|
|
538
506
|
emptyFileSystemEntries: () => emptyFileSystemEntries,
|
|
539
507
|
emptyMap: () => emptyMap,
|
|
540
508
|
emptyOptions: () => emptyOptions,
|
|
541
|
-
emptySet: () => emptySet,
|
|
542
509
|
endsWith: () => endsWith,
|
|
543
510
|
ensurePathIsNonModuleName: () => ensurePathIsNonModuleName,
|
|
544
511
|
ensureScriptKind: () => ensureScriptKind,
|
|
@@ -549,7 +516,6 @@ __export(typescript_exports, {
|
|
|
549
516
|
equateStringsCaseInsensitive: () => equateStringsCaseInsensitive,
|
|
550
517
|
equateStringsCaseSensitive: () => equateStringsCaseSensitive,
|
|
551
518
|
equateValues: () => equateValues,
|
|
552
|
-
esDecorateHelper: () => esDecorateHelper,
|
|
553
519
|
escapeJsxAttributeString: () => escapeJsxAttributeString,
|
|
554
520
|
escapeLeadingUnderscores: () => escapeLeadingUnderscores,
|
|
555
521
|
escapeNonAsciiString: () => escapeNonAsciiString,
|
|
@@ -563,10 +529,8 @@ __export(typescript_exports, {
|
|
|
563
529
|
explainFiles: () => explainFiles,
|
|
564
530
|
explainIfFileIsRedirectAndImpliedFormat: () => explainIfFileIsRedirectAndImpliedFormat,
|
|
565
531
|
exportAssignmentIsAlias: () => exportAssignmentIsAlias,
|
|
566
|
-
exportStarHelper: () => exportStarHelper,
|
|
567
532
|
expressionResultIsUnused: () => expressionResultIsUnused,
|
|
568
533
|
extend: () => extend,
|
|
569
|
-
extendsHelper: () => extendsHelper,
|
|
570
534
|
extensionFromPath: () => extensionFromPath,
|
|
571
535
|
extensionIsTS: () => extensionIsTS,
|
|
572
536
|
extensionsNotSupportingExtensionlessResolution: () => extensionsNotSupportingExtensionlessResolution,
|
|
@@ -593,7 +557,6 @@ __export(typescript_exports, {
|
|
|
593
557
|
findLast: () => findLast,
|
|
594
558
|
findLastIndex: () => findLastIndex,
|
|
595
559
|
findListItemInfo: () => findListItemInfo,
|
|
596
|
-
findMap: () => findMap,
|
|
597
560
|
findModifier: () => findModifier,
|
|
598
561
|
findNextToken: () => findNextToken,
|
|
599
562
|
findPackageJson: () => findPackageJson,
|
|
@@ -641,7 +604,6 @@ __export(typescript_exports, {
|
|
|
641
604
|
forEachTsConfigPropArray: () => forEachTsConfigPropArray,
|
|
642
605
|
forEachUnique: () => forEachUnique,
|
|
643
606
|
forEachYieldExpression: () => forEachYieldExpression,
|
|
644
|
-
forSomeAncestorDirectory: () => forSomeAncestorDirectory,
|
|
645
607
|
formatColorAndReset: () => formatColorAndReset,
|
|
646
608
|
formatDiagnostic: () => formatDiagnostic,
|
|
647
609
|
formatDiagnostics: () => formatDiagnostics,
|
|
@@ -652,11 +614,8 @@ __export(typescript_exports, {
|
|
|
652
614
|
formatMessage: () => formatMessage,
|
|
653
615
|
formatStringFromArgs: () => formatStringFromArgs,
|
|
654
616
|
formatting: () => ts_formatting_exports,
|
|
655
|
-
fullTripleSlashAMDReferencePathRegEx: () => fullTripleSlashAMDReferencePathRegEx,
|
|
656
|
-
fullTripleSlashReferencePathRegEx: () => fullTripleSlashReferencePathRegEx,
|
|
657
617
|
generateDjb2Hash: () => generateDjb2Hash,
|
|
658
618
|
generateTSConfig: () => generateTSConfig,
|
|
659
|
-
generatorHelper: () => generatorHelper,
|
|
660
619
|
getAdjustedReferenceLocation: () => getAdjustedReferenceLocation,
|
|
661
620
|
getAdjustedRenameLocation: () => getAdjustedRenameLocation,
|
|
662
621
|
getAliasDeclarationFromName: () => getAliasDeclarationFromName,
|
|
@@ -675,7 +634,6 @@ __export(typescript_exports, {
|
|
|
675
634
|
getAreDeclarationMapsEnabled: () => getAreDeclarationMapsEnabled,
|
|
676
635
|
getAssignedExpandoInitializer: () => getAssignedExpandoInitializer,
|
|
677
636
|
getAssignedName: () => getAssignedName,
|
|
678
|
-
getAssignedNameOfIdentifier: () => getAssignedNameOfIdentifier,
|
|
679
637
|
getAssignmentDeclarationKind: () => getAssignmentDeclarationKind,
|
|
680
638
|
getAssignmentDeclarationPropertyAccessKind: () => getAssignmentDeclarationPropertyAccessKind,
|
|
681
639
|
getAssignmentTargetKind: () => getAssignmentTargetKind,
|
|
@@ -716,7 +674,6 @@ __export(typescript_exports, {
|
|
|
716
674
|
getContainingObjectLiteralElement: () => getContainingObjectLiteralElement,
|
|
717
675
|
getContextualTypeFromParent: () => getContextualTypeFromParent,
|
|
718
676
|
getContextualTypeFromParentOrAncestorTypeNode: () => getContextualTypeFromParentOrAncestorTypeNode,
|
|
719
|
-
getCurrentTime: () => getCurrentTime,
|
|
720
677
|
getDeclarationDiagnostics: () => getDeclarationDiagnostics,
|
|
721
678
|
getDeclarationEmitExtensionForPath: () => getDeclarationEmitExtensionForPath,
|
|
722
679
|
getDeclarationEmitOutputFilePath: () => getDeclarationEmitOutputFilePath,
|
|
@@ -818,7 +775,6 @@ __export(typescript_exports, {
|
|
|
818
775
|
getImpliedNodeFormatForFileWorker: () => getImpliedNodeFormatForFileWorker,
|
|
819
776
|
getImportNeedsImportDefaultHelper: () => getImportNeedsImportDefaultHelper,
|
|
820
777
|
getImportNeedsImportStarHelper: () => getImportNeedsImportStarHelper,
|
|
821
|
-
getIndentSize: () => getIndentSize,
|
|
822
778
|
getIndentString: () => getIndentString,
|
|
823
779
|
getInferredLibraryNameResolveFrom: () => getInferredLibraryNameResolveFrom,
|
|
824
780
|
getInitializedVariables: () => getInitializedVariables,
|
|
@@ -856,7 +812,6 @@ __export(typescript_exports, {
|
|
|
856
812
|
getJSDocSatisfiesExpressionType: () => getJSDocSatisfiesExpressionType,
|
|
857
813
|
getJSDocSatisfiesTag: () => getJSDocSatisfiesTag,
|
|
858
814
|
getJSDocTags: () => getJSDocTags,
|
|
859
|
-
getJSDocTagsNoCache: () => getJSDocTagsNoCache,
|
|
860
815
|
getJSDocTemplateTag: () => getJSDocTemplateTag,
|
|
861
816
|
getJSDocThisTag: () => getJSDocThisTag,
|
|
862
817
|
getJSDocType: () => getJSDocType,
|
|
@@ -880,7 +835,6 @@ __export(typescript_exports, {
|
|
|
880
835
|
getLineAndCharacterOfPosition: () => getLineAndCharacterOfPosition,
|
|
881
836
|
getLineInfo: () => getLineInfo,
|
|
882
837
|
getLineOfLocalPosition: () => getLineOfLocalPosition,
|
|
883
|
-
getLineOfLocalPositionFromLineMap: () => getLineOfLocalPositionFromLineMap,
|
|
884
838
|
getLineStartPositionForPosition: () => getLineStartPositionForPosition,
|
|
885
839
|
getLineStarts: () => getLineStarts,
|
|
886
840
|
getLinesBetweenPositionAndNextNonWhitespaceCharacter: () => getLinesBetweenPositionAndNextNonWhitespaceCharacter,
|
|
@@ -944,40 +898,32 @@ __export(typescript_exports, {
|
|
|
944
898
|
getNormalizedAbsolutePathWithoutRoot: () => getNormalizedAbsolutePathWithoutRoot,
|
|
945
899
|
getNormalizedPathComponents: () => getNormalizedPathComponents,
|
|
946
900
|
getObjectFlags: () => getObjectFlags,
|
|
947
|
-
getOperator: () => getOperator,
|
|
948
901
|
getOperatorAssociativity: () => getOperatorAssociativity,
|
|
949
902
|
getOperatorPrecedence: () => getOperatorPrecedence,
|
|
950
903
|
getOptionFromName: () => getOptionFromName,
|
|
951
904
|
getOptionsForLibraryResolution: () => getOptionsForLibraryResolution,
|
|
952
905
|
getOptionsNameMap: () => getOptionsNameMap,
|
|
953
906
|
getOrCreateEmitNode: () => getOrCreateEmitNode,
|
|
954
|
-
getOrCreateExternalHelpersModuleNameIfNeeded: () => getOrCreateExternalHelpersModuleNameIfNeeded,
|
|
955
907
|
getOrUpdate: () => getOrUpdate,
|
|
956
908
|
getOriginalNode: () => getOriginalNode,
|
|
957
909
|
getOriginalNodeId: () => getOriginalNodeId,
|
|
958
|
-
getOriginalSourceFile: () => getOriginalSourceFile,
|
|
959
910
|
getOutputDeclarationFileName: () => getOutputDeclarationFileName,
|
|
960
911
|
getOutputDeclarationFileNameWorker: () => getOutputDeclarationFileNameWorker,
|
|
961
912
|
getOutputExtension: () => getOutputExtension,
|
|
962
913
|
getOutputFileNames: () => getOutputFileNames,
|
|
963
914
|
getOutputJSFileNameWorker: () => getOutputJSFileNameWorker,
|
|
964
915
|
getOutputPathsFor: () => getOutputPathsFor,
|
|
965
|
-
getOutputPathsForBundle: () => getOutputPathsForBundle,
|
|
966
916
|
getOwnEmitOutputFilePath: () => getOwnEmitOutputFilePath,
|
|
967
917
|
getOwnKeys: () => getOwnKeys,
|
|
968
918
|
getOwnValues: () => getOwnValues,
|
|
969
|
-
getPackageJsonInfo: () => getPackageJsonInfo,
|
|
970
919
|
getPackageJsonTypesVersionsPaths: () => getPackageJsonTypesVersionsPaths,
|
|
971
|
-
getPackageJsonsVisibleToFile: () => getPackageJsonsVisibleToFile,
|
|
972
920
|
getPackageNameFromTypesPackageName: () => getPackageNameFromTypesPackageName,
|
|
973
921
|
getPackageScopeForPath: () => getPackageScopeForPath,
|
|
974
922
|
getParameterSymbolFromJSDoc: () => getParameterSymbolFromJSDoc,
|
|
975
|
-
getParameterTypeNode: () => getParameterTypeNode,
|
|
976
923
|
getParentNodeInSpan: () => getParentNodeInSpan,
|
|
977
924
|
getParseTreeNode: () => getParseTreeNode,
|
|
978
925
|
getParsedCommandLineOfConfigFile: () => getParsedCommandLineOfConfigFile,
|
|
979
926
|
getPathComponents: () => getPathComponents,
|
|
980
|
-
getPathComponentsRelativeTo: () => getPathComponentsRelativeTo,
|
|
981
927
|
getPathFromPathComponents: () => getPathFromPathComponents,
|
|
982
928
|
getPathUpdater: () => getPathUpdater,
|
|
983
929
|
getPathsBasePath: () => getPathsBasePath,
|
|
@@ -995,7 +941,6 @@ __export(typescript_exports, {
|
|
|
995
941
|
getPropertyArrayElementValue: () => getPropertyArrayElementValue,
|
|
996
942
|
getPropertyAssignmentAliasLikeExpression: () => getPropertyAssignmentAliasLikeExpression,
|
|
997
943
|
getPropertyNameForPropertyNameNode: () => getPropertyNameForPropertyNameNode,
|
|
998
|
-
getPropertyNameForUniqueESSymbol: () => getPropertyNameForUniqueESSymbol,
|
|
999
944
|
getPropertyNameFromType: () => getPropertyNameFromType,
|
|
1000
945
|
getPropertyNameOfBindingOrAssignmentElement: () => getPropertyNameOfBindingOrAssignmentElement,
|
|
1001
946
|
getPropertySymbolFromBindingElement: () => getPropertySymbolFromBindingElement,
|
|
@@ -1019,13 +964,14 @@ __export(typescript_exports, {
|
|
|
1019
964
|
getResolvePackageJsonExports: () => getResolvePackageJsonExports,
|
|
1020
965
|
getResolvePackageJsonImports: () => getResolvePackageJsonImports,
|
|
1021
966
|
getResolvedExternalModuleName: () => getResolvedExternalModuleName,
|
|
967
|
+
getResolvedModuleFromResolution: () => getResolvedModuleFromResolution,
|
|
968
|
+
getResolvedTypeReferenceDirectiveFromResolution: () => getResolvedTypeReferenceDirectiveFromResolution,
|
|
1022
969
|
getRestIndicatorOfBindingOrAssignmentElement: () => getRestIndicatorOfBindingOrAssignmentElement,
|
|
1023
970
|
getRestParameterElementType: () => getRestParameterElementType,
|
|
1024
971
|
getRightMostAssignedExpression: () => getRightMostAssignedExpression,
|
|
1025
972
|
getRootDeclaration: () => getRootDeclaration,
|
|
1026
973
|
getRootDirectoryOfResolutionCache: () => getRootDirectoryOfResolutionCache,
|
|
1027
974
|
getRootLength: () => getRootLength,
|
|
1028
|
-
getRootPathSplitLength: () => getRootPathSplitLength,
|
|
1029
975
|
getScriptKind: () => getScriptKind,
|
|
1030
976
|
getScriptKindFromFileName: () => getScriptKindFromFileName,
|
|
1031
977
|
getScriptTargetFeatures: () => getScriptTargetFeatures,
|
|
@@ -1037,14 +983,12 @@ __export(typescript_exports, {
|
|
|
1037
983
|
getSetAccessorValueParameter: () => getSetAccessorValueParameter,
|
|
1038
984
|
getSetExternalModuleIndicator: () => getSetExternalModuleIndicator,
|
|
1039
985
|
getShebang: () => getShebang,
|
|
1040
|
-
getSingleInitializerOfVariableStatementOrPropertyDeclaration: () => getSingleInitializerOfVariableStatementOrPropertyDeclaration,
|
|
1041
986
|
getSingleVariableOfVariableStatement: () => getSingleVariableOfVariableStatement,
|
|
1042
987
|
getSnapshotText: () => getSnapshotText,
|
|
1043
988
|
getSnippetElement: () => getSnippetElement,
|
|
1044
989
|
getSourceFileOfModule: () => getSourceFileOfModule,
|
|
1045
990
|
getSourceFileOfNode: () => getSourceFileOfNode,
|
|
1046
991
|
getSourceFilePathInNewDir: () => getSourceFilePathInNewDir,
|
|
1047
|
-
getSourceFilePathInNewDirWorker: () => getSourceFilePathInNewDirWorker,
|
|
1048
992
|
getSourceFileVersionAsHashFromText: () => getSourceFileVersionAsHashFromText,
|
|
1049
993
|
getSourceFilesToEmit: () => getSourceFilesToEmit,
|
|
1050
994
|
getSourceMapRange: () => getSourceMapRange,
|
|
@@ -1067,7 +1011,6 @@ __export(typescript_exports, {
|
|
|
1067
1011
|
getSwitchedType: () => getSwitchedType,
|
|
1068
1012
|
getSymbolId: () => getSymbolId,
|
|
1069
1013
|
getSymbolNameForPrivateIdentifier: () => getSymbolNameForPrivateIdentifier,
|
|
1070
|
-
getSymbolParentOrFail: () => getSymbolParentOrFail,
|
|
1071
1014
|
getSymbolTarget: () => getSymbolTarget,
|
|
1072
1015
|
getSyntacticClassifications: () => getSyntacticClassifications,
|
|
1073
1016
|
getSyntacticModifierFlags: () => getSyntacticModifierFlags,
|
|
@@ -1098,7 +1041,6 @@ __export(typescript_exports, {
|
|
|
1098
1041
|
getTouchingToken: () => getTouchingToken,
|
|
1099
1042
|
getTrailingCommentRanges: () => getTrailingCommentRanges,
|
|
1100
1043
|
getTrailingSemicolonDeferringWriter: () => getTrailingSemicolonDeferringWriter,
|
|
1101
|
-
getTransformFlagsSubtreeExclusions: () => getTransformFlagsSubtreeExclusions,
|
|
1102
1044
|
getTransformers: () => getTransformers,
|
|
1103
1045
|
getTsBuildInfoEmitOutputFilePath: () => getTsBuildInfoEmitOutputFilePath,
|
|
1104
1046
|
getTsConfigObjectLiteralExpression: () => getTsConfigObjectLiteralExpression,
|
|
@@ -1126,7 +1068,6 @@ __export(typescript_exports, {
|
|
|
1126
1068
|
hasAccessorModifier: () => hasAccessorModifier,
|
|
1127
1069
|
hasAmbientModifier: () => hasAmbientModifier,
|
|
1128
1070
|
hasChangesInResolutions: () => hasChangesInResolutions,
|
|
1129
|
-
hasChildOfKind: () => hasChildOfKind,
|
|
1130
1071
|
hasContextSensitiveParameters: () => hasContextSensitiveParameters,
|
|
1131
1072
|
hasDecorators: () => hasDecorators,
|
|
1132
1073
|
hasDocComment: () => hasDocComment,
|
|
@@ -1162,7 +1103,6 @@ __export(typescript_exports, {
|
|
|
1162
1103
|
hasType: () => hasType,
|
|
1163
1104
|
hasTypeArguments: () => hasTypeArguments,
|
|
1164
1105
|
hasZeroOrOneAsteriskCharacter: () => hasZeroOrOneAsteriskCharacter,
|
|
1165
|
-
helperString: () => helperString,
|
|
1166
1106
|
hostGetCanonicalFileName: () => hostGetCanonicalFileName,
|
|
1167
1107
|
hostUsesCaseSensitiveFileNames: () => hostUsesCaseSensitiveFileNames,
|
|
1168
1108
|
idText: () => idText,
|
|
@@ -1172,9 +1112,7 @@ __export(typescript_exports, {
|
|
|
1172
1112
|
identitySourceMapConsumer: () => identitySourceMapConsumer,
|
|
1173
1113
|
ignoreSourceNewlines: () => ignoreSourceNewlines,
|
|
1174
1114
|
ignoredPaths: () => ignoredPaths,
|
|
1175
|
-
importDefaultHelper: () => importDefaultHelper,
|
|
1176
1115
|
importFromModuleSpecifier: () => importFromModuleSpecifier,
|
|
1177
|
-
importStarHelper: () => importStarHelper,
|
|
1178
1116
|
indexOfAnyCharCode: () => indexOfAnyCharCode,
|
|
1179
1117
|
indexOfNode: () => indexOfNode,
|
|
1180
1118
|
indicesOf: () => indicesOf,
|
|
@@ -1182,7 +1120,6 @@ __export(typescript_exports, {
|
|
|
1182
1120
|
injectClassNamedEvaluationHelperBlockIfMissing: () => injectClassNamedEvaluationHelperBlockIfMissing,
|
|
1183
1121
|
injectClassThisAssignmentIfMissing: () => injectClassThisAssignmentIfMissing,
|
|
1184
1122
|
insertImports: () => insertImports,
|
|
1185
|
-
insertLeadingStatement: () => insertLeadingStatement,
|
|
1186
1123
|
insertSorted: () => insertSorted,
|
|
1187
1124
|
insertStatementAfterCustomPrologue: () => insertStatementAfterCustomPrologue,
|
|
1188
1125
|
insertStatementAfterStandardPrologue: () => insertStatementAfterStandardPrologue,
|
|
@@ -1198,11 +1135,9 @@ __export(typescript_exports, {
|
|
|
1198
1135
|
isAccessibilityModifier: () => isAccessibilityModifier,
|
|
1199
1136
|
isAccessor: () => isAccessor,
|
|
1200
1137
|
isAccessorModifier: () => isAccessorModifier,
|
|
1201
|
-
isAliasSymbolDeclaration: () => isAliasSymbolDeclaration,
|
|
1202
1138
|
isAliasableExpression: () => isAliasableExpression,
|
|
1203
1139
|
isAmbientModule: () => isAmbientModule,
|
|
1204
1140
|
isAmbientPropertyDeclaration: () => isAmbientPropertyDeclaration,
|
|
1205
|
-
isAnonymousFunctionDefinition: () => isAnonymousFunctionDefinition,
|
|
1206
1141
|
isAnyDirectorySeparator: () => isAnyDirectorySeparator,
|
|
1207
1142
|
isAnyImportOrBareOrAccessedRequire: () => isAnyImportOrBareOrAccessedRequire,
|
|
1208
1143
|
isAnyImportOrReExport: () => isAnyImportOrReExport,
|
|
@@ -1278,7 +1213,6 @@ __export(typescript_exports, {
|
|
|
1278
1213
|
isCatchClauseVariableDeclaration: () => isCatchClauseVariableDeclaration,
|
|
1279
1214
|
isCatchClauseVariableDeclarationOrBindingElement: () => isCatchClauseVariableDeclarationOrBindingElement,
|
|
1280
1215
|
isCheckJsEnabledForFile: () => isCheckJsEnabledForFile,
|
|
1281
|
-
isChildOfNodeWithKind: () => isChildOfNodeWithKind,
|
|
1282
1216
|
isCircularBuildOrder: () => isCircularBuildOrder,
|
|
1283
1217
|
isClassDeclaration: () => isClassDeclaration,
|
|
1284
1218
|
isClassElement: () => isClassElement,
|
|
@@ -1290,7 +1224,6 @@ __export(typescript_exports, {
|
|
|
1290
1224
|
isClassOrTypeElement: () => isClassOrTypeElement,
|
|
1291
1225
|
isClassStaticBlockDeclaration: () => isClassStaticBlockDeclaration,
|
|
1292
1226
|
isClassThisAssignmentBlock: () => isClassThisAssignmentBlock,
|
|
1293
|
-
isCollapsedRange: () => isCollapsedRange,
|
|
1294
1227
|
isColonToken: () => isColonToken,
|
|
1295
1228
|
isCommaExpression: () => isCommaExpression,
|
|
1296
1229
|
isCommaListExpression: () => isCommaListExpression,
|
|
@@ -1333,16 +1266,13 @@ __export(typescript_exports, {
|
|
|
1333
1266
|
isDeleteTarget: () => isDeleteTarget,
|
|
1334
1267
|
isDeprecatedDeclaration: () => isDeprecatedDeclaration,
|
|
1335
1268
|
isDestructuringAssignment: () => isDestructuringAssignment,
|
|
1336
|
-
isDiagnosticWithLocation: () => isDiagnosticWithLocation,
|
|
1337
1269
|
isDiskPathRoot: () => isDiskPathRoot,
|
|
1338
1270
|
isDoStatement: () => isDoStatement,
|
|
1339
1271
|
isDocumentRegistryEntry: () => isDocumentRegistryEntry,
|
|
1340
1272
|
isDotDotDotToken: () => isDotDotDotToken,
|
|
1341
1273
|
isDottedName: () => isDottedName,
|
|
1342
1274
|
isDynamicName: () => isDynamicName,
|
|
1343
|
-
isESSymbolIdentifier: () => isESSymbolIdentifier,
|
|
1344
1275
|
isEffectiveExternalModule: () => isEffectiveExternalModule,
|
|
1345
|
-
isEffectiveModuleDeclaration: () => isEffectiveModuleDeclaration,
|
|
1346
1276
|
isEffectiveStrictModeSourceFile: () => isEffectiveStrictModeSourceFile,
|
|
1347
1277
|
isElementAccessChain: () => isElementAccessChain,
|
|
1348
1278
|
isElementAccessExpression: () => isElementAccessExpression,
|
|
@@ -1412,13 +1342,11 @@ __export(typescript_exports, {
|
|
|
1412
1342
|
isFunctionOrModuleBlock: () => isFunctionOrModuleBlock,
|
|
1413
1343
|
isFunctionSymbol: () => isFunctionSymbol,
|
|
1414
1344
|
isFunctionTypeNode: () => isFunctionTypeNode,
|
|
1415
|
-
isFutureReservedKeyword: () => isFutureReservedKeyword,
|
|
1416
1345
|
isGeneratedIdentifier: () => isGeneratedIdentifier,
|
|
1417
1346
|
isGeneratedPrivateIdentifier: () => isGeneratedPrivateIdentifier,
|
|
1418
1347
|
isGetAccessor: () => isGetAccessor,
|
|
1419
1348
|
isGetAccessorDeclaration: () => isGetAccessorDeclaration,
|
|
1420
1349
|
isGetOrSetAccessorDeclaration: () => isGetOrSetAccessorDeclaration,
|
|
1421
|
-
isGlobalDeclaration: () => isGlobalDeclaration,
|
|
1422
1350
|
isGlobalScopeAugmentation: () => isGlobalScopeAugmentation,
|
|
1423
1351
|
isGlobalSourceFile: () => isGlobalSourceFile,
|
|
1424
1352
|
isGrammarError: () => isGrammarError,
|
|
@@ -1574,7 +1502,6 @@ __export(typescript_exports, {
|
|
|
1574
1502
|
isLabeledStatement: () => isLabeledStatement,
|
|
1575
1503
|
isLateVisibilityPaintedStatement: () => isLateVisibilityPaintedStatement,
|
|
1576
1504
|
isLeftHandSideExpression: () => isLeftHandSideExpression,
|
|
1577
|
-
isLeftHandSideOfAssignment: () => isLeftHandSideOfAssignment,
|
|
1578
1505
|
isLet: () => isLet,
|
|
1579
1506
|
isLineBreak: () => isLineBreak,
|
|
1580
1507
|
isLiteralComputedPropertyDeclarationName: () => isLiteralComputedPropertyDeclarationName,
|
|
@@ -1582,10 +1509,7 @@ __export(typescript_exports, {
|
|
|
1582
1509
|
isLiteralExpressionOfObject: () => isLiteralExpressionOfObject,
|
|
1583
1510
|
isLiteralImportTypeNode: () => isLiteralImportTypeNode,
|
|
1584
1511
|
isLiteralKind: () => isLiteralKind,
|
|
1585
|
-
isLiteralLikeAccess: () => isLiteralLikeAccess,
|
|
1586
|
-
isLiteralLikeElementAccess: () => isLiteralLikeElementAccess,
|
|
1587
1512
|
isLiteralNameOfPropertyDeclarationOrIndexAccess: () => isLiteralNameOfPropertyDeclarationOrIndexAccess,
|
|
1588
|
-
isLiteralTypeLikeExpression: () => isLiteralTypeLikeExpression,
|
|
1589
1513
|
isLiteralTypeLiteral: () => isLiteralTypeLiteral,
|
|
1590
1514
|
isLiteralTypeNode: () => isLiteralTypeNode,
|
|
1591
1515
|
isLocalName: () => isLocalName,
|
|
@@ -1620,7 +1544,6 @@ __export(typescript_exports, {
|
|
|
1620
1544
|
isModuleWithStringLiteralName: () => isModuleWithStringLiteralName,
|
|
1621
1545
|
isNameOfFunctionDeclaration: () => isNameOfFunctionDeclaration,
|
|
1622
1546
|
isNameOfModuleDeclaration: () => isNameOfModuleDeclaration,
|
|
1623
|
-
isNamedClassElement: () => isNamedClassElement,
|
|
1624
1547
|
isNamedDeclaration: () => isNamedDeclaration,
|
|
1625
1548
|
isNamedEvaluation: () => isNamedEvaluation,
|
|
1626
1549
|
isNamedEvaluationSource: () => isNamedEvaluationSource,
|
|
@@ -1638,7 +1561,6 @@ __export(typescript_exports, {
|
|
|
1638
1561
|
isNewExpression: () => isNewExpression,
|
|
1639
1562
|
isNewExpressionTarget: () => isNewExpressionTarget,
|
|
1640
1563
|
isNoSubstitutionTemplateLiteral: () => isNoSubstitutionTemplateLiteral,
|
|
1641
|
-
isNode: () => isNode,
|
|
1642
1564
|
isNodeArray: () => isNodeArray,
|
|
1643
1565
|
isNodeArrayMultiLine: () => isNodeArrayMultiLine,
|
|
1644
1566
|
isNodeDescendantOf: () => isNodeDescendantOf,
|
|
@@ -1647,15 +1569,11 @@ __export(typescript_exports, {
|
|
|
1647
1569
|
isNodeModulesDirectory: () => isNodeModulesDirectory,
|
|
1648
1570
|
isNodeWithPossibleHoistedDeclaration: () => isNodeWithPossibleHoistedDeclaration,
|
|
1649
1571
|
isNonContextualKeyword: () => isNonContextualKeyword,
|
|
1650
|
-
isNonExportDefaultModifier: () => isNonExportDefaultModifier,
|
|
1651
1572
|
isNonGlobalAmbientModule: () => isNonGlobalAmbientModule,
|
|
1652
|
-
isNonGlobalDeclaration: () => isNonGlobalDeclaration,
|
|
1653
|
-
isNonIncrementalBuildInfo: () => isNonIncrementalBuildInfo,
|
|
1654
1573
|
isNonNullAccess: () => isNonNullAccess,
|
|
1655
1574
|
isNonNullChain: () => isNonNullChain,
|
|
1656
1575
|
isNonNullExpression: () => isNonNullExpression,
|
|
1657
1576
|
isNonStaticMethodOrAccessorWithPrivateName: () => isNonStaticMethodOrAccessorWithPrivateName,
|
|
1658
|
-
isNotEmittedOrPartiallyEmittedNode: () => isNotEmittedOrPartiallyEmittedNode,
|
|
1659
1577
|
isNotEmittedStatement: () => isNotEmittedStatement,
|
|
1660
1578
|
isNullishCoalesce: () => isNullishCoalesce,
|
|
1661
1579
|
isNumber: () => isNumber,
|
|
@@ -1671,7 +1589,6 @@ __export(typescript_exports, {
|
|
|
1671
1589
|
isObjectLiteralMethod: () => isObjectLiteralMethod,
|
|
1672
1590
|
isObjectLiteralOrClassExpressionMethodOrAccessor: () => isObjectLiteralOrClassExpressionMethodOrAccessor,
|
|
1673
1591
|
isObjectTypeDeclaration: () => isObjectTypeDeclaration,
|
|
1674
|
-
isOctalDigit: () => isOctalDigit,
|
|
1675
1592
|
isOmittedExpression: () => isOmittedExpression,
|
|
1676
1593
|
isOptionalChain: () => isOptionalChain,
|
|
1677
1594
|
isOptionalChainRoot: () => isOptionalChainRoot,
|
|
@@ -1717,7 +1634,6 @@ __export(typescript_exports, {
|
|
|
1717
1634
|
isPropertyName: () => isPropertyName,
|
|
1718
1635
|
isPropertyNameLiteral: () => isPropertyNameLiteral,
|
|
1719
1636
|
isPropertySignature: () => isPropertySignature,
|
|
1720
|
-
isProtoSetter: () => isProtoSetter,
|
|
1721
1637
|
isPrototypeAccess: () => isPrototypeAccess,
|
|
1722
1638
|
isPrototypePropertyAssignment: () => isPrototypePropertyAssignment,
|
|
1723
1639
|
isPunctuation: () => isPunctuation,
|
|
@@ -1727,7 +1643,6 @@ __export(typescript_exports, {
|
|
|
1727
1643
|
isQuestionOrExclamationToken: () => isQuestionOrExclamationToken,
|
|
1728
1644
|
isQuestionOrPlusOrMinusToken: () => isQuestionOrPlusOrMinusToken,
|
|
1729
1645
|
isQuestionToken: () => isQuestionToken,
|
|
1730
|
-
isRawSourceMap: () => isRawSourceMap,
|
|
1731
1646
|
isReadonlyKeyword: () => isReadonlyKeyword,
|
|
1732
1647
|
isReadonlyKeywordOrPlusOrMinusToken: () => isReadonlyKeywordOrPlusOrMinusToken,
|
|
1733
1648
|
isRecognizedTripleSlashComment: () => isRecognizedTripleSlashComment,
|
|
@@ -1749,25 +1664,21 @@ __export(typescript_exports, {
|
|
|
1749
1664
|
isRootedDiskPath: () => isRootedDiskPath,
|
|
1750
1665
|
isSameEntityName: () => isSameEntityName,
|
|
1751
1666
|
isSatisfiesExpression: () => isSatisfiesExpression,
|
|
1752
|
-
isScopeMarker: () => isScopeMarker,
|
|
1753
1667
|
isSemicolonClassElement: () => isSemicolonClassElement,
|
|
1754
1668
|
isSetAccessor: () => isSetAccessor,
|
|
1755
1669
|
isSetAccessorDeclaration: () => isSetAccessorDeclaration,
|
|
1756
|
-
isShebangTrivia: () => isShebangTrivia,
|
|
1757
1670
|
isShiftOperatorOrHigher: () => isShiftOperatorOrHigher,
|
|
1758
1671
|
isShorthandAmbientModuleSymbol: () => isShorthandAmbientModuleSymbol,
|
|
1759
1672
|
isShorthandPropertyAssignment: () => isShorthandPropertyAssignment,
|
|
1760
1673
|
isSignedNumericLiteral: () => isSignedNumericLiteral,
|
|
1761
1674
|
isSimpleCopiableExpression: () => isSimpleCopiableExpression,
|
|
1762
1675
|
isSimpleInlineableExpression: () => isSimpleInlineableExpression,
|
|
1763
|
-
isSimpleParameter: () => isSimpleParameter,
|
|
1764
1676
|
isSimpleParameterList: () => isSimpleParameterList,
|
|
1765
1677
|
isSingleOrDoubleQuote: () => isSingleOrDoubleQuote,
|
|
1766
1678
|
isSourceElement: () => isSourceElement,
|
|
1767
1679
|
isSourceFile: () => isSourceFile,
|
|
1768
1680
|
isSourceFileFromLibrary: () => isSourceFileFromLibrary,
|
|
1769
1681
|
isSourceFileJS: () => isSourceFileJS,
|
|
1770
|
-
isSourceFileNotJS: () => isSourceFileNotJS,
|
|
1771
1682
|
isSourceFileNotJson: () => isSourceFileNotJson,
|
|
1772
1683
|
isSourceMapping: () => isSourceMapping,
|
|
1773
1684
|
isSpecialPropertyDeclaration: () => isSpecialPropertyDeclaration,
|
|
@@ -1780,7 +1691,6 @@ __export(typescript_exports, {
|
|
|
1780
1691
|
isStatic: () => isStatic,
|
|
1781
1692
|
isStaticModifier: () => isStaticModifier,
|
|
1782
1693
|
isString: () => isString,
|
|
1783
|
-
isStringAKeyword: () => isStringAKeyword,
|
|
1784
1694
|
isStringANonContextualKeyword: () => isStringANonContextualKeyword,
|
|
1785
1695
|
isStringAndEmptyAnonymousObjectIntersection: () => isStringAndEmptyAnonymousObjectIntersection,
|
|
1786
1696
|
isStringDoubleQuoted: () => isStringDoubleQuoted,
|
|
@@ -1793,7 +1703,6 @@ __export(typescript_exports, {
|
|
|
1793
1703
|
isStringTextContainingNode: () => isStringTextContainingNode,
|
|
1794
1704
|
isSuperCall: () => isSuperCall,
|
|
1795
1705
|
isSuperKeyword: () => isSuperKeyword,
|
|
1796
|
-
isSuperOrSuperProperty: () => isSuperOrSuperProperty,
|
|
1797
1706
|
isSuperProperty: () => isSuperProperty,
|
|
1798
1707
|
isSupportedSourceFileName: () => isSupportedSourceFileName,
|
|
1799
1708
|
isSwitchStatement: () => isSwitchStatement,
|
|
@@ -1839,7 +1748,6 @@ __export(typescript_exports, {
|
|
|
1839
1748
|
isTypeDeclaration: () => isTypeDeclaration,
|
|
1840
1749
|
isTypeElement: () => isTypeElement,
|
|
1841
1750
|
isTypeKeyword: () => isTypeKeyword,
|
|
1842
|
-
isTypeKeywordToken: () => isTypeKeywordToken,
|
|
1843
1751
|
isTypeKeywordTokenOrIdentifier: () => isTypeKeywordTokenOrIdentifier,
|
|
1844
1752
|
isTypeLiteralNode: () => isTypeLiteralNode,
|
|
1845
1753
|
isTypeNode: () => isTypeNode,
|
|
@@ -1894,9 +1802,6 @@ __export(typescript_exports, {
|
|
|
1894
1802
|
libMap: () => libMap,
|
|
1895
1803
|
libs: () => libs,
|
|
1896
1804
|
lineBreakPart: () => lineBreakPart,
|
|
1897
|
-
linkNamePart: () => linkNamePart,
|
|
1898
|
-
linkPart: () => linkPart,
|
|
1899
|
-
linkTextPart: () => linkTextPart,
|
|
1900
1805
|
loadModuleFromGlobalCache: () => loadModuleFromGlobalCache,
|
|
1901
1806
|
loadWithModeAwareCache: () => loadWithModeAwareCache,
|
|
1902
1807
|
makeIdentifierFromModuleName: () => makeIdentifierFromModuleName,
|
|
@@ -1919,10 +1824,7 @@ __export(typescript_exports, {
|
|
|
1919
1824
|
maybeBind: () => maybeBind,
|
|
1920
1825
|
maybeSetLocalizedDiagnosticMessages: () => maybeSetLocalizedDiagnosticMessages,
|
|
1921
1826
|
memoize: () => memoize,
|
|
1922
|
-
memoizeCached: () => memoizeCached,
|
|
1923
1827
|
memoizeOne: () => memoizeOne,
|
|
1924
|
-
memoizeWeak: () => memoizeWeak,
|
|
1925
|
-
metadataHelper: () => metadataHelper,
|
|
1926
1828
|
min: () => min,
|
|
1927
1829
|
minAndMax: () => minAndMax,
|
|
1928
1830
|
missingFileModifiedTime: () => missingFileModifiedTime,
|
|
@@ -1970,7 +1872,6 @@ __export(typescript_exports, {
|
|
|
1970
1872
|
nodePosToString: () => nodePosToString,
|
|
1971
1873
|
nodeSeenTracker: () => nodeSeenTracker,
|
|
1972
1874
|
nodeStartsNewLexicalEnvironment: () => nodeStartsNewLexicalEnvironment,
|
|
1973
|
-
nodeToDisplayParts: () => nodeToDisplayParts,
|
|
1974
1875
|
noop: () => noop,
|
|
1975
1876
|
noopFileWatcher: () => noopFileWatcher,
|
|
1976
1877
|
normalizePath: () => normalizePath,
|
|
@@ -1990,13 +1891,11 @@ __export(typescript_exports, {
|
|
|
1990
1891
|
optionsForBuild: () => optionsForBuild,
|
|
1991
1892
|
optionsForWatch: () => optionsForWatch,
|
|
1992
1893
|
optionsHaveChanges: () => optionsHaveChanges,
|
|
1993
|
-
optionsHaveModuleResolutionChanges: () => optionsHaveModuleResolutionChanges,
|
|
1994
1894
|
or: () => or,
|
|
1995
1895
|
orderedRemoveItem: () => orderedRemoveItem,
|
|
1996
1896
|
orderedRemoveItemAt: () => orderedRemoveItemAt,
|
|
1997
1897
|
packageIdToPackageName: () => packageIdToPackageName,
|
|
1998
1898
|
packageIdToString: () => packageIdToString,
|
|
1999
|
-
paramHelper: () => paramHelper,
|
|
2000
1899
|
parameterIsThisKeyword: () => parameterIsThisKeyword,
|
|
2001
1900
|
parameterNamePart: () => parameterNamePart,
|
|
2002
1901
|
parseBaseNodeFactory: () => parseBaseNodeFactory,
|
|
@@ -2029,7 +1928,6 @@ __export(typescript_exports, {
|
|
|
2029
1928
|
patternText: () => patternText,
|
|
2030
1929
|
performIncrementalCompilation: () => performIncrementalCompilation,
|
|
2031
1930
|
performance: () => ts_performance_exports,
|
|
2032
|
-
plainJSErrors: () => plainJSErrors,
|
|
2033
1931
|
positionBelongsToNode: () => positionBelongsToNode,
|
|
2034
1932
|
positionIsASICandidate: () => positionIsASICandidate,
|
|
2035
1933
|
positionIsSynthesized: () => positionIsSynthesized,
|
|
@@ -2042,7 +1940,6 @@ __export(typescript_exports, {
|
|
|
2042
1940
|
programContainsEsModules: () => programContainsEsModules,
|
|
2043
1941
|
programContainsModules: () => programContainsModules,
|
|
2044
1942
|
projectReferenceIsEqualTo: () => projectReferenceIsEqualTo,
|
|
2045
|
-
propKeyHelper: () => propKeyHelper,
|
|
2046
1943
|
propertyNamePart: () => propertyNamePart,
|
|
2047
1944
|
pseudoBigIntToString: () => pseudoBigIntToString,
|
|
2048
1945
|
punctuationPart: () => punctuationPart,
|
|
@@ -2065,7 +1962,6 @@ __export(typescript_exports, {
|
|
|
2065
1962
|
rangeStartPositionsAreOnSameLine: () => rangeStartPositionsAreOnSameLine,
|
|
2066
1963
|
readBuilderProgram: () => readBuilderProgram,
|
|
2067
1964
|
readConfigFile: () => readConfigFile,
|
|
2068
|
-
readHelper: () => readHelper,
|
|
2069
1965
|
readJson: () => readJson,
|
|
2070
1966
|
readJsonConfigFile: () => readJsonConfigFile,
|
|
2071
1967
|
readJsonOrUndefined: () => readJsonOrUndefined,
|
|
@@ -2084,7 +1980,6 @@ __export(typescript_exports, {
|
|
|
2084
1980
|
removeFileExtension: () => removeFileExtension,
|
|
2085
1981
|
removeIgnoredPath: () => removeIgnoredPath,
|
|
2086
1982
|
removeMinAndVersionNumbers: () => removeMinAndVersionNumbers,
|
|
2087
|
-
removeOptionality: () => removeOptionality,
|
|
2088
1983
|
removePrefix: () => removePrefix,
|
|
2089
1984
|
removeSuffix: () => removeSuffix,
|
|
2090
1985
|
removeTrailingDirectorySeparator: () => removeTrailingDirectorySeparator,
|
|
@@ -2103,20 +1998,16 @@ __export(typescript_exports, {
|
|
|
2103
1998
|
resolveTripleslashReference: () => resolveTripleslashReference,
|
|
2104
1999
|
resolveTypeReferenceDirective: () => resolveTypeReferenceDirective,
|
|
2105
2000
|
resolvingEmptyArray: () => resolvingEmptyArray,
|
|
2106
|
-
restHelper: () => restHelper,
|
|
2107
2001
|
returnFalse: () => returnFalse,
|
|
2108
2002
|
returnNoopFileWatcher: () => returnNoopFileWatcher,
|
|
2109
2003
|
returnTrue: () => returnTrue,
|
|
2110
2004
|
returnUndefined: () => returnUndefined,
|
|
2111
2005
|
returnsPromise: () => returnsPromise,
|
|
2112
|
-
runInitializersHelper: () => runInitializersHelper,
|
|
2113
2006
|
sameFlatMap: () => sameFlatMap,
|
|
2114
2007
|
sameMap: () => sameMap,
|
|
2115
2008
|
sameMapping: () => sameMapping,
|
|
2116
|
-
scanShebangTrivia: () => scanShebangTrivia,
|
|
2117
2009
|
scanTokenAtPosition: () => scanTokenAtPosition,
|
|
2118
2010
|
scanner: () => scanner,
|
|
2119
|
-
screenStartingMessageCodes: () => screenStartingMessageCodes,
|
|
2120
2011
|
semanticDiagnosticsOptionDeclarations: () => semanticDiagnosticsOptionDeclarations,
|
|
2121
2012
|
serializeCompilerOptions: () => serializeCompilerOptions,
|
|
2122
2013
|
server: () => ts_server_exports4,
|
|
@@ -2124,16 +2015,13 @@ __export(typescript_exports, {
|
|
|
2124
2015
|
setCommentRange: () => setCommentRange,
|
|
2125
2016
|
setConfigFileInOptions: () => setConfigFileInOptions,
|
|
2126
2017
|
setConstantValue: () => setConstantValue,
|
|
2127
|
-
setEachParent: () => setEachParent,
|
|
2128
2018
|
setEmitFlags: () => setEmitFlags,
|
|
2129
|
-
setFunctionNameHelper: () => setFunctionNameHelper,
|
|
2130
2019
|
setGetSourceFileAsHashVersioned: () => setGetSourceFileAsHashVersioned,
|
|
2131
2020
|
setIdentifierAutoGenerate: () => setIdentifierAutoGenerate,
|
|
2132
2021
|
setIdentifierGeneratedImportReference: () => setIdentifierGeneratedImportReference,
|
|
2133
2022
|
setIdentifierTypeArguments: () => setIdentifierTypeArguments,
|
|
2134
2023
|
setInternalEmitFlags: () => setInternalEmitFlags,
|
|
2135
2024
|
setLocalizedDiagnosticMessages: () => setLocalizedDiagnosticMessages,
|
|
2136
|
-
setModuleDefaultHelper: () => setModuleDefaultHelper,
|
|
2137
2025
|
setNodeChildren: () => setNodeChildren,
|
|
2138
2026
|
setNodeFlags: () => setNodeFlags,
|
|
2139
2027
|
setObjectAllocator: () => setObjectAllocator,
|
|
@@ -2162,7 +2050,6 @@ __export(typescript_exports, {
|
|
|
2162
2050
|
shouldPreserveConstEnums: () => shouldPreserveConstEnums,
|
|
2163
2051
|
shouldUseUriStyleNodeCoreModules: () => shouldUseUriStyleNodeCoreModules,
|
|
2164
2052
|
showModuleSpecifier: () => showModuleSpecifier,
|
|
2165
|
-
signatureHasLiteralTypes: () => signatureHasLiteralTypes,
|
|
2166
2053
|
signatureHasRestParameter: () => signatureHasRestParameter,
|
|
2167
2054
|
signatureToDisplayParts: () => signatureToDisplayParts,
|
|
2168
2055
|
single: () => single,
|
|
@@ -2171,7 +2058,6 @@ __export(typescript_exports, {
|
|
|
2171
2058
|
singleOrMany: () => singleOrMany,
|
|
2172
2059
|
singleOrUndefined: () => singleOrUndefined,
|
|
2173
2060
|
skipAlias: () => skipAlias,
|
|
2174
|
-
skipAssertions: () => skipAssertions,
|
|
2175
2061
|
skipConstraint: () => skipConstraint,
|
|
2176
2062
|
skipOuterExpressions: () => skipOuterExpressions,
|
|
2177
2063
|
skipParentheses: () => skipParentheses,
|
|
@@ -2192,7 +2078,6 @@ __export(typescript_exports, {
|
|
|
2192
2078
|
sourceMapCommentRegExpDontCareLineStart: () => sourceMapCommentRegExpDontCareLineStart,
|
|
2193
2079
|
spacePart: () => spacePart,
|
|
2194
2080
|
spanMap: () => spanMap,
|
|
2195
|
-
spreadArrayHelper: () => spreadArrayHelper,
|
|
2196
2081
|
stableSort: () => stableSort,
|
|
2197
2082
|
startEndContainsRange: () => startEndContainsRange,
|
|
2198
2083
|
startEndOverlapsWithStartEnd: () => startEndOverlapsWithStartEnd,
|
|
@@ -2206,10 +2091,8 @@ __export(typescript_exports, {
|
|
|
2206
2091
|
stringToToken: () => stringToToken,
|
|
2207
2092
|
stripQuotes: () => stripQuotes,
|
|
2208
2093
|
supportedDeclarationExtensions: () => supportedDeclarationExtensions,
|
|
2209
|
-
supportedJSExtensions: () => supportedJSExtensions,
|
|
2210
2094
|
supportedJSExtensionsFlat: () => supportedJSExtensionsFlat,
|
|
2211
2095
|
supportedLocaleDirectories: () => supportedLocaleDirectories,
|
|
2212
|
-
supportedTSExtensions: () => supportedTSExtensions,
|
|
2213
2096
|
supportedTSExtensionsFlat: () => supportedTSExtensionsFlat,
|
|
2214
2097
|
supportedTSImplementationExtensions: () => supportedTSImplementationExtensions,
|
|
2215
2098
|
suppressLeadingAndTrailingTrivia: () => suppressLeadingAndTrailingTrivia,
|
|
@@ -2218,16 +2101,12 @@ __export(typescript_exports, {
|
|
|
2218
2101
|
symbolEscapedNameNoDefault: () => symbolEscapedNameNoDefault,
|
|
2219
2102
|
symbolName: () => symbolName,
|
|
2220
2103
|
symbolNameNoDefault: () => symbolNameNoDefault,
|
|
2221
|
-
symbolPart: () => symbolPart,
|
|
2222
2104
|
symbolToDisplayParts: () => symbolToDisplayParts,
|
|
2223
|
-
syntaxMayBeASICandidate: () => syntaxMayBeASICandidate,
|
|
2224
|
-
syntaxRequiresTrailingSemicolonOrASI: () => syntaxRequiresTrailingSemicolonOrASI,
|
|
2225
2105
|
sys: () => sys,
|
|
2226
2106
|
sysLog: () => sysLog,
|
|
2227
2107
|
tagNamesAreEquivalent: () => tagNamesAreEquivalent,
|
|
2228
2108
|
takeWhile: () => takeWhile,
|
|
2229
2109
|
targetOptionDeclaration: () => targetOptionDeclaration,
|
|
2230
|
-
templateObjectHelper: () => templateObjectHelper,
|
|
2231
2110
|
testFormatSettings: () => testFormatSettings,
|
|
2232
2111
|
textChangeRangeIsUnchanged: () => textChangeRangeIsUnchanged,
|
|
2233
2112
|
textChangeRangeNewSpan: () => textChangeRangeNewSpan,
|
|
@@ -2256,7 +2135,6 @@ __export(typescript_exports, {
|
|
|
2256
2135
|
toBuilderStateFileInfoForMultiEmit: () => toBuilderStateFileInfoForMultiEmit,
|
|
2257
2136
|
toEditorSettings: () => toEditorSettings,
|
|
2258
2137
|
toFileNameLowerCase: () => toFileNameLowerCase,
|
|
2259
|
-
toLowerCase: () => toLowerCase,
|
|
2260
2138
|
toPath: () => toPath,
|
|
2261
2139
|
toProgramEmitPending: () => toProgramEmitPending,
|
|
2262
2140
|
tokenIsIdentifierOrKeyword: () => tokenIsIdentifierOrKeyword,
|
|
@@ -2310,7 +2188,6 @@ __export(typescript_exports, {
|
|
|
2310
2188
|
tryGetPropertyNameOfBindingOrAssignmentElement: () => tryGetPropertyNameOfBindingOrAssignmentElement,
|
|
2311
2189
|
tryGetSourceMappingURL: () => tryGetSourceMappingURL,
|
|
2312
2190
|
tryGetTextOfPropertyName: () => tryGetTextOfPropertyName,
|
|
2313
|
-
tryIOAndConsumeErrors: () => tryIOAndConsumeErrors,
|
|
2314
2191
|
tryParseJson: () => tryParseJson,
|
|
2315
2192
|
tryParsePattern: () => tryParsePattern,
|
|
2316
2193
|
tryParsePatterns: () => tryParsePatterns,
|
|
@@ -2332,7 +2209,6 @@ __export(typescript_exports, {
|
|
|
2332
2209
|
unescapeLeadingUnderscores: () => unescapeLeadingUnderscores,
|
|
2333
2210
|
unmangleScopedPackageName: () => unmangleScopedPackageName,
|
|
2334
2211
|
unorderedRemoveItem: () => unorderedRemoveItem,
|
|
2335
|
-
unorderedRemoveItemAt: () => unorderedRemoveItemAt,
|
|
2336
2212
|
unreachableCodeIsError: () => unreachableCodeIsError,
|
|
2337
2213
|
unsetNodeChildren: () => unsetNodeChildren,
|
|
2338
2214
|
unusedLabelIsError: () => unusedLabelIsError,
|
|
@@ -2345,11 +2221,9 @@ __export(typescript_exports, {
|
|
|
2345
2221
|
updateSharedExtendedConfigFileWatcher: () => updateSharedExtendedConfigFileWatcher,
|
|
2346
2222
|
updateSourceFile: () => updateSourceFile,
|
|
2347
2223
|
updateWatchingWildcardDirectories: () => updateWatchingWildcardDirectories,
|
|
2348
|
-
usesExtensionsOnImports: () => usesExtensionsOnImports,
|
|
2349
2224
|
usingSingleLineStringWriter: () => usingSingleLineStringWriter,
|
|
2350
2225
|
utf16EncodeAsString: () => utf16EncodeAsString,
|
|
2351
2226
|
validateLocaleAndSetLanguage: () => validateLocaleAndSetLanguage,
|
|
2352
|
-
valuesHelper: () => valuesHelper,
|
|
2353
2227
|
version: () => version,
|
|
2354
2228
|
versionMajorMinor: () => versionMajorMinor,
|
|
2355
2229
|
visitArray: () => visitArray,
|
|
@@ -2362,7 +2236,6 @@ __export(typescript_exports, {
|
|
|
2362
2236
|
visitNodes: () => visitNodes2,
|
|
2363
2237
|
visitParameterList: () => visitParameterList,
|
|
2364
2238
|
walkUpBindingElementsAndPatterns: () => walkUpBindingElementsAndPatterns,
|
|
2365
|
-
walkUpLexicalEnvironments: () => walkUpLexicalEnvironments,
|
|
2366
2239
|
walkUpOuterExpressions: () => walkUpOuterExpressions,
|
|
2367
2240
|
walkUpParenthesizedExpressions: () => walkUpParenthesizedExpressions,
|
|
2368
2241
|
walkUpParenthesizedTypes: () => walkUpParenthesizedTypes,
|
|
@@ -2377,7 +2250,7 @@ module.exports = __toCommonJS(typescript_exports);
|
|
|
2377
2250
|
|
|
2378
2251
|
// src/compiler/corePublic.ts
|
|
2379
2252
|
var versionMajorMinor = "5.6";
|
|
2380
|
-
var version = `${versionMajorMinor}.0-dev.
|
|
2253
|
+
var version = `${versionMajorMinor}.0-dev.20240628`;
|
|
2381
2254
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
2382
2255
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
2383
2256
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -2388,7 +2261,6 @@ var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
|
2388
2261
|
// src/compiler/core.ts
|
|
2389
2262
|
var emptyArray = [];
|
|
2390
2263
|
var emptyMap = /* @__PURE__ */ new Map();
|
|
2391
|
-
var emptySet = /* @__PURE__ */ new Set();
|
|
2392
2264
|
function length(array) {
|
|
2393
2265
|
return array !== void 0 ? array.length : 0;
|
|
2394
2266
|
}
|
|
@@ -2513,15 +2385,6 @@ function findLastIndex(array, predicate, startIndex) {
|
|
|
2513
2385
|
}
|
|
2514
2386
|
return -1;
|
|
2515
2387
|
}
|
|
2516
|
-
function findMap(array, callback) {
|
|
2517
|
-
for (let i = 0; i < array.length; i++) {
|
|
2518
|
-
const result = callback(array[i], i);
|
|
2519
|
-
if (result) {
|
|
2520
|
-
return result;
|
|
2521
|
-
}
|
|
2522
|
-
}
|
|
2523
|
-
return Debug.fail();
|
|
2524
|
-
}
|
|
2525
2388
|
function contains(array, value, equalityComparer = equateValues) {
|
|
2526
2389
|
if (array !== void 0) {
|
|
2527
2390
|
for (let i = 0; i < array.length; i++) {
|
|
@@ -2897,15 +2760,6 @@ function insertSorted(array, insert, compare, equalityComparer, allowDuplicates)
|
|
|
2897
2760
|
function sortAndDeduplicate(array, comparer, equalityComparer) {
|
|
2898
2761
|
return deduplicateSorted(sort(array, comparer), equalityComparer ?? comparer ?? compareStringsCaseSensitive);
|
|
2899
2762
|
}
|
|
2900
|
-
function arrayIsSorted(array, comparer) {
|
|
2901
|
-
if (array.length < 2) return true;
|
|
2902
|
-
for (let i = 1, len = array.length; i < len; i++) {
|
|
2903
|
-
if (comparer(array[i - 1], array[i]) === 1 /* GreaterThan */) {
|
|
2904
|
-
return false;
|
|
2905
|
-
}
|
|
2906
|
-
}
|
|
2907
|
-
return true;
|
|
2908
|
-
}
|
|
2909
2763
|
function arrayIsEqualTo(array1, array2, equalityComparer = equateValues) {
|
|
2910
2764
|
if (array1 === void 0 || array2 === void 0) {
|
|
2911
2765
|
return array1 === array2;
|
|
@@ -3508,46 +3362,6 @@ function memoizeOne(callback) {
|
|
|
3508
3362
|
return value;
|
|
3509
3363
|
};
|
|
3510
3364
|
}
|
|
3511
|
-
function memoizeWeak(callback) {
|
|
3512
|
-
const map2 = /* @__PURE__ */ new WeakMap();
|
|
3513
|
-
return (arg) => {
|
|
3514
|
-
let value = map2.get(arg);
|
|
3515
|
-
if (value === void 0 && !map2.has(arg)) {
|
|
3516
|
-
value = callback(arg);
|
|
3517
|
-
map2.set(arg, value);
|
|
3518
|
-
}
|
|
3519
|
-
return value;
|
|
3520
|
-
};
|
|
3521
|
-
}
|
|
3522
|
-
function memoizeCached(callback, cache) {
|
|
3523
|
-
return (...args) => {
|
|
3524
|
-
let value = cache.get(args);
|
|
3525
|
-
if (value === void 0 && !cache.has(args)) {
|
|
3526
|
-
value = callback(...args);
|
|
3527
|
-
cache.set(args, value);
|
|
3528
|
-
}
|
|
3529
|
-
return value;
|
|
3530
|
-
};
|
|
3531
|
-
}
|
|
3532
|
-
function compose(a, b, c, d, e) {
|
|
3533
|
-
if (!!e) {
|
|
3534
|
-
const args = [];
|
|
3535
|
-
for (let i = 0; i < arguments.length; i++) {
|
|
3536
|
-
args[i] = arguments[i];
|
|
3537
|
-
}
|
|
3538
|
-
return (t) => reduceLeft(args, (u, f) => f(u), t);
|
|
3539
|
-
} else if (d) {
|
|
3540
|
-
return (t) => d(c(b(a(t))));
|
|
3541
|
-
} else if (c) {
|
|
3542
|
-
return (t) => c(b(a(t)));
|
|
3543
|
-
} else if (b) {
|
|
3544
|
-
return (t) => b(a(t));
|
|
3545
|
-
} else if (a) {
|
|
3546
|
-
return (t) => a(t);
|
|
3547
|
-
} else {
|
|
3548
|
-
return (t) => t;
|
|
3549
|
-
}
|
|
3550
|
-
}
|
|
3551
3365
|
var AssertionLevel = /* @__PURE__ */ ((AssertionLevel2) => {
|
|
3552
3366
|
AssertionLevel2[AssertionLevel2["None"] = 0] = "None";
|
|
3553
3367
|
AssertionLevel2[AssertionLevel2["Normal"] = 1] = "Normal";
|
|
@@ -6391,11 +6205,6 @@ var SymbolAccessibility = /* @__PURE__ */ ((SymbolAccessibility2) => {
|
|
|
6391
6205
|
SymbolAccessibility2[SymbolAccessibility2["NotResolved"] = 3] = "NotResolved";
|
|
6392
6206
|
return SymbolAccessibility2;
|
|
6393
6207
|
})(SymbolAccessibility || {});
|
|
6394
|
-
var SyntheticSymbolKind = /* @__PURE__ */ ((SyntheticSymbolKind2) => {
|
|
6395
|
-
SyntheticSymbolKind2[SyntheticSymbolKind2["UnionOrIntersection"] = 0] = "UnionOrIntersection";
|
|
6396
|
-
SyntheticSymbolKind2[SyntheticSymbolKind2["Spread"] = 1] = "Spread";
|
|
6397
|
-
return SyntheticSymbolKind2;
|
|
6398
|
-
})(SyntheticSymbolKind || {});
|
|
6399
6208
|
var TypePredicateKind = /* @__PURE__ */ ((TypePredicateKind2) => {
|
|
6400
6209
|
TypePredicateKind2[TypePredicateKind2["This"] = 0] = "This";
|
|
6401
6210
|
TypePredicateKind2[TypePredicateKind2["Identifier"] = 1] = "Identifier";
|
|
@@ -8452,6 +8261,7 @@ var sys = (() => {
|
|
|
8452
8261
|
writeFile: writeFile2,
|
|
8453
8262
|
watchFile: watchFile2,
|
|
8454
8263
|
watchDirectory,
|
|
8264
|
+
preferNonRecursiveWatch: !fsSupportsRecursiveFsWatch,
|
|
8455
8265
|
resolvePath: (path) => _path.resolve(path),
|
|
8456
8266
|
fileExists,
|
|
8457
8267
|
directoryExists,
|
|
@@ -15287,13 +15097,6 @@ function getJSDocTags(node) {
|
|
|
15287
15097
|
false
|
|
15288
15098
|
);
|
|
15289
15099
|
}
|
|
15290
|
-
function getJSDocTagsNoCache(node) {
|
|
15291
|
-
return getJSDocTagsWorker(
|
|
15292
|
-
node,
|
|
15293
|
-
/*noCache*/
|
|
15294
|
-
true
|
|
15295
|
-
);
|
|
15296
|
-
}
|
|
15297
15100
|
function getFirstJSDocTag(node, predicate, noCache) {
|
|
15298
15101
|
return find(getJSDocTagsWorker(node, noCache), predicate);
|
|
15299
15102
|
}
|
|
@@ -15396,9 +15199,6 @@ function isNamedExportBindings(node) {
|
|
|
15396
15199
|
function isJSDocPropertyLikeTag(node) {
|
|
15397
15200
|
return node.kind === 348 /* JSDocPropertyTag */ || node.kind === 341 /* JSDocParameterTag */;
|
|
15398
15201
|
}
|
|
15399
|
-
function isNode(node) {
|
|
15400
|
-
return isNodeKind(node.kind);
|
|
15401
|
-
}
|
|
15402
15202
|
function isNodeKind(kind) {
|
|
15403
15203
|
return kind >= 166 /* FirstNode */;
|
|
15404
15204
|
}
|
|
@@ -15610,17 +15410,6 @@ function isMethodOrAccessor(node) {
|
|
|
15610
15410
|
return false;
|
|
15611
15411
|
}
|
|
15612
15412
|
}
|
|
15613
|
-
function isNamedClassElement(node) {
|
|
15614
|
-
switch (node.kind) {
|
|
15615
|
-
case 174 /* MethodDeclaration */:
|
|
15616
|
-
case 177 /* GetAccessor */:
|
|
15617
|
-
case 178 /* SetAccessor */:
|
|
15618
|
-
case 172 /* PropertyDeclaration */:
|
|
15619
|
-
return true;
|
|
15620
|
-
default:
|
|
15621
|
-
return false;
|
|
15622
|
-
}
|
|
15623
|
-
}
|
|
15624
15413
|
function isModifierLike(node) {
|
|
15625
15414
|
return isModifier(node) || isDecorator(node);
|
|
15626
15415
|
}
|
|
@@ -15854,9 +15643,6 @@ function isAssertionExpression(node) {
|
|
|
15854
15643
|
const kind = node.kind;
|
|
15855
15644
|
return kind === 216 /* TypeAssertionExpression */ || kind === 234 /* AsExpression */;
|
|
15856
15645
|
}
|
|
15857
|
-
function isNotEmittedOrPartiallyEmittedNode(node) {
|
|
15858
|
-
return isNotEmittedStatement(node) || isPartiallyEmittedExpression(node);
|
|
15859
|
-
}
|
|
15860
15646
|
function isIterationStatement(node, lookInLabeledStatements) {
|
|
15861
15647
|
switch (node.kind) {
|
|
15862
15648
|
case 248 /* ForStatement */:
|
|
@@ -16341,6 +16127,12 @@ function projectReferenceIsEqualTo(oldRef, newRef) {
|
|
|
16341
16127
|
function moduleResolutionIsEqualTo(oldResolution, newResolution) {
|
|
16342
16128
|
return oldResolution === newResolution || oldResolution.resolvedModule === newResolution.resolvedModule || !!oldResolution.resolvedModule && !!newResolution.resolvedModule && oldResolution.resolvedModule.isExternalLibraryImport === newResolution.resolvedModule.isExternalLibraryImport && oldResolution.resolvedModule.extension === newResolution.resolvedModule.extension && oldResolution.resolvedModule.resolvedFileName === newResolution.resolvedModule.resolvedFileName && oldResolution.resolvedModule.originalPath === newResolution.resolvedModule.originalPath && packageIdIsEqual(oldResolution.resolvedModule.packageId, newResolution.resolvedModule.packageId) && oldResolution.alternateResult === newResolution.alternateResult;
|
|
16343
16129
|
}
|
|
16130
|
+
function getResolvedModuleFromResolution(resolution) {
|
|
16131
|
+
return resolution.resolvedModule;
|
|
16132
|
+
}
|
|
16133
|
+
function getResolvedTypeReferenceDirectiveFromResolution(resolution) {
|
|
16134
|
+
return resolution.resolvedTypeReferenceDirective;
|
|
16135
|
+
}
|
|
16344
16136
|
function createModuleNotFoundChain(sourceFile, host, moduleReference, mode, packageName) {
|
|
16345
16137
|
var _a;
|
|
16346
16138
|
const alternateResult = (_a = host.getResolvedModule(sourceFile, moduleReference, mode)) == null ? void 0 : _a.alternateResult;
|
|
@@ -17772,15 +17564,6 @@ function isPartOfTypeNode(node) {
|
|
|
17772
17564
|
function isPartOfTypeExpressionWithTypeArguments(node) {
|
|
17773
17565
|
return isJSDocImplementsTag(node.parent) || isJSDocAugmentsTag(node.parent) || isHeritageClause(node.parent) && !isExpressionWithTypeArgumentsInClassExtendsClause(node);
|
|
17774
17566
|
}
|
|
17775
|
-
function isChildOfNodeWithKind(node, kind) {
|
|
17776
|
-
while (node) {
|
|
17777
|
-
if (node.kind === kind) {
|
|
17778
|
-
return true;
|
|
17779
|
-
}
|
|
17780
|
-
node = node.parent;
|
|
17781
|
-
}
|
|
17782
|
-
return false;
|
|
17783
|
-
}
|
|
17784
17567
|
function forEachReturnStatement(body, visitor) {
|
|
17785
17568
|
return traverse(body);
|
|
17786
17569
|
function traverse(node) {
|
|
@@ -18117,9 +17900,6 @@ function getImmediatelyInvokedFunctionExpression(func) {
|
|
|
18117
17900
|
}
|
|
18118
17901
|
}
|
|
18119
17902
|
}
|
|
18120
|
-
function isSuperOrSuperProperty(node) {
|
|
18121
|
-
return node.kind === 108 /* SuperKeyword */ || isSuperProperty(node);
|
|
18122
|
-
}
|
|
18123
17903
|
function isSuperProperty(node) {
|
|
18124
17904
|
const kind = node.kind;
|
|
18125
17905
|
return (kind === 211 /* PropertyAccessExpression */ || kind === 212 /* ElementAccessExpression */) && node.expression.kind === 108 /* SuperKeyword */;
|
|
@@ -18393,9 +18173,6 @@ function isFullSourceFile(sourceFile) {
|
|
|
18393
18173
|
function isSourceFileJS(file) {
|
|
18394
18174
|
return isInJSFile(file);
|
|
18395
18175
|
}
|
|
18396
|
-
function isSourceFileNotJS(file) {
|
|
18397
|
-
return !isInJSFile(file);
|
|
18398
|
-
}
|
|
18399
18176
|
function isInJSFile(node) {
|
|
18400
18177
|
return !!node && !!(node.flags & 524288 /* JavaScriptFile */);
|
|
18401
18178
|
}
|
|
@@ -19251,12 +19028,6 @@ function isIdentifierName(node) {
|
|
|
19251
19028
|
}
|
|
19252
19029
|
return false;
|
|
19253
19030
|
}
|
|
19254
|
-
function isAliasSymbolDeclaration(node) {
|
|
19255
|
-
if (node.kind === 271 /* ImportEqualsDeclaration */ || node.kind === 270 /* NamespaceExportDeclaration */ || node.kind === 273 /* ImportClause */ && !!node.name || node.kind === 274 /* NamespaceImport */ || node.kind === 280 /* NamespaceExport */ || node.kind === 276 /* ImportSpecifier */ || node.kind === 281 /* ExportSpecifier */ || node.kind === 277 /* ExportAssignment */ && exportAssignmentIsAlias(node)) {
|
|
19256
|
-
return true;
|
|
19257
|
-
}
|
|
19258
|
-
return isInJSFile(node) && (isBinaryExpression(node) && getAssignmentDeclarationKind(node) === 2 /* ModuleExports */ && exportAssignmentIsAlias(node) || isPropertyAccessExpression(node) && isBinaryExpression(node.parent) && node.parent.left === node && node.parent.operatorToken.kind === 64 /* EqualsToken */ && isAliasableExpression(node.parent.right));
|
|
19259
|
-
}
|
|
19260
19031
|
function getAliasDeclarationFromName(node) {
|
|
19261
19032
|
switch (node.parent.kind) {
|
|
19262
19033
|
case 273 /* ImportClause */:
|
|
@@ -19350,17 +19121,10 @@ function isContextualKeyword(token) {
|
|
|
19350
19121
|
function isNonContextualKeyword(token) {
|
|
19351
19122
|
return isKeyword(token) && !isContextualKeyword(token);
|
|
19352
19123
|
}
|
|
19353
|
-
function isFutureReservedKeyword(token) {
|
|
19354
|
-
return 119 /* FirstFutureReservedWord */ <= token && token <= 127 /* LastFutureReservedWord */;
|
|
19355
|
-
}
|
|
19356
19124
|
function isStringANonContextualKeyword(name) {
|
|
19357
19125
|
const token = stringToToken(name);
|
|
19358
19126
|
return token !== void 0 && isNonContextualKeyword(token);
|
|
19359
19127
|
}
|
|
19360
|
-
function isStringAKeyword(name) {
|
|
19361
|
-
const token = stringToToken(name);
|
|
19362
|
-
return token !== void 0 && isKeyword(token);
|
|
19363
|
-
}
|
|
19364
19128
|
function isIdentifierANonContextualKeyword(node) {
|
|
19365
19129
|
const originalKeywordKind = identifierToKeywordKind(node);
|
|
19366
19130
|
return !!originalKeywordKind && !isContextualKeyword(originalKeywordKind);
|
|
@@ -19469,9 +19233,6 @@ function getTextOfIdentifierOrLiteral(node) {
|
|
|
19469
19233
|
function getEscapedTextOfIdentifierOrLiteral(node) {
|
|
19470
19234
|
return isMemberName(node) ? node.escapedText : isJsxNamespacedName(node) ? getEscapedTextOfJsxNamespacedName(node) : escapeLeadingUnderscores(node.text);
|
|
19471
19235
|
}
|
|
19472
|
-
function getPropertyNameForUniqueESSymbol(symbol) {
|
|
19473
|
-
return `__@${getSymbolId(symbol)}@${symbol.escapedName}`;
|
|
19474
|
-
}
|
|
19475
19236
|
function getSymbolNameForPrivateIdentifier(containingClassSymbol, description3) {
|
|
19476
19237
|
return `__#${getSymbolId(containingClassSymbol)}@${description3}`;
|
|
19477
19238
|
}
|
|
@@ -19481,9 +19242,6 @@ function isKnownSymbol(symbol) {
|
|
|
19481
19242
|
function isPrivateIdentifierSymbol(symbol) {
|
|
19482
19243
|
return startsWith(symbol.escapedName, "__#");
|
|
19483
19244
|
}
|
|
19484
|
-
function isESSymbolIdentifier(node) {
|
|
19485
|
-
return node.kind === 80 /* Identifier */ && node.escapedText === "Symbol";
|
|
19486
|
-
}
|
|
19487
19245
|
function isProtoSetter(node) {
|
|
19488
19246
|
return isIdentifier(node) ? idText(node) === "__proto__" : isStringLiteral(node) && node.text === "__proto__";
|
|
19489
19247
|
}
|
|
@@ -19573,9 +19331,6 @@ function nodeStartsNewLexicalEnvironment(node) {
|
|
|
19573
19331
|
function nodeIsSynthesized(range) {
|
|
19574
19332
|
return positionIsSynthesized(range.pos) || positionIsSynthesized(range.end);
|
|
19575
19333
|
}
|
|
19576
|
-
function getOriginalSourceFile(sourceFile) {
|
|
19577
|
-
return getParseTreeNode(sourceFile, isSourceFile) || sourceFile;
|
|
19578
|
-
}
|
|
19579
19334
|
var Associativity = /* @__PURE__ */ ((Associativity2) => {
|
|
19580
19335
|
Associativity2[Associativity2["Left"] = 0] = "Left";
|
|
19581
19336
|
Associativity2[Associativity2["Right"] = 1] = "Right";
|
|
@@ -20735,9 +20490,6 @@ function tryGetClassImplementingOrExtendingExpressionWithTypeArguments(node) {
|
|
|
20735
20490
|
function isAssignmentExpression(node, excludeCompoundAssignment) {
|
|
20736
20491
|
return isBinaryExpression(node) && (excludeCompoundAssignment ? node.operatorToken.kind === 64 /* EqualsToken */ : isAssignmentOperator(node.operatorToken.kind)) && isLeftHandSideExpression(node.left);
|
|
20737
20492
|
}
|
|
20738
|
-
function isLeftHandSideOfAssignment(node) {
|
|
20739
|
-
return isAssignmentExpression(node.parent) && node.parent.left === node;
|
|
20740
|
-
}
|
|
20741
20493
|
function isDestructuringAssignment(node) {
|
|
20742
20494
|
if (isAssignmentExpression(
|
|
20743
20495
|
node,
|
|
@@ -20991,9 +20743,6 @@ function moveRangePastModifiers(node) {
|
|
|
20991
20743
|
const lastModifier = canHaveModifiers(node) ? lastOrUndefined(node.modifiers) : void 0;
|
|
20992
20744
|
return lastModifier && !positionIsSynthesized(lastModifier.end) ? moveRangePos(node, lastModifier.end) : moveRangePastDecorators(node);
|
|
20993
20745
|
}
|
|
20994
|
-
function isCollapsedRange(range) {
|
|
20995
|
-
return range.pos === range.end;
|
|
20996
|
-
}
|
|
20997
20746
|
function createTokenRange(pos, token) {
|
|
20998
20747
|
return createRange(pos, pos + tokenToString(token).length);
|
|
20999
20748
|
}
|
|
@@ -21235,9 +20984,6 @@ function getClassLikeDeclarationOfSymbol(symbol) {
|
|
|
21235
20984
|
function getObjectFlags(type) {
|
|
21236
20985
|
return type.flags & 3899393 /* ObjectFlagsType */ ? type.objectFlags : 0;
|
|
21237
20986
|
}
|
|
21238
|
-
function forSomeAncestorDirectory(directory, callback) {
|
|
21239
|
-
return !!forEachAncestorDirectory(directory, (d) => callback(d) ? true : void 0);
|
|
21240
|
-
}
|
|
21241
20987
|
function isUMDExportSymbol(symbol) {
|
|
21242
20988
|
return !!symbol && !!symbol.declarations && !!symbol.declarations[0] && isNamespaceExportDeclaration(symbol.declarations[0]);
|
|
21243
20989
|
}
|
|
@@ -22772,14 +22518,6 @@ function setParent(child, parent2) {
|
|
|
22772
22518
|
}
|
|
22773
22519
|
return child;
|
|
22774
22520
|
}
|
|
22775
|
-
function setEachParent(children, parent2) {
|
|
22776
|
-
if (children) {
|
|
22777
|
-
for (const child of children) {
|
|
22778
|
-
setParent(child, parent2);
|
|
22779
|
-
}
|
|
22780
|
-
}
|
|
22781
|
-
return children;
|
|
22782
|
-
}
|
|
22783
22521
|
function setParentRecursive(rootNode, incremental) {
|
|
22784
22522
|
if (!rootNode) return rootNode;
|
|
22785
22523
|
forEachChildRecursively(rootNode, isJSDocNode(rootNode) ? bindParentToChildIgnoringJSDoc : bindParentToChild);
|
|
@@ -22982,10 +22720,6 @@ function getNodeModulePathParts(fullPath) {
|
|
|
22982
22720
|
fileNameIndex = partStart;
|
|
22983
22721
|
return state > 1 /* NodeModules */ ? { topLevelNodeModulesIndex, topLevelPackageNameIndex, packageRootIndex, fileNameIndex } : void 0;
|
|
22984
22722
|
}
|
|
22985
|
-
function getParameterTypeNode(parameter) {
|
|
22986
|
-
var _a;
|
|
22987
|
-
return parameter.kind === 341 /* JSDocParameterTag */ ? (_a = parameter.typeExpression) == null ? void 0 : _a.type : parameter.type;
|
|
22988
|
-
}
|
|
22989
22723
|
function isTypeDeclaration(node) {
|
|
22990
22724
|
switch (node.kind) {
|
|
22991
22725
|
case 168 /* TypeParameter */:
|
|
@@ -30922,17 +30656,6 @@ function createForOfBindingStatement(factory2, node, boundValue) {
|
|
|
30922
30656
|
);
|
|
30923
30657
|
}
|
|
30924
30658
|
}
|
|
30925
|
-
function insertLeadingStatement(factory2, dest, source) {
|
|
30926
|
-
if (isBlock(dest)) {
|
|
30927
|
-
return factory2.updateBlock(dest, setTextRange(factory2.createNodeArray([source, ...dest.statements]), dest.statements));
|
|
30928
|
-
} else {
|
|
30929
|
-
return factory2.createBlock(
|
|
30930
|
-
factory2.createNodeArray([dest, source]),
|
|
30931
|
-
/*multiLine*/
|
|
30932
|
-
true
|
|
30933
|
-
);
|
|
30934
|
-
}
|
|
30935
|
-
}
|
|
30936
30659
|
function createExpressionFromEntityName(factory2, node) {
|
|
30937
30660
|
if (isQualifiedName(node)) {
|
|
30938
30661
|
const left = createExpressionFromEntityName(factory2, node.left);
|
|
@@ -31197,9 +30920,6 @@ function walkUpOuterExpressions(node, kinds = 15 /* All */) {
|
|
|
31197
30920
|
}
|
|
31198
30921
|
return parent2;
|
|
31199
30922
|
}
|
|
31200
|
-
function skipAssertions(node) {
|
|
31201
|
-
return skipOuterExpressions(node, 6 /* Assertions */);
|
|
31202
|
-
}
|
|
31203
30923
|
function startOnNewLine(node) {
|
|
31204
30924
|
return setStartsOnNewLine(
|
|
31205
30925
|
node,
|
|
@@ -31505,10 +31225,6 @@ function isQuestionOrPlusOrMinusToken(node) {
|
|
|
31505
31225
|
function isModuleName(node) {
|
|
31506
31226
|
return isIdentifier(node) || isStringLiteral(node);
|
|
31507
31227
|
}
|
|
31508
|
-
function isLiteralTypeLikeExpression(node) {
|
|
31509
|
-
const kind = node.kind;
|
|
31510
|
-
return kind === 106 /* NullKeyword */ || kind === 112 /* TrueKeyword */ || kind === 97 /* FalseKeyword */ || isLiteralExpression(node) || isPrefixUnaryExpression(node);
|
|
31511
|
-
}
|
|
31512
31228
|
function isExponentiationOperator(kind) {
|
|
31513
31229
|
return kind === 43 /* AsteriskAsteriskToken */;
|
|
31514
31230
|
}
|
|
@@ -31694,10 +31410,6 @@ function isExportOrDefaultModifier(node) {
|
|
|
31694
31410
|
const kind = node.kind;
|
|
31695
31411
|
return isExportOrDefaultKeywordKind(kind);
|
|
31696
31412
|
}
|
|
31697
|
-
function isNonExportDefaultModifier(node) {
|
|
31698
|
-
const kind = node.kind;
|
|
31699
|
-
return isModifierKind(kind) && !isExportOrDefaultKeywordKind(kind);
|
|
31700
|
-
}
|
|
31701
31413
|
function elideNodes(factory2, nodes) {
|
|
31702
31414
|
if (nodes === void 0) return void 0;
|
|
31703
31415
|
if (nodes.length === 0) return nodes;
|
|
@@ -52050,9 +51762,9 @@ function createTypeChecker(host) {
|
|
|
52050
51762
|
}
|
|
52051
51763
|
}
|
|
52052
51764
|
function getDeclarationOfAliasSymbol(symbol) {
|
|
52053
|
-
return symbol.declarations && findLast(symbol.declarations,
|
|
51765
|
+
return symbol.declarations && findLast(symbol.declarations, isAliasSymbolDeclaration);
|
|
52054
51766
|
}
|
|
52055
|
-
function
|
|
51767
|
+
function isAliasSymbolDeclaration(node) {
|
|
52056
51768
|
return node.kind === 271 /* ImportEqualsDeclaration */ || node.kind === 270 /* NamespaceExportDeclaration */ || node.kind === 273 /* ImportClause */ && !!node.name || node.kind === 274 /* NamespaceImport */ || node.kind === 280 /* NamespaceExport */ || node.kind === 276 /* ImportSpecifier */ || node.kind === 281 /* ExportSpecifier */ || node.kind === 277 /* ExportAssignment */ && exportAssignmentIsAlias(node) || isBinaryExpression(node) && getAssignmentDeclarationKind(node) === 2 /* ModuleExports */ && exportAssignmentIsAlias(node) || isAccessExpression(node) && isBinaryExpression(node.parent) && node.parent.left === node && node.parent.operatorToken.kind === 64 /* EqualsToken */ && isAliasableOrJsExpression(node.parent.right) || node.kind === 304 /* ShorthandPropertyAssignment */ || node.kind === 303 /* PropertyAssignment */ && isAliasableOrJsExpression(node.initializer) || node.kind === 260 /* VariableDeclaration */ && isVariableDeclarationInitializedToBareOrAccessedRequire(node) || node.kind === 208 /* BindingElement */ && isVariableDeclarationInitializedToBareOrAccessedRequire(node.parent.parent);
|
|
52057
51769
|
}
|
|
52058
51770
|
function isAliasableOrJsExpression(e) {
|
|
@@ -57790,7 +57502,7 @@ function createTypeChecker(host) {
|
|
|
57790
57502
|
return idText(expression.name);
|
|
57791
57503
|
}
|
|
57792
57504
|
}
|
|
57793
|
-
if (
|
|
57505
|
+
if (isAliasSymbolDeclaration(d)) {
|
|
57794
57506
|
const name = getNameOfDeclaration(d);
|
|
57795
57507
|
if (name && isIdentifier(name)) {
|
|
57796
57508
|
return idText(name);
|
|
@@ -74719,7 +74431,7 @@ function createTypeChecker(host) {
|
|
|
74719
74431
|
markAliasSymbolAsReferenced(rootSymbol);
|
|
74720
74432
|
} else if (forDecoratorMetadata && getIsolatedModules(compilerOptions) && getEmitModuleKind(compilerOptions) >= 5 /* ES2015 */ && !symbolIsValue(rootSymbol) && !some(rootSymbol.declarations, isTypeOnlyImportOrExportDeclaration)) {
|
|
74721
74433
|
const diag2 = error2(typeName, Diagnostics.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled);
|
|
74722
|
-
const aliasDeclaration = find(rootSymbol.declarations || emptyArray,
|
|
74434
|
+
const aliasDeclaration = find(rootSymbol.declarations || emptyArray, isAliasSymbolDeclaration);
|
|
74723
74435
|
if (aliasDeclaration) {
|
|
74724
74436
|
addRelatedInfo(diag2, createDiagnosticForNode(aliasDeclaration, Diagnostics._0_was_imported_here, idText(rootName)));
|
|
74725
74437
|
}
|
|
@@ -90070,7 +89782,7 @@ function createTypeChecker(host) {
|
|
|
90070
89782
|
}
|
|
90071
89783
|
function isReferencedAliasDeclaration(node, checkChildren) {
|
|
90072
89784
|
Debug.assert(canCollectSymbolAliasAccessabilityData);
|
|
90073
|
-
if (
|
|
89785
|
+
if (isAliasSymbolDeclaration(node)) {
|
|
90074
89786
|
const symbol = getSymbolOfDeclaration(node);
|
|
90075
89787
|
const links = symbol && getSymbolLinks(symbol);
|
|
90076
89788
|
if (links == null ? void 0 : links.referenced) {
|
|
@@ -91777,6 +91489,7 @@ function createTypeChecker(host) {
|
|
|
91777
91489
|
}
|
|
91778
91490
|
case 7 /* ES2022 */:
|
|
91779
91491
|
case 99 /* ESNext */:
|
|
91492
|
+
case 200 /* Preserve */:
|
|
91780
91493
|
case 4 /* System */:
|
|
91781
91494
|
if (languageVersion >= 4 /* ES2017 */) {
|
|
91782
91495
|
break;
|
|
@@ -124793,12 +124506,18 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
|
|
|
124793
124506
|
}
|
|
124794
124507
|
function resolveModuleNamesWorker(moduleNames, containingFile, reusedNames) {
|
|
124795
124508
|
var _a2, _b2;
|
|
124796
|
-
if (!moduleNames.length) return emptyArray;
|
|
124797
124509
|
const containingFileName = getNormalizedAbsolutePath(containingFile.originalFileName, currentDirectory);
|
|
124798
124510
|
const redirectedReference = getRedirectReferenceForResolution(containingFile);
|
|
124799
124511
|
(_a2 = tracing) == null ? void 0 : _a2.push(tracing.Phase.Program, "resolveModuleNamesWorker", { containingFileName });
|
|
124800
124512
|
mark("beforeResolveModule");
|
|
124801
|
-
const result = actualResolveModuleNamesWorker(
|
|
124513
|
+
const result = actualResolveModuleNamesWorker(
|
|
124514
|
+
moduleNames,
|
|
124515
|
+
containingFileName,
|
|
124516
|
+
redirectedReference,
|
|
124517
|
+
options,
|
|
124518
|
+
containingFile,
|
|
124519
|
+
reusedNames
|
|
124520
|
+
);
|
|
124802
124521
|
mark("afterResolveModule");
|
|
124803
124522
|
measure("ResolveModule", "beforeResolveModule", "afterResolveModule");
|
|
124804
124523
|
(_b2 = tracing) == null ? void 0 : _b2.pop();
|
|
@@ -124806,13 +124525,19 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
|
|
|
124806
124525
|
}
|
|
124807
124526
|
function resolveTypeReferenceDirectiveNamesWorker(typeDirectiveNames, containingFile, reusedNames) {
|
|
124808
124527
|
var _a2, _b2;
|
|
124809
|
-
if (!typeDirectiveNames.length) return [];
|
|
124810
124528
|
const containingSourceFile = !isString(containingFile) ? containingFile : void 0;
|
|
124811
124529
|
const containingFileName = !isString(containingFile) ? getNormalizedAbsolutePath(containingFile.originalFileName, currentDirectory) : containingFile;
|
|
124812
124530
|
const redirectedReference = containingSourceFile && getRedirectReferenceForResolution(containingSourceFile);
|
|
124813
124531
|
(_a2 = tracing) == null ? void 0 : _a2.push(tracing.Phase.Program, "resolveTypeReferenceDirectiveNamesWorker", { containingFileName });
|
|
124814
124532
|
mark("beforeResolveTypeReference");
|
|
124815
|
-
const result = actualResolveTypeReferenceDirectiveNamesWorker(
|
|
124533
|
+
const result = actualResolveTypeReferenceDirectiveNamesWorker(
|
|
124534
|
+
typeDirectiveNames,
|
|
124535
|
+
containingFileName,
|
|
124536
|
+
redirectedReference,
|
|
124537
|
+
options,
|
|
124538
|
+
containingSourceFile,
|
|
124539
|
+
reusedNames
|
|
124540
|
+
);
|
|
124816
124541
|
mark("afterResolveTypeReference");
|
|
124817
124542
|
measure("ResolveTypeReference", "beforeResolveTypeReference", "afterResolveTypeReference");
|
|
124818
124543
|
(_b2 = tracing) == null ? void 0 : _b2.pop();
|
|
@@ -124882,144 +124607,123 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
|
|
|
124882
124607
|
}
|
|
124883
124608
|
return classifiableNames;
|
|
124884
124609
|
}
|
|
124885
|
-
function resolveModuleNamesReusingOldState(moduleNames,
|
|
124886
|
-
|
|
124887
|
-
|
|
124888
|
-
|
|
124889
|
-
|
|
124890
|
-
|
|
124891
|
-
|
|
124892
|
-
|
|
124893
|
-
|
|
124894
|
-
|
|
124895
|
-
|
|
124896
|
-
|
|
124897
|
-
|
|
124898
|
-
|
|
124899
|
-
|
|
124900
|
-
|
|
124901
|
-
if (
|
|
124902
|
-
|
|
124903
|
-
if (oldResolution == null ? void 0 : oldResolution.resolvedModule) {
|
|
124904
|
-
if (isTraceEnabled(options, host)) {
|
|
124905
|
-
trace(
|
|
124906
|
-
host,
|
|
124907
|
-
oldResolution.resolvedModule.packageId ? Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3 : Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2,
|
|
124908
|
-
moduleName.text,
|
|
124909
|
-
getNormalizedAbsolutePath(file.originalFileName, currentDirectory),
|
|
124910
|
-
oldResolution.resolvedModule.resolvedFileName,
|
|
124911
|
-
oldResolution.resolvedModule.packageId && packageIdToString(oldResolution.resolvedModule.packageId)
|
|
124912
|
-
);
|
|
124913
|
-
}
|
|
124914
|
-
(result ?? (result = new Array(moduleNames.length)))[i] = oldResolution;
|
|
124915
|
-
(reusedNames ?? (reusedNames = [])).push(moduleName);
|
|
124916
|
-
continue;
|
|
124917
|
-
}
|
|
124918
|
-
}
|
|
124919
|
-
let resolvesToAmbientModuleInNonModifiedFile = false;
|
|
124920
|
-
if (contains(file.ambientModuleNames, moduleName.text)) {
|
|
124921
|
-
resolvesToAmbientModuleInNonModifiedFile = true;
|
|
124922
|
-
if (isTraceEnabled(options, host)) {
|
|
124923
|
-
trace(host, Diagnostics.Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1, moduleName.text, getNormalizedAbsolutePath(file.originalFileName, currentDirectory));
|
|
124924
|
-
}
|
|
124925
|
-
} else {
|
|
124926
|
-
resolvesToAmbientModuleInNonModifiedFile = moduleNameResolvesToAmbientModuleInNonModifiedFile(moduleName);
|
|
124927
|
-
}
|
|
124928
|
-
if (resolvesToAmbientModuleInNonModifiedFile) {
|
|
124929
|
-
(result || (result = new Array(moduleNames.length)))[i] = predictedToResolveToAmbientModuleMarker;
|
|
124930
|
-
} else {
|
|
124931
|
-
(unknownModuleNames ?? (unknownModuleNames = [])).push(moduleName);
|
|
124610
|
+
function resolveModuleNamesReusingOldState(moduleNames, containingFile) {
|
|
124611
|
+
return resolveNamesReusingOldState({
|
|
124612
|
+
entries: moduleNames,
|
|
124613
|
+
containingFile,
|
|
124614
|
+
containingSourceFile: containingFile,
|
|
124615
|
+
redirectedReference: getRedirectReferenceForResolution(containingFile),
|
|
124616
|
+
nameAndModeGetter: moduleResolutionNameAndModeGetter,
|
|
124617
|
+
resolutionWorker: resolveModuleNamesWorker,
|
|
124618
|
+
getResolutionFromOldProgram: (name, mode) => oldProgram == null ? void 0 : oldProgram.getResolvedModule(containingFile, name, mode),
|
|
124619
|
+
getResolved: getResolvedModuleFromResolution,
|
|
124620
|
+
canReuseResolutionsInFile: () => containingFile === (oldProgram == null ? void 0 : oldProgram.getSourceFile(containingFile.fileName)) && !hasInvalidatedResolutions(containingFile.path),
|
|
124621
|
+
isEntryResolvingToAmbientModule: moduleNameResolvesToAmbientModule
|
|
124622
|
+
});
|
|
124623
|
+
}
|
|
124624
|
+
function moduleNameResolvesToAmbientModule(moduleName, file) {
|
|
124625
|
+
if (contains(file.ambientModuleNames, moduleName.text)) {
|
|
124626
|
+
if (isTraceEnabled(options, host)) {
|
|
124627
|
+
trace(host, Diagnostics.Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1, moduleName.text, getNormalizedAbsolutePath(file.originalFileName, currentDirectory));
|
|
124932
124628
|
}
|
|
124629
|
+
return true;
|
|
124630
|
+
} else {
|
|
124631
|
+
return moduleNameResolvesToAmbientModuleInNonModifiedFile(moduleName, file);
|
|
124933
124632
|
}
|
|
124934
|
-
|
|
124935
|
-
|
|
124936
|
-
|
|
124937
|
-
|
|
124633
|
+
}
|
|
124634
|
+
function moduleNameResolvesToAmbientModuleInNonModifiedFile(moduleName, file) {
|
|
124635
|
+
var _a2;
|
|
124636
|
+
const resolutionToFile = (_a2 = oldProgram == null ? void 0 : oldProgram.getResolvedModule(file, moduleName.text, getModeForUsageLocation2(file, moduleName))) == null ? void 0 : _a2.resolvedModule;
|
|
124637
|
+
const resolvedFile = resolutionToFile && oldProgram.getSourceFile(resolutionToFile.resolvedFileName);
|
|
124638
|
+
if (resolutionToFile && resolvedFile) {
|
|
124639
|
+
return false;
|
|
124938
124640
|
}
|
|
124939
|
-
|
|
124940
|
-
|
|
124941
|
-
|
|
124942
|
-
result[i] = resolutions[j];
|
|
124943
|
-
j++;
|
|
124944
|
-
}
|
|
124641
|
+
const unmodifiedFile = ambientModuleNameToUnmodifiedFileName.get(moduleName.text);
|
|
124642
|
+
if (!unmodifiedFile) {
|
|
124643
|
+
return false;
|
|
124945
124644
|
}
|
|
124946
|
-
|
|
124947
|
-
|
|
124948
|
-
function moduleNameResolvesToAmbientModuleInNonModifiedFile(moduleName) {
|
|
124949
|
-
var _a2;
|
|
124950
|
-
const resolutionToFile = (_a2 = oldProgram == null ? void 0 : oldProgram.getResolvedModule(file, moduleName.text, getModeForUsageLocation2(file, moduleName))) == null ? void 0 : _a2.resolvedModule;
|
|
124951
|
-
const resolvedFile = resolutionToFile && oldProgram.getSourceFile(resolutionToFile.resolvedFileName);
|
|
124952
|
-
if (resolutionToFile && resolvedFile) {
|
|
124953
|
-
return false;
|
|
124954
|
-
}
|
|
124955
|
-
const unmodifiedFile = ambientModuleNameToUnmodifiedFileName.get(moduleName.text);
|
|
124956
|
-
if (!unmodifiedFile) {
|
|
124957
|
-
return false;
|
|
124958
|
-
}
|
|
124959
|
-
if (isTraceEnabled(options, host)) {
|
|
124960
|
-
trace(host, Diagnostics.Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified, moduleName.text, unmodifiedFile);
|
|
124961
|
-
}
|
|
124962
|
-
return true;
|
|
124645
|
+
if (isTraceEnabled(options, host)) {
|
|
124646
|
+
trace(host, Diagnostics.Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified, moduleName.text, unmodifiedFile);
|
|
124963
124647
|
}
|
|
124648
|
+
return true;
|
|
124964
124649
|
}
|
|
124965
124650
|
function resolveTypeReferenceDirectiveNamesReusingOldState(typeDirectiveNames, containingFile) {
|
|
124966
|
-
|
|
124967
|
-
|
|
124968
|
-
|
|
124969
|
-
|
|
124651
|
+
const containingSourceFile = !isString(containingFile) ? containingFile : void 0;
|
|
124652
|
+
return resolveNamesReusingOldState({
|
|
124653
|
+
entries: typeDirectiveNames,
|
|
124654
|
+
containingFile,
|
|
124655
|
+
containingSourceFile,
|
|
124656
|
+
redirectedReference: containingSourceFile && getRedirectReferenceForResolution(containingSourceFile),
|
|
124657
|
+
nameAndModeGetter: typeReferenceResolutionNameAndModeGetter,
|
|
124658
|
+
resolutionWorker: resolveTypeReferenceDirectiveNamesWorker,
|
|
124659
|
+
getResolutionFromOldProgram: (name, mode) => {
|
|
124660
|
+
var _a2;
|
|
124661
|
+
return containingSourceFile ? oldProgram == null ? void 0 : oldProgram.getResolvedTypeReferenceDirective(containingSourceFile, name, mode) : (_a2 = oldProgram == null ? void 0 : oldProgram.getAutomaticTypeDirectiveResolutions()) == null ? void 0 : _a2.get(name, mode);
|
|
124662
|
+
},
|
|
124663
|
+
getResolved: getResolvedTypeReferenceDirectiveFromResolution,
|
|
124664
|
+
canReuseResolutionsInFile: () => containingSourceFile ? containingSourceFile === (oldProgram == null ? void 0 : oldProgram.getSourceFile(containingSourceFile.fileName)) && !hasInvalidatedResolutions(containingSourceFile.path) : !hasInvalidatedResolutions(toPath3(containingFile))
|
|
124665
|
+
});
|
|
124666
|
+
}
|
|
124667
|
+
function resolveNamesReusingOldState({
|
|
124668
|
+
entries,
|
|
124669
|
+
containingFile,
|
|
124670
|
+
containingSourceFile,
|
|
124671
|
+
redirectedReference,
|
|
124672
|
+
nameAndModeGetter,
|
|
124673
|
+
resolutionWorker,
|
|
124674
|
+
getResolutionFromOldProgram,
|
|
124675
|
+
getResolved,
|
|
124676
|
+
canReuseResolutionsInFile,
|
|
124677
|
+
isEntryResolvingToAmbientModule
|
|
124678
|
+
}) {
|
|
124679
|
+
if (!entries.length) return emptyArray;
|
|
124680
|
+
if (structureIsReused === 0 /* Not */ && (!isEntryResolvingToAmbientModule || !containingSourceFile.ambientModuleNames.length)) {
|
|
124681
|
+
return resolutionWorker(
|
|
124682
|
+
entries,
|
|
124970
124683
|
containingFile,
|
|
124971
124684
|
/*reusedNames*/
|
|
124972
124685
|
void 0
|
|
124973
124686
|
);
|
|
124974
124687
|
}
|
|
124975
|
-
let
|
|
124688
|
+
let unknownEntries;
|
|
124689
|
+
let unknownEntryIndices;
|
|
124976
124690
|
let result;
|
|
124977
124691
|
let reusedNames;
|
|
124978
|
-
const
|
|
124979
|
-
|
|
124980
|
-
|
|
124981
|
-
|
|
124982
|
-
|
|
124983
|
-
|
|
124984
|
-
const
|
|
124985
|
-
const
|
|
124986
|
-
|
|
124987
|
-
if (oldResolution == null ? void 0 : oldResolution.resolvedTypeReferenceDirective) {
|
|
124692
|
+
const reuseResolutions = canReuseResolutionsInFile();
|
|
124693
|
+
for (let i = 0; i < entries.length; i++) {
|
|
124694
|
+
const entry = entries[i];
|
|
124695
|
+
if (reuseResolutions) {
|
|
124696
|
+
const name = nameAndModeGetter.getName(entry);
|
|
124697
|
+
const mode = nameAndModeGetter.getMode(entry, containingSourceFile, (redirectedReference == null ? void 0 : redirectedReference.commandLine.options) ?? options);
|
|
124698
|
+
const oldResolution = getResolutionFromOldProgram(name, mode);
|
|
124699
|
+
const oldResolved = oldResolution && getResolved(oldResolution);
|
|
124700
|
+
if (oldResolved) {
|
|
124988
124701
|
if (isTraceEnabled(options, host)) {
|
|
124989
124702
|
trace(
|
|
124990
124703
|
host,
|
|
124991
|
-
|
|
124992
|
-
|
|
124993
|
-
|
|
124994
|
-
|
|
124995
|
-
|
|
124704
|
+
resolutionWorker === resolveModuleNamesWorker ? oldResolved.packageId ? Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3 : Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2 : oldResolved.packageId ? Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3 : Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2,
|
|
124705
|
+
name,
|
|
124706
|
+
containingSourceFile ? getNormalizedAbsolutePath(containingSourceFile.originalFileName, currentDirectory) : containingFile,
|
|
124707
|
+
oldResolved.resolvedFileName,
|
|
124708
|
+
oldResolved.packageId && packageIdToString(oldResolved.packageId)
|
|
124996
124709
|
);
|
|
124997
124710
|
}
|
|
124998
|
-
(result ?? (result = new Array(
|
|
124711
|
+
(result ?? (result = new Array(entries.length)))[i] = oldResolution;
|
|
124999
124712
|
(reusedNames ?? (reusedNames = [])).push(entry);
|
|
125000
124713
|
continue;
|
|
125001
124714
|
}
|
|
125002
124715
|
}
|
|
125003
|
-
(
|
|
125004
|
-
|
|
125005
|
-
|
|
125006
|
-
|
|
125007
|
-
|
|
125008
|
-
containingFile,
|
|
125009
|
-
reusedNames
|
|
125010
|
-
);
|
|
125011
|
-
if (!result) {
|
|
125012
|
-
Debug.assert(resolutions.length === typeDirectiveNames.length);
|
|
125013
|
-
return resolutions;
|
|
125014
|
-
}
|
|
125015
|
-
let j = 0;
|
|
125016
|
-
for (let i = 0; i < result.length; i++) {
|
|
125017
|
-
if (!result[i]) {
|
|
125018
|
-
result[i] = resolutions[j];
|
|
125019
|
-
j++;
|
|
124716
|
+
if (isEntryResolvingToAmbientModule == null ? void 0 : isEntryResolvingToAmbientModule(entry, containingFile)) {
|
|
124717
|
+
(result ?? (result = new Array(entries.length)))[i] = emptyResolution;
|
|
124718
|
+
} else {
|
|
124719
|
+
(unknownEntries ?? (unknownEntries = [])).push(entry);
|
|
124720
|
+
(unknownEntryIndices ?? (unknownEntryIndices = [])).push(i);
|
|
125020
124721
|
}
|
|
125021
124722
|
}
|
|
125022
|
-
|
|
124723
|
+
if (!unknownEntries) return result;
|
|
124724
|
+
const resolutions = resolutionWorker(unknownEntries, containingFile, reusedNames);
|
|
124725
|
+
if (!result) return resolutions;
|
|
124726
|
+
resolutions.forEach((resolution, index) => result[unknownEntryIndices[index]] = resolution);
|
|
125023
124727
|
return result;
|
|
125024
124728
|
}
|
|
125025
124729
|
function canReuseProjectReferences() {
|
|
@@ -129485,7 +129189,7 @@ function canWatchAffectedPackageJsonOrNodeModulesOfAtTypes(fileOrDirPath) {
|
|
|
129485
129189
|
function canWatchAffectingLocation(filePath) {
|
|
129486
129190
|
return canWatchAffectedPackageJsonOrNodeModulesOfAtTypes(filePath);
|
|
129487
129191
|
}
|
|
129488
|
-
function getDirectoryToWatchFailedLookupLocation(failedLookupLocation, failedLookupLocationPath, rootDir, rootPath, rootPathComponents, getCurrentDirectory) {
|
|
129192
|
+
function getDirectoryToWatchFailedLookupLocation(failedLookupLocation, failedLookupLocationPath, rootDir, rootPath, rootPathComponents, getCurrentDirectory, preferNonRecursiveWatch) {
|
|
129489
129193
|
const failedLookupPathComponents = getPathComponents(failedLookupLocationPath);
|
|
129490
129194
|
failedLookupLocation = isRootedDiskPath(failedLookupLocation) ? normalizePath(failedLookupLocation) : getNormalizedAbsolutePath(failedLookupLocation, getCurrentDirectory());
|
|
129491
129195
|
const failedLookupComponents = getPathComponents(failedLookupLocation);
|
|
@@ -129517,10 +129221,11 @@ function getDirectoryToWatchFailedLookupLocation(failedLookupLocation, failedLoo
|
|
|
129517
129221
|
perceivedOsRootLength,
|
|
129518
129222
|
nodeModulesIndex,
|
|
129519
129223
|
rootPathComponents,
|
|
129520
|
-
lastNodeModulesIndex
|
|
129224
|
+
lastNodeModulesIndex,
|
|
129225
|
+
preferNonRecursiveWatch
|
|
129521
129226
|
);
|
|
129522
129227
|
}
|
|
129523
|
-
function getDirectoryToWatchFromFailedLookupLocationDirectory(dirComponents, dirPathComponents, dirPathComponentsLength, perceivedOsRootLength, nodeModulesIndex, rootPathComponents, lastNodeModulesIndex) {
|
|
129228
|
+
function getDirectoryToWatchFromFailedLookupLocationDirectory(dirComponents, dirPathComponents, dirPathComponentsLength, perceivedOsRootLength, nodeModulesIndex, rootPathComponents, lastNodeModulesIndex, preferNonRecursiveWatch) {
|
|
129524
129229
|
if (nodeModulesIndex !== -1) {
|
|
129525
129230
|
return getDirectoryOfFailedLookupWatch(
|
|
129526
129231
|
dirComponents,
|
|
@@ -129531,11 +129236,13 @@ function getDirectoryToWatchFromFailedLookupLocationDirectory(dirComponents, dir
|
|
|
129531
129236
|
}
|
|
129532
129237
|
let nonRecursive = true;
|
|
129533
129238
|
let length2 = dirPathComponentsLength;
|
|
129534
|
-
|
|
129535
|
-
|
|
129536
|
-
|
|
129537
|
-
|
|
129538
|
-
|
|
129239
|
+
if (!preferNonRecursiveWatch) {
|
|
129240
|
+
for (let i = 0; i < dirPathComponentsLength; i++) {
|
|
129241
|
+
if (dirPathComponents[i] !== rootPathComponents[i]) {
|
|
129242
|
+
nonRecursive = false;
|
|
129243
|
+
length2 = Math.max(i + 1, perceivedOsRootLength + 1);
|
|
129244
|
+
break;
|
|
129245
|
+
}
|
|
129539
129246
|
}
|
|
129540
129247
|
}
|
|
129541
129248
|
return getDirectoryOfFailedLookupWatch(
|
|
@@ -129563,7 +129270,7 @@ function getDirectoryOfFailedLookupWatch(dirComponents, dirPathComponents, lengt
|
|
|
129563
129270
|
packageDirPath: packageDirLength !== void 0 ? getPathFromPathComponents(dirPathComponents, packageDirLength) : void 0
|
|
129564
129271
|
};
|
|
129565
129272
|
}
|
|
129566
|
-
function getDirectoryToWatchFailedLookupLocationFromTypeRoot(typeRoot, typeRootPath, rootPath, rootPathComponents, getCurrentDirectory, filterCustomPath) {
|
|
129273
|
+
function getDirectoryToWatchFailedLookupLocationFromTypeRoot(typeRoot, typeRootPath, rootPath, rootPathComponents, getCurrentDirectory, preferNonRecursiveWatch, filterCustomPath) {
|
|
129567
129274
|
const typeRootPathComponents = getPathComponents(typeRootPath);
|
|
129568
129275
|
if (isInDirectoryPath(rootPathComponents, typeRootPathComponents)) {
|
|
129569
129276
|
return rootPath;
|
|
@@ -129576,7 +129283,8 @@ function getDirectoryToWatchFailedLookupLocationFromTypeRoot(typeRoot, typeRootP
|
|
|
129576
129283
|
perceivedOsRootLengthForWatching(typeRootPathComponents, typeRootPathComponents.length),
|
|
129577
129284
|
typeRootPathComponents.indexOf("node_modules"),
|
|
129578
129285
|
rootPathComponents,
|
|
129579
|
-
typeRootPathComponents.lastIndexOf("node_modules")
|
|
129286
|
+
typeRootPathComponents.lastIndexOf("node_modules"),
|
|
129287
|
+
preferNonRecursiveWatch
|
|
129580
129288
|
);
|
|
129581
129289
|
return toWatch && filterCustomPath(toWatch.dirPath) ? toWatch.dirPath : void 0;
|
|
129582
129290
|
}
|
|
@@ -129584,9 +129292,6 @@ function getRootDirectoryOfResolutionCache(rootDirForResolution, getCurrentDirec
|
|
|
129584
129292
|
const normalized = getNormalizedAbsolutePath(rootDirForResolution, getCurrentDirectory());
|
|
129585
129293
|
return !isDiskPathRoot(normalized) ? removeTrailingDirectorySeparator(normalized) : normalized;
|
|
129586
129294
|
}
|
|
129587
|
-
function getRootPathSplitLength(rootPath) {
|
|
129588
|
-
return rootPath.split(directorySeparator).length - (hasTrailingDirectorySeparator(rootPath) ? 1 : 0);
|
|
129589
|
-
}
|
|
129590
129295
|
function getModuleResolutionHost(resolutionHost) {
|
|
129591
129296
|
var _a;
|
|
129592
129297
|
return ((_a = resolutionHost.getCompilerHost) == null ? void 0 : _a.call(resolutionHost)) || resolutionHost;
|
|
@@ -129716,12 +129421,6 @@ function createResolutionCache(resolutionHost, rootDirForResolution, logChangesW
|
|
|
129716
129421
|
clear: clear2,
|
|
129717
129422
|
onChangesAffectModuleResolution
|
|
129718
129423
|
};
|
|
129719
|
-
function getResolvedModule(resolution) {
|
|
129720
|
-
return resolution.resolvedModule;
|
|
129721
|
-
}
|
|
129722
|
-
function getResolvedTypeReferenceDirective(resolution) {
|
|
129723
|
-
return resolution.resolvedTypeReferenceDirective;
|
|
129724
|
-
}
|
|
129725
129424
|
function clear2() {
|
|
129726
129425
|
clearMap(directoryWatchesOfFailedLookups, closeFileWatcherOf);
|
|
129727
129426
|
clearMap(fileWatchesOfAffectingLocations, closeFileWatcherOf);
|
|
@@ -129803,7 +129502,7 @@ function createResolutionCache(resolutionHost, rootDirForResolution, logChangesW
|
|
|
129803
129502
|
stopWatchFailedLookupLocationOfResolution(
|
|
129804
129503
|
resolution,
|
|
129805
129504
|
resolutionHost.toPath(getInferredLibraryNameResolveFrom(resolutionHost.getCompilationSettings(), getCurrentDirectory(), libFileName)),
|
|
129806
|
-
|
|
129505
|
+
getResolvedModuleFromResolution
|
|
129807
129506
|
);
|
|
129808
129507
|
resolvedLibraries.delete(libFileName);
|
|
129809
129508
|
}
|
|
@@ -129983,7 +129682,7 @@ function createResolutionCache(resolutionHost, rootDirForResolution, logChangesW
|
|
|
129983
129682
|
getModuleResolutionHost(resolutionHost),
|
|
129984
129683
|
typeReferenceDirectiveResolutionCache
|
|
129985
129684
|
),
|
|
129986
|
-
getResolutionWithResolvedFileName:
|
|
129685
|
+
getResolutionWithResolvedFileName: getResolvedTypeReferenceDirectiveFromResolution,
|
|
129987
129686
|
shouldRetryResolution: (resolution) => resolution.resolvedTypeReferenceDirective === void 0,
|
|
129988
129687
|
deferWatchingNonRelativeResolution: false
|
|
129989
129688
|
});
|
|
@@ -130004,7 +129703,7 @@ function createResolutionCache(resolutionHost, rootDirForResolution, logChangesW
|
|
|
130004
129703
|
resolutionHost,
|
|
130005
129704
|
moduleResolutionCache
|
|
130006
129705
|
),
|
|
130007
|
-
getResolutionWithResolvedFileName:
|
|
129706
|
+
getResolutionWithResolvedFileName: getResolvedModuleFromResolution,
|
|
130008
129707
|
shouldRetryResolution: (resolution) => !resolution.resolvedModule || !resolutionExtensionIsTSOrJson(resolution.resolvedModule.extension),
|
|
130009
129708
|
logChanges: logChangesWhenResolvingModule,
|
|
130010
129709
|
deferWatchingNonRelativeResolution: true
|
|
@@ -130022,17 +129721,17 @@ function createResolutionCache(resolutionHost, rootDirForResolution, logChangesW
|
|
|
130022
129721
|
libraryName,
|
|
130023
129722
|
resolution,
|
|
130024
129723
|
path,
|
|
130025
|
-
|
|
129724
|
+
getResolvedModuleFromResolution,
|
|
130026
129725
|
/*deferWatchingNonRelativeResolution*/
|
|
130027
129726
|
false
|
|
130028
129727
|
);
|
|
130029
129728
|
resolvedLibraries.set(libFileName, resolution);
|
|
130030
129729
|
if (existingResolution) {
|
|
130031
|
-
stopWatchFailedLookupLocationOfResolution(existingResolution, path,
|
|
129730
|
+
stopWatchFailedLookupLocationOfResolution(existingResolution, path, getResolvedModuleFromResolution);
|
|
130032
129731
|
}
|
|
130033
129732
|
} else {
|
|
130034
129733
|
if (isTraceEnabled(options, host)) {
|
|
130035
|
-
const resolved =
|
|
129734
|
+
const resolved = getResolvedModuleFromResolution(resolution);
|
|
130036
129735
|
trace(
|
|
130037
129736
|
host,
|
|
130038
129737
|
(resolved == null ? void 0 : resolved.resolvedFileName) ? resolved.packageId ? Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3 : Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2 : Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved,
|
|
@@ -130071,27 +129770,20 @@ function createResolutionCache(resolutionHost, rootDirForResolution, logChangesW
|
|
|
130071
129770
|
return endsWith(dirPath, "/node_modules/@types");
|
|
130072
129771
|
}
|
|
130073
129772
|
function watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, filePath, getResolutionWithResolvedFileName, deferWatchingNonRelativeResolution) {
|
|
130074
|
-
var _a;
|
|
130075
|
-
if (resolution.refCount) {
|
|
130076
|
-
resolution.refCount++;
|
|
130077
|
-
Debug.assertIsDefined(resolution.files);
|
|
130078
|
-
} else {
|
|
130079
|
-
resolution.refCount = 1;
|
|
130080
|
-
Debug.assert(!((_a = resolution.files) == null ? void 0 : _a.size));
|
|
130081
|
-
if (!deferWatchingNonRelativeResolution || isExternalModuleNameRelative(name)) {
|
|
130082
|
-
watchFailedLookupLocationOfResolution(resolution);
|
|
130083
|
-
} else {
|
|
130084
|
-
nonRelativeExternalModuleResolutions.add(name, resolution);
|
|
130085
|
-
}
|
|
130086
|
-
const resolved = getResolutionWithResolvedFileName(resolution);
|
|
130087
|
-
if (resolved && resolved.resolvedFileName) {
|
|
130088
|
-
const key = resolutionHost.toPath(resolved.resolvedFileName);
|
|
130089
|
-
let resolutions = resolvedFileToResolution.get(key);
|
|
130090
|
-
if (!resolutions) resolvedFileToResolution.set(key, resolutions = /* @__PURE__ */ new Set());
|
|
130091
|
-
resolutions.add(resolution);
|
|
130092
|
-
}
|
|
130093
|
-
}
|
|
130094
129773
|
(resolution.files ?? (resolution.files = /* @__PURE__ */ new Set())).add(filePath);
|
|
129774
|
+
if (resolution.files.size !== 1) return;
|
|
129775
|
+
if (!deferWatchingNonRelativeResolution || isExternalModuleNameRelative(name)) {
|
|
129776
|
+
watchFailedLookupLocationOfResolution(resolution);
|
|
129777
|
+
} else {
|
|
129778
|
+
nonRelativeExternalModuleResolutions.add(name, resolution);
|
|
129779
|
+
}
|
|
129780
|
+
const resolved = getResolutionWithResolvedFileName(resolution);
|
|
129781
|
+
if (resolved && resolved.resolvedFileName) {
|
|
129782
|
+
const key = resolutionHost.toPath(resolved.resolvedFileName);
|
|
129783
|
+
let resolutions = resolvedFileToResolution.get(key);
|
|
129784
|
+
if (!resolutions) resolvedFileToResolution.set(key, resolutions = /* @__PURE__ */ new Set());
|
|
129785
|
+
resolutions.add(resolution);
|
|
129786
|
+
}
|
|
130095
129787
|
}
|
|
130096
129788
|
function watchFailedLookupLocation(failedLookupLocation, setAtRoot) {
|
|
130097
129789
|
const failedLookupLocationPath = resolutionHost.toPath(failedLookupLocation);
|
|
@@ -130101,7 +129793,8 @@ function createResolutionCache(resolutionHost, rootDirForResolution, logChangesW
|
|
|
130101
129793
|
rootDir,
|
|
130102
129794
|
rootPath,
|
|
130103
129795
|
rootPathComponents,
|
|
130104
|
-
getCurrentDirectory
|
|
129796
|
+
getCurrentDirectory,
|
|
129797
|
+
resolutionHost.preferNonRecursiveWatch
|
|
130105
129798
|
);
|
|
130106
129799
|
if (toWatch) {
|
|
130107
129800
|
const { dir, dirPath, nonRecursive, packageDir, packageDirPath } = toWatch;
|
|
@@ -130116,7 +129809,8 @@ function createResolutionCache(resolutionHost, rootDirForResolution, logChangesW
|
|
|
130116
129809
|
return setAtRoot;
|
|
130117
129810
|
}
|
|
130118
129811
|
function watchFailedLookupLocationOfResolution(resolution) {
|
|
130119
|
-
|
|
129812
|
+
var _a;
|
|
129813
|
+
Debug.assert(!!((_a = resolution.files) == null ? void 0 : _a.size));
|
|
130120
129814
|
const { failedLookupLocations, affectingLocations, alternateResult } = resolution;
|
|
130121
129815
|
if (!(failedLookupLocations == null ? void 0 : failedLookupLocations.length) && !(affectingLocations == null ? void 0 : affectingLocations.length) && !alternateResult) return;
|
|
130122
129816
|
if ((failedLookupLocations == null ? void 0 : failedLookupLocations.length) || alternateResult) resolutionsWithFailedLookups.add(resolution);
|
|
@@ -130142,7 +129836,8 @@ function createResolutionCache(resolutionHost, rootDirForResolution, logChangesW
|
|
|
130142
129836
|
watchAffectingLocationsOfResolution(resolution, !(failedLookupLocations == null ? void 0 : failedLookupLocations.length) && !alternateResult);
|
|
130143
129837
|
}
|
|
130144
129838
|
function watchAffectingLocationsOfResolution(resolution, addToResolutionsWithOnlyAffectingLocations) {
|
|
130145
|
-
|
|
129839
|
+
var _a;
|
|
129840
|
+
Debug.assert(!!((_a = resolution.files) == null ? void 0 : _a.size));
|
|
130146
129841
|
const { affectingLocations } = resolution;
|
|
130147
129842
|
if (!(affectingLocations == null ? void 0 : affectingLocations.length)) return;
|
|
130148
129843
|
if (addToResolutionsWithOnlyAffectingLocations) resolutionsWithOnlyAffectingLocations.add(resolution);
|
|
@@ -130298,7 +129993,8 @@ function createResolutionCache(resolutionHost, rootDirForResolution, logChangesW
|
|
|
130298
129993
|
rootDir,
|
|
130299
129994
|
rootPath,
|
|
130300
129995
|
rootPathComponents,
|
|
130301
|
-
getCurrentDirectory
|
|
129996
|
+
getCurrentDirectory,
|
|
129997
|
+
resolutionHost.preferNonRecursiveWatch
|
|
130302
129998
|
);
|
|
130303
129999
|
if (toWatch) {
|
|
130304
130000
|
const { dirPath, packageDirPath } = toWatch;
|
|
@@ -130329,10 +130025,8 @@ function createResolutionCache(resolutionHost, rootDirForResolution, logChangesW
|
|
|
130329
130025
|
}
|
|
130330
130026
|
function stopWatchFailedLookupLocationOfResolution(resolution, filePath, getResolutionWithResolvedFileName, syncDirWatcherRemove) {
|
|
130331
130027
|
Debug.checkDefined(resolution.files).delete(filePath);
|
|
130332
|
-
resolution.
|
|
130333
|
-
|
|
130334
|
-
return;
|
|
130335
|
-
}
|
|
130028
|
+
if (resolution.files.size) return;
|
|
130029
|
+
resolution.files = void 0;
|
|
130336
130030
|
const resolved = getResolutionWithResolvedFileName(resolution);
|
|
130337
130031
|
if (resolved && resolved.resolvedFileName) {
|
|
130338
130032
|
const key = resolutionHost.toPath(resolved.resolvedFileName);
|
|
@@ -130397,8 +130091,8 @@ function createResolutionCache(resolutionHost, rootDirForResolution, logChangesW
|
|
|
130397
130091
|
resolvedProjectReference.commandLine.fileNames.forEach((f) => removeResolutionsOfFile(resolutionHost.toPath(f)));
|
|
130398
130092
|
}
|
|
130399
130093
|
function removeResolutionsOfFile(filePath, syncDirWatcherRemove) {
|
|
130400
|
-
removeResolutionsOfFileFromCache(resolvedModuleNames, filePath,
|
|
130401
|
-
removeResolutionsOfFileFromCache(resolvedTypeReferenceDirectives, filePath,
|
|
130094
|
+
removeResolutionsOfFileFromCache(resolvedModuleNames, filePath, getResolvedModuleFromResolution, syncDirWatcherRemove);
|
|
130095
|
+
removeResolutionsOfFileFromCache(resolvedTypeReferenceDirectives, filePath, getResolvedTypeReferenceDirectiveFromResolution, syncDirWatcherRemove);
|
|
130402
130096
|
}
|
|
130403
130097
|
function invalidateResolutions(resolutions, canInvalidate) {
|
|
130404
130098
|
if (!resolutions) return false;
|
|
@@ -130528,6 +130222,7 @@ function createResolutionCache(resolutionHost, rootDirForResolution, logChangesW
|
|
|
130528
130222
|
rootPath,
|
|
130529
130223
|
rootPathComponents,
|
|
130530
130224
|
getCurrentDirectory,
|
|
130225
|
+
resolutionHost.preferNonRecursiveWatch,
|
|
130531
130226
|
(dirPath2) => directoryWatchesOfFailedLookups.has(dirPath2) || dirPathToSymlinkPackageRefCount.has(dirPath2)
|
|
130532
130227
|
);
|
|
130533
130228
|
if (dirPath) {
|
|
@@ -130996,7 +130691,8 @@ function createWatchHost(system = sys, reportWatchStatus2) {
|
|
|
130996
130691
|
watchFile: maybeBind(system, system.watchFile) || returnNoopFileWatcher,
|
|
130997
130692
|
watchDirectory: maybeBind(system, system.watchDirectory) || returnNoopFileWatcher,
|
|
130998
130693
|
setTimeout: maybeBind(system, system.setTimeout) || noop,
|
|
130999
|
-
clearTimeout: maybeBind(system, system.clearTimeout) || noop
|
|
130694
|
+
clearTimeout: maybeBind(system, system.clearTimeout) || noop,
|
|
130695
|
+
preferNonRecursiveWatch: system.preferNonRecursiveWatch
|
|
131000
130696
|
};
|
|
131001
130697
|
}
|
|
131002
130698
|
var WatchType = {
|
|
@@ -131327,6 +131023,7 @@ function createWatchProgram(host) {
|
|
|
131327
131023
|
compilerHost.toPath = toPath3;
|
|
131328
131024
|
compilerHost.getCompilationSettings = () => compilerOptions;
|
|
131329
131025
|
compilerHost.useSourceOfProjectReferenceRedirect = maybeBind(host, host.useSourceOfProjectReferenceRedirect);
|
|
131026
|
+
compilerHost.preferNonRecursiveWatch = host.preferNonRecursiveWatch;
|
|
131330
131027
|
compilerHost.watchDirectoryOfFailedLookupLocation = (dir, cb, flags) => watchDirectory(dir, cb, flags, watchOptions, WatchType.FailedLookupLocations);
|
|
131331
131028
|
compilerHost.watchAffectingFileLocation = (file, cb) => watchFile2(file, cb, 2e3 /* High */, watchOptions, WatchType.AffectingFileLocation);
|
|
131332
131029
|
compilerHost.watchTypeRootsDirectory = (dir, cb, flags) => watchDirectory(dir, cb, flags, watchOptions, WatchType.TypeRoots);
|
|
@@ -135178,7 +134875,6 @@ __export(ts_JsTyping_exports, {
|
|
|
135178
134875
|
nodeCoreModuleList: () => nodeCoreModuleList,
|
|
135179
134876
|
nodeCoreModules: () => nodeCoreModules,
|
|
135180
134877
|
nonRelativeModuleNameForTypingCache: () => nonRelativeModuleNameForTypingCache,
|
|
135181
|
-
prefixedNodeCoreModuleList: () => prefixedNodeCoreModuleList,
|
|
135182
134878
|
renderPackageNameValidationFailure: () => renderPackageNameValidationFailure,
|
|
135183
134879
|
validatePackageName: () => validatePackageName
|
|
135184
134880
|
});
|
|
@@ -137738,13 +137434,6 @@ function signatureToDisplayParts(typechecker, signature, enclosingDeclaration, f
|
|
|
137738
137434
|
);
|
|
137739
137435
|
});
|
|
137740
137436
|
}
|
|
137741
|
-
function nodeToDisplayParts(node, enclosingDeclaration) {
|
|
137742
|
-
const file = enclosingDeclaration.getSourceFile();
|
|
137743
|
-
return mapToDisplayParts((writer) => {
|
|
137744
|
-
const printer = createPrinterWithRemoveCommentsOmitTrailingSemicolon();
|
|
137745
|
-
printer.writeNode(4 /* Unspecified */, node, file, writer);
|
|
137746
|
-
});
|
|
137747
|
-
}
|
|
137748
137437
|
function isImportOrExportSpecifierName(location) {
|
|
137749
137438
|
return !!location.parent && isImportOrExportSpecifier(location.parent) && location.parent.propertyName === location;
|
|
137750
137439
|
}
|
|
@@ -138477,16 +138166,6 @@ function stringContainsAt(haystack, needle, startIndex) {
|
|
|
138477
138166
|
function startsWithUnderscore(name) {
|
|
138478
138167
|
return name.charCodeAt(0) === 95 /* _ */;
|
|
138479
138168
|
}
|
|
138480
|
-
function isGlobalDeclaration(declaration) {
|
|
138481
|
-
return !isNonGlobalDeclaration(declaration);
|
|
138482
|
-
}
|
|
138483
|
-
function isNonGlobalDeclaration(declaration) {
|
|
138484
|
-
const sourceFile = declaration.getSourceFile();
|
|
138485
|
-
if (!sourceFile.externalModuleIndicator && !sourceFile.commonJsModuleIndicator) {
|
|
138486
|
-
return false;
|
|
138487
|
-
}
|
|
138488
|
-
return isInJSFile(declaration) || !findAncestor(declaration, (d) => isModuleDeclaration(d) && isGlobalScopeAugmentation(d));
|
|
138489
|
-
}
|
|
138490
138169
|
function isDeprecatedDeclaration(decl) {
|
|
138491
138170
|
return !!(getCombinedNodeFlagsAlwaysIncludeJSDoc(decl) & 65536 /* Deprecated */);
|
|
138492
138171
|
}
|
|
@@ -142823,7 +142502,6 @@ function cleanText(text) {
|
|
|
142823
142502
|
// src/services/_namespaces/ts.refactor.ts
|
|
142824
142503
|
var ts_refactor_exports = {};
|
|
142825
142504
|
__export(ts_refactor_exports, {
|
|
142826
|
-
addExportToChanges: () => addExportToChanges,
|
|
142827
142505
|
addExportsInOldFile: () => addExportsInOldFile,
|
|
142828
142506
|
addImportsForMovedSymbols: () => addImportsForMovedSymbols,
|
|
142829
142507
|
addNewFileToTsconfig: () => addNewFileToTsconfig,
|
|
@@ -142835,13 +142513,8 @@ __export(ts_refactor_exports, {
|
|
|
142835
142513
|
convertStringOrTemplateLiteral: () => ts_refactor_convertStringOrTemplateLiteral_exports,
|
|
142836
142514
|
convertToOptionalChainExpression: () => ts_refactor_convertToOptionalChainExpression_exports,
|
|
142837
142515
|
createNewFileName: () => createNewFileName,
|
|
142838
|
-
deleteMovedStatements: () => deleteMovedStatements,
|
|
142839
|
-
deleteUnusedImports: () => deleteUnusedImports,
|
|
142840
|
-
deleteUnusedOldImports: () => deleteUnusedOldImports,
|
|
142841
142516
|
doChangeNamedToNamespaceOrDefault: () => doChangeNamedToNamespaceOrDefault,
|
|
142842
142517
|
extractSymbol: () => ts_refactor_extractSymbol_exports,
|
|
142843
|
-
filterImport: () => filterImport,
|
|
142844
|
-
forEachImportInStatement: () => forEachImportInStatement,
|
|
142845
142518
|
generateGetAccessorAndSetAccessor: () => ts_refactor_generateGetAccessorAndSetAccessor_exports,
|
|
142846
142519
|
getApplicableRefactors: () => getApplicableRefactors,
|
|
142847
142520
|
getEditsForRefactor: () => getEditsForRefactor,
|
|
@@ -142849,16 +142522,11 @@ __export(ts_refactor_exports, {
|
|
|
142849
142522
|
getIdentifierForNode: () => getIdentifierForNode,
|
|
142850
142523
|
getNewStatementsAndRemoveFromOldFile: () => getNewStatementsAndRemoveFromOldFile,
|
|
142851
142524
|
getStatementsToMove: () => getStatementsToMove,
|
|
142852
|
-
getTopLevelDeclarationStatement: () => getTopLevelDeclarationStatement,
|
|
142853
142525
|
getUsageInfo: () => getUsageInfo,
|
|
142854
142526
|
inferFunctionReturnType: () => ts_refactor_inferFunctionReturnType_exports,
|
|
142855
142527
|
isRefactorErrorInfo: () => isRefactorErrorInfo,
|
|
142856
|
-
isTopLevelDeclaration: () => isTopLevelDeclaration,
|
|
142857
|
-
moduleSpecifierFromImport: () => moduleSpecifierFromImport,
|
|
142858
|
-
nameOfTopLevelDeclaration: () => nameOfTopLevelDeclaration,
|
|
142859
142528
|
refactorKindBeginsWith: () => refactorKindBeginsWith,
|
|
142860
|
-
registerRefactor: () => registerRefactor
|
|
142861
|
-
updateImportsInOtherFiles: () => updateImportsInOtherFiles
|
|
142529
|
+
registerRefactor: () => registerRefactor
|
|
142862
142530
|
});
|
|
142863
142531
|
|
|
142864
142532
|
// src/services/refactorProvider.ts
|
|
@@ -151520,19 +151188,16 @@ __export(ts_codefix_exports, {
|
|
|
151520
151188
|
createFileTextChanges: () => createFileTextChanges,
|
|
151521
151189
|
createImportAdder: () => createImportAdder,
|
|
151522
151190
|
createImportSpecifierResolver: () => createImportSpecifierResolver,
|
|
151523
|
-
createJsonPropertyAssignment: () => createJsonPropertyAssignment,
|
|
151524
151191
|
createMissingMemberNodes: () => createMissingMemberNodes,
|
|
151525
151192
|
createSignatureDeclarationFromCallExpression: () => createSignatureDeclarationFromCallExpression,
|
|
151526
151193
|
createSignatureDeclarationFromSignature: () => createSignatureDeclarationFromSignature,
|
|
151527
151194
|
createStubbedBody: () => createStubbedBody,
|
|
151528
151195
|
eachDiagnostic: () => eachDiagnostic,
|
|
151529
151196
|
findAncestorMatchingSpan: () => findAncestorMatchingSpan,
|
|
151530
|
-
findJsonProperty: () => findJsonProperty,
|
|
151531
151197
|
generateAccessorFromProperty: () => generateAccessorFromProperty,
|
|
151532
151198
|
getAccessorConvertiblePropertyAtPosition: () => getAccessorConvertiblePropertyAtPosition,
|
|
151533
151199
|
getAllFixes: () => getAllFixes,
|
|
151534
151200
|
getAllSupers: () => getAllSupers,
|
|
151535
|
-
getArgumentTypesAndTypeParameters: () => getArgumentTypesAndTypeParameters,
|
|
151536
151201
|
getFixes: () => getFixes,
|
|
151537
151202
|
getImportCompletionAction: () => getImportCompletionAction,
|
|
151538
151203
|
getImportKind: () => getImportKind,
|
|
@@ -167607,11 +167272,9 @@ __export(ts_FindAllReferences_exports, {
|
|
|
167607
167272
|
getImplementationsAtPosition: () => getImplementationsAtPosition,
|
|
167608
167273
|
getImportOrExportSymbol: () => getImportOrExportSymbol,
|
|
167609
167274
|
getReferenceEntriesForNode: () => getReferenceEntriesForNode,
|
|
167610
|
-
getTextSpanOfEntry: () => getTextSpanOfEntry,
|
|
167611
167275
|
isContextWithStartAndEndNode: () => isContextWithStartAndEndNode,
|
|
167612
167276
|
isDeclarationOfSymbol: () => isDeclarationOfSymbol,
|
|
167613
167277
|
isWriteAccessForReference: () => isWriteAccessForReference,
|
|
167614
|
-
nodeEntry: () => nodeEntry,
|
|
167615
167278
|
toContextSpan: () => toContextSpan,
|
|
167616
167279
|
toHighlightSpan: () => toHighlightSpan,
|
|
167617
167280
|
toReferenceEntry: () => toReferenceEntry,
|
|
@@ -170033,7 +169696,6 @@ var Core;
|
|
|
170033
169696
|
var ts_GoToDefinition_exports = {};
|
|
170034
169697
|
__export(ts_GoToDefinition_exports, {
|
|
170035
169698
|
createDefinitionInfo: () => createDefinitionInfo,
|
|
170036
|
-
findReferenceInPosition: () => findReferenceInPosition,
|
|
170037
169699
|
getDefinitionAndBoundSpan: () => getDefinitionAndBoundSpan,
|
|
170038
169700
|
getDefinitionAtPosition: () => getDefinitionAtPosition,
|
|
170039
169701
|
getReferenceAtPosition: () => getReferenceAtPosition,
|
|
@@ -171950,7 +171612,6 @@ var ts_OrganizeImports_exports = {};
|
|
|
171950
171612
|
__export(ts_OrganizeImports_exports, {
|
|
171951
171613
|
compareImportsOrRequireStatements: () => compareImportsOrRequireStatements,
|
|
171952
171614
|
compareModuleSpecifiers: () => compareModuleSpecifiers2,
|
|
171953
|
-
getDetectionLists: () => getDetectionLists,
|
|
171954
171615
|
getImportDeclarationInsertionIndex: () => getImportDeclarationInsertionIndex,
|
|
171955
171616
|
getImportSpecifierInsertionIndex: () => getImportSpecifierInsertionIndex,
|
|
171956
171617
|
getNamedImportSpecifierComparerWithDetection: () => getNamedImportSpecifierComparerWithDetection,
|
|
@@ -178707,7 +178368,6 @@ __export(ts_exports2, {
|
|
|
178707
178368
|
GoToDefinition: () => ts_GoToDefinition_exports,
|
|
178708
178369
|
HighlightSpanKind: () => HighlightSpanKind,
|
|
178709
178370
|
IdentifierNameMap: () => IdentifierNameMap,
|
|
178710
|
-
IdentifierNameMultiMap: () => IdentifierNameMultiMap,
|
|
178711
178371
|
ImportKind: () => ImportKind,
|
|
178712
178372
|
ImportsNotUsedAsValues: () => ImportsNotUsedAsValues,
|
|
178713
178373
|
IndentStyle: () => IndentStyle,
|
|
@@ -178794,7 +178454,6 @@ __export(ts_exports2, {
|
|
|
178794
178454
|
SymbolFlags: () => SymbolFlags,
|
|
178795
178455
|
SymbolFormatFlags: () => SymbolFormatFlags,
|
|
178796
178456
|
SyntaxKind: () => SyntaxKind,
|
|
178797
|
-
SyntheticSymbolKind: () => SyntheticSymbolKind,
|
|
178798
178457
|
Ternary: () => Ternary,
|
|
178799
178458
|
ThrottledCancellationToken: () => ThrottledCancellationToken,
|
|
178800
178459
|
TokenClass: () => TokenClass,
|
|
@@ -178817,7 +178476,6 @@ __export(ts_exports2, {
|
|
|
178817
178476
|
WatchLogLevel: () => WatchLogLevel,
|
|
178818
178477
|
WatchType: () => WatchType,
|
|
178819
178478
|
accessPrivateIdentifier: () => accessPrivateIdentifier,
|
|
178820
|
-
addDisposableResourceHelper: () => addDisposableResourceHelper,
|
|
178821
178479
|
addEmitFlags: () => addEmitFlags,
|
|
178822
178480
|
addEmitHelper: () => addEmitHelper,
|
|
178823
178481
|
addEmitHelpers: () => addEmitHelpers,
|
|
@@ -178840,7 +178498,6 @@ __export(ts_exports2, {
|
|
|
178840
178498
|
arrayFrom: () => arrayFrom,
|
|
178841
178499
|
arrayIsEqualTo: () => arrayIsEqualTo,
|
|
178842
178500
|
arrayIsHomogeneous: () => arrayIsHomogeneous,
|
|
178843
|
-
arrayIsSorted: () => arrayIsSorted,
|
|
178844
178501
|
arrayOf: () => arrayOf,
|
|
178845
178502
|
arrayReverseIterator: () => arrayReverseIterator,
|
|
178846
178503
|
arrayToMap: () => arrayToMap,
|
|
@@ -178848,14 +178505,8 @@ __export(ts_exports2, {
|
|
|
178848
178505
|
arrayToNumericMap: () => arrayToNumericMap,
|
|
178849
178506
|
assertType: () => assertType,
|
|
178850
178507
|
assign: () => assign,
|
|
178851
|
-
assignHelper: () => assignHelper,
|
|
178852
|
-
asyncDelegator: () => asyncDelegator,
|
|
178853
|
-
asyncGeneratorHelper: () => asyncGeneratorHelper,
|
|
178854
178508
|
asyncSuperHelper: () => asyncSuperHelper,
|
|
178855
|
-
asyncValues: () => asyncValues,
|
|
178856
178509
|
attachFileToDiagnostics: () => attachFileToDiagnostics,
|
|
178857
|
-
awaitHelper: () => awaitHelper,
|
|
178858
|
-
awaiterHelper: () => awaiterHelper,
|
|
178859
178510
|
base64decode: () => base64decode,
|
|
178860
178511
|
base64encode: () => base64encode,
|
|
178861
178512
|
binarySearch: () => binarySearch,
|
|
@@ -178904,9 +178555,6 @@ __export(ts_exports2, {
|
|
|
178904
178555
|
classHasDeclaredOrExplicitlyAssignedName: () => classHasDeclaredOrExplicitlyAssignedName,
|
|
178905
178556
|
classHasExplicitlyAssignedName: () => classHasExplicitlyAssignedName,
|
|
178906
178557
|
classOrConstructorParameterIsDecorated: () => classOrConstructorParameterIsDecorated,
|
|
178907
|
-
classPrivateFieldGetHelper: () => classPrivateFieldGetHelper,
|
|
178908
|
-
classPrivateFieldInHelper: () => classPrivateFieldInHelper,
|
|
178909
|
-
classPrivateFieldSetHelper: () => classPrivateFieldSetHelper,
|
|
178910
178558
|
classicNameResolver: () => classicNameResolver,
|
|
178911
178559
|
classifier: () => ts_classifier_exports,
|
|
178912
178560
|
cleanExtendedConfigCache: () => cleanExtendedConfigCache,
|
|
@@ -178914,7 +178562,6 @@ __export(ts_exports2, {
|
|
|
178914
178562
|
clearMap: () => clearMap,
|
|
178915
178563
|
clearSharedExtendedConfigFileWatcher: () => clearSharedExtendedConfigFileWatcher,
|
|
178916
178564
|
climbPastPropertyAccess: () => climbPastPropertyAccess,
|
|
178917
|
-
climbPastPropertyOrElementAccess: () => climbPastPropertyOrElementAccess,
|
|
178918
178565
|
clone: () => clone,
|
|
178919
178566
|
cloneCompilerOptions: () => cloneCompilerOptions,
|
|
178920
178567
|
closeFileWatcher: () => closeFileWatcher,
|
|
@@ -178927,12 +178574,10 @@ __export(ts_exports2, {
|
|
|
178927
178574
|
commandLineOptionOfCustomType: () => commandLineOptionOfCustomType,
|
|
178928
178575
|
commentPragmas: () => commentPragmas,
|
|
178929
178576
|
commonOptionsWithBuild: () => commonOptionsWithBuild,
|
|
178930
|
-
commonPackageFolders: () => commonPackageFolders,
|
|
178931
178577
|
compact: () => compact,
|
|
178932
178578
|
compareBooleans: () => compareBooleans,
|
|
178933
178579
|
compareDataObjects: () => compareDataObjects,
|
|
178934
178580
|
compareDiagnostics: () => compareDiagnostics,
|
|
178935
|
-
compareDiagnosticsSkipRelatedInformation: () => compareDiagnosticsSkipRelatedInformation,
|
|
178936
178581
|
compareEmitHelpers: () => compareEmitHelpers,
|
|
178937
178582
|
compareNumberOfDirectorySeparators: () => compareNumberOfDirectorySeparators,
|
|
178938
178583
|
comparePaths: () => comparePaths,
|
|
@@ -178946,26 +178591,21 @@ __export(ts_exports2, {
|
|
|
178946
178591
|
compareStringsCaseSensitiveUI: () => compareStringsCaseSensitiveUI,
|
|
178947
178592
|
compareTextSpans: () => compareTextSpans,
|
|
178948
178593
|
compareValues: () => compareValues,
|
|
178949
|
-
compileOnSaveCommandLineOption: () => compileOnSaveCommandLineOption,
|
|
178950
178594
|
compilerOptionsAffectDeclarationPath: () => compilerOptionsAffectDeclarationPath,
|
|
178951
178595
|
compilerOptionsAffectEmit: () => compilerOptionsAffectEmit,
|
|
178952
178596
|
compilerOptionsAffectSemanticDiagnostics: () => compilerOptionsAffectSemanticDiagnostics,
|
|
178953
178597
|
compilerOptionsDidYouMeanDiagnostics: () => compilerOptionsDidYouMeanDiagnostics,
|
|
178954
178598
|
compilerOptionsIndicateEsModules: () => compilerOptionsIndicateEsModules,
|
|
178955
|
-
compose: () => compose,
|
|
178956
178599
|
computeCommonSourceDirectoryOfFilenames: () => computeCommonSourceDirectoryOfFilenames,
|
|
178957
178600
|
computeLineAndCharacterOfPosition: () => computeLineAndCharacterOfPosition,
|
|
178958
178601
|
computeLineOfPosition: () => computeLineOfPosition,
|
|
178959
178602
|
computeLineStarts: () => computeLineStarts,
|
|
178960
178603
|
computePositionOfLineAndCharacter: () => computePositionOfLineAndCharacter,
|
|
178961
|
-
computeSignature: () => computeSignature,
|
|
178962
178604
|
computeSignatureWithDiagnostics: () => computeSignatureWithDiagnostics,
|
|
178963
178605
|
computeSuggestionDiagnostics: () => computeSuggestionDiagnostics,
|
|
178964
178606
|
computedOptions: () => computedOptions,
|
|
178965
178607
|
concatenate: () => concatenate,
|
|
178966
178608
|
concatenateDiagnosticMessageChains: () => concatenateDiagnosticMessageChains,
|
|
178967
|
-
configDirTemplateSubstitutionOptions: () => configDirTemplateSubstitutionOptions,
|
|
178968
|
-
configDirTemplateSubstitutionWatchOptions: () => configDirTemplateSubstitutionWatchOptions,
|
|
178969
178609
|
consumesNodeCoreModules: () => consumesNodeCoreModules,
|
|
178970
178610
|
contains: () => contains,
|
|
178971
178611
|
containsIgnoredPath: () => containsIgnoredPath,
|
|
@@ -178996,15 +178636,11 @@ __export(ts_exports2, {
|
|
|
178996
178636
|
createAccessorPropertySetRedirector: () => createAccessorPropertySetRedirector,
|
|
178997
178637
|
createBaseNodeFactory: () => createBaseNodeFactory,
|
|
178998
178638
|
createBinaryExpressionTrampoline: () => createBinaryExpressionTrampoline,
|
|
178999
|
-
createBindingHelper: () => createBindingHelper,
|
|
179000
178639
|
createBuilderProgram: () => createBuilderProgram,
|
|
179001
178640
|
createBuilderProgramUsingIncrementalBuildInfo: () => createBuilderProgramUsingIncrementalBuildInfo,
|
|
179002
178641
|
createBuilderStatusReporter: () => createBuilderStatusReporter,
|
|
179003
|
-
createCacheWithRedirects: () => createCacheWithRedirects,
|
|
179004
178642
|
createCacheableExportInfoMap: () => createCacheableExportInfoMap,
|
|
179005
178643
|
createCachedDirectoryStructureHost: () => createCachedDirectoryStructureHost,
|
|
179006
|
-
createClassNamedEvaluationHelperBlock: () => createClassNamedEvaluationHelperBlock,
|
|
179007
|
-
createClassThisAssignmentBlock: () => createClassThisAssignmentBlock,
|
|
179008
178644
|
createClassifier: () => createClassifier,
|
|
179009
178645
|
createCommentDirectivesMap: () => createCommentDirectivesMap,
|
|
179010
178646
|
createCompilerDiagnostic: () => createCompilerDiagnostic,
|
|
@@ -179126,10 +178762,7 @@ __export(ts_exports2, {
|
|
|
179126
178762
|
declarationNameToString: () => declarationNameToString,
|
|
179127
178763
|
decodeMappings: () => decodeMappings,
|
|
179128
178764
|
decodedTextSpanIntersectsWith: () => decodedTextSpanIntersectsWith,
|
|
179129
|
-
decorateHelper: () => decorateHelper,
|
|
179130
178765
|
deduplicate: () => deduplicate,
|
|
179131
|
-
defaultIncludeSpec: () => defaultIncludeSpec,
|
|
179132
|
-
defaultInitCompilerOptions: () => defaultInitCompilerOptions,
|
|
179133
178766
|
defaultMaximumTruncationLength: () => defaultMaximumTruncationLength,
|
|
179134
178767
|
diagnosticCategoryName: () => diagnosticCategoryName,
|
|
179135
178768
|
diagnosticToString: () => diagnosticToString,
|
|
@@ -179139,27 +178772,22 @@ __export(ts_exports2, {
|
|
|
179139
178772
|
displayPart: () => displayPart,
|
|
179140
178773
|
displayPartsToString: () => displayPartsToString,
|
|
179141
178774
|
disposeEmitNodes: () => disposeEmitNodes,
|
|
179142
|
-
disposeResourcesHelper: () => disposeResourcesHelper,
|
|
179143
178775
|
documentSpansEqual: () => documentSpansEqual,
|
|
179144
178776
|
dumpTracingLegend: () => dumpTracingLegend,
|
|
179145
178777
|
elementAt: () => elementAt,
|
|
179146
178778
|
elideNodes: () => elideNodes,
|
|
179147
|
-
emitComments: () => emitComments,
|
|
179148
178779
|
emitDetachedComments: () => emitDetachedComments,
|
|
179149
178780
|
emitFiles: () => emitFiles,
|
|
179150
178781
|
emitFilesAndReportErrors: () => emitFilesAndReportErrors,
|
|
179151
178782
|
emitFilesAndReportErrorsAndGetExitStatus: () => emitFilesAndReportErrorsAndGetExitStatus,
|
|
179152
178783
|
emitModuleKindIsNonNodeESM: () => emitModuleKindIsNonNodeESM,
|
|
179153
178784
|
emitNewLineBeforeLeadingCommentOfPosition: () => emitNewLineBeforeLeadingCommentOfPosition,
|
|
179154
|
-
emitNewLineBeforeLeadingComments: () => emitNewLineBeforeLeadingComments,
|
|
179155
|
-
emitNewLineBeforeLeadingCommentsOfPosition: () => emitNewLineBeforeLeadingCommentsOfPosition,
|
|
179156
178785
|
emitResolverSkipsTypeChecking: () => emitResolverSkipsTypeChecking,
|
|
179157
178786
|
emitSkippedWithNoDiagnostics: () => emitSkippedWithNoDiagnostics,
|
|
179158
178787
|
emptyArray: () => emptyArray,
|
|
179159
178788
|
emptyFileSystemEntries: () => emptyFileSystemEntries,
|
|
179160
178789
|
emptyMap: () => emptyMap,
|
|
179161
178790
|
emptyOptions: () => emptyOptions,
|
|
179162
|
-
emptySet: () => emptySet,
|
|
179163
178791
|
endsWith: () => endsWith,
|
|
179164
178792
|
ensurePathIsNonModuleName: () => ensurePathIsNonModuleName,
|
|
179165
178793
|
ensureScriptKind: () => ensureScriptKind,
|
|
@@ -179170,7 +178798,6 @@ __export(ts_exports2, {
|
|
|
179170
178798
|
equateStringsCaseInsensitive: () => equateStringsCaseInsensitive,
|
|
179171
178799
|
equateStringsCaseSensitive: () => equateStringsCaseSensitive,
|
|
179172
178800
|
equateValues: () => equateValues,
|
|
179173
|
-
esDecorateHelper: () => esDecorateHelper,
|
|
179174
178801
|
escapeJsxAttributeString: () => escapeJsxAttributeString,
|
|
179175
178802
|
escapeLeadingUnderscores: () => escapeLeadingUnderscores,
|
|
179176
178803
|
escapeNonAsciiString: () => escapeNonAsciiString,
|
|
@@ -179184,10 +178811,8 @@ __export(ts_exports2, {
|
|
|
179184
178811
|
explainFiles: () => explainFiles,
|
|
179185
178812
|
explainIfFileIsRedirectAndImpliedFormat: () => explainIfFileIsRedirectAndImpliedFormat,
|
|
179186
178813
|
exportAssignmentIsAlias: () => exportAssignmentIsAlias,
|
|
179187
|
-
exportStarHelper: () => exportStarHelper,
|
|
179188
178814
|
expressionResultIsUnused: () => expressionResultIsUnused,
|
|
179189
178815
|
extend: () => extend,
|
|
179190
|
-
extendsHelper: () => extendsHelper,
|
|
179191
178816
|
extensionFromPath: () => extensionFromPath,
|
|
179192
178817
|
extensionIsTS: () => extensionIsTS,
|
|
179193
178818
|
extensionsNotSupportingExtensionlessResolution: () => extensionsNotSupportingExtensionlessResolution,
|
|
@@ -179214,7 +178839,6 @@ __export(ts_exports2, {
|
|
|
179214
178839
|
findLast: () => findLast,
|
|
179215
178840
|
findLastIndex: () => findLastIndex,
|
|
179216
178841
|
findListItemInfo: () => findListItemInfo,
|
|
179217
|
-
findMap: () => findMap,
|
|
179218
178842
|
findModifier: () => findModifier,
|
|
179219
178843
|
findNextToken: () => findNextToken,
|
|
179220
178844
|
findPackageJson: () => findPackageJson,
|
|
@@ -179262,7 +178886,6 @@ __export(ts_exports2, {
|
|
|
179262
178886
|
forEachTsConfigPropArray: () => forEachTsConfigPropArray,
|
|
179263
178887
|
forEachUnique: () => forEachUnique,
|
|
179264
178888
|
forEachYieldExpression: () => forEachYieldExpression,
|
|
179265
|
-
forSomeAncestorDirectory: () => forSomeAncestorDirectory,
|
|
179266
178889
|
formatColorAndReset: () => formatColorAndReset,
|
|
179267
178890
|
formatDiagnostic: () => formatDiagnostic,
|
|
179268
178891
|
formatDiagnostics: () => formatDiagnostics,
|
|
@@ -179273,11 +178896,8 @@ __export(ts_exports2, {
|
|
|
179273
178896
|
formatMessage: () => formatMessage,
|
|
179274
178897
|
formatStringFromArgs: () => formatStringFromArgs,
|
|
179275
178898
|
formatting: () => ts_formatting_exports,
|
|
179276
|
-
fullTripleSlashAMDReferencePathRegEx: () => fullTripleSlashAMDReferencePathRegEx,
|
|
179277
|
-
fullTripleSlashReferencePathRegEx: () => fullTripleSlashReferencePathRegEx,
|
|
179278
178899
|
generateDjb2Hash: () => generateDjb2Hash,
|
|
179279
178900
|
generateTSConfig: () => generateTSConfig,
|
|
179280
|
-
generatorHelper: () => generatorHelper,
|
|
179281
178901
|
getAdjustedReferenceLocation: () => getAdjustedReferenceLocation,
|
|
179282
178902
|
getAdjustedRenameLocation: () => getAdjustedRenameLocation,
|
|
179283
178903
|
getAliasDeclarationFromName: () => getAliasDeclarationFromName,
|
|
@@ -179296,7 +178916,6 @@ __export(ts_exports2, {
|
|
|
179296
178916
|
getAreDeclarationMapsEnabled: () => getAreDeclarationMapsEnabled,
|
|
179297
178917
|
getAssignedExpandoInitializer: () => getAssignedExpandoInitializer,
|
|
179298
178918
|
getAssignedName: () => getAssignedName,
|
|
179299
|
-
getAssignedNameOfIdentifier: () => getAssignedNameOfIdentifier,
|
|
179300
178919
|
getAssignmentDeclarationKind: () => getAssignmentDeclarationKind,
|
|
179301
178920
|
getAssignmentDeclarationPropertyAccessKind: () => getAssignmentDeclarationPropertyAccessKind,
|
|
179302
178921
|
getAssignmentTargetKind: () => getAssignmentTargetKind,
|
|
@@ -179337,7 +178956,6 @@ __export(ts_exports2, {
|
|
|
179337
178956
|
getContainingObjectLiteralElement: () => getContainingObjectLiteralElement,
|
|
179338
178957
|
getContextualTypeFromParent: () => getContextualTypeFromParent,
|
|
179339
178958
|
getContextualTypeFromParentOrAncestorTypeNode: () => getContextualTypeFromParentOrAncestorTypeNode,
|
|
179340
|
-
getCurrentTime: () => getCurrentTime,
|
|
179341
178959
|
getDeclarationDiagnostics: () => getDeclarationDiagnostics,
|
|
179342
178960
|
getDeclarationEmitExtensionForPath: () => getDeclarationEmitExtensionForPath,
|
|
179343
178961
|
getDeclarationEmitOutputFilePath: () => getDeclarationEmitOutputFilePath,
|
|
@@ -179439,7 +179057,6 @@ __export(ts_exports2, {
|
|
|
179439
179057
|
getImpliedNodeFormatForFileWorker: () => getImpliedNodeFormatForFileWorker,
|
|
179440
179058
|
getImportNeedsImportDefaultHelper: () => getImportNeedsImportDefaultHelper,
|
|
179441
179059
|
getImportNeedsImportStarHelper: () => getImportNeedsImportStarHelper,
|
|
179442
|
-
getIndentSize: () => getIndentSize,
|
|
179443
179060
|
getIndentString: () => getIndentString,
|
|
179444
179061
|
getInferredLibraryNameResolveFrom: () => getInferredLibraryNameResolveFrom,
|
|
179445
179062
|
getInitializedVariables: () => getInitializedVariables,
|
|
@@ -179477,7 +179094,6 @@ __export(ts_exports2, {
|
|
|
179477
179094
|
getJSDocSatisfiesExpressionType: () => getJSDocSatisfiesExpressionType,
|
|
179478
179095
|
getJSDocSatisfiesTag: () => getJSDocSatisfiesTag,
|
|
179479
179096
|
getJSDocTags: () => getJSDocTags,
|
|
179480
|
-
getJSDocTagsNoCache: () => getJSDocTagsNoCache,
|
|
179481
179097
|
getJSDocTemplateTag: () => getJSDocTemplateTag,
|
|
179482
179098
|
getJSDocThisTag: () => getJSDocThisTag,
|
|
179483
179099
|
getJSDocType: () => getJSDocType,
|
|
@@ -179501,7 +179117,6 @@ __export(ts_exports2, {
|
|
|
179501
179117
|
getLineAndCharacterOfPosition: () => getLineAndCharacterOfPosition,
|
|
179502
179118
|
getLineInfo: () => getLineInfo,
|
|
179503
179119
|
getLineOfLocalPosition: () => getLineOfLocalPosition,
|
|
179504
|
-
getLineOfLocalPositionFromLineMap: () => getLineOfLocalPositionFromLineMap,
|
|
179505
179120
|
getLineStartPositionForPosition: () => getLineStartPositionForPosition,
|
|
179506
179121
|
getLineStarts: () => getLineStarts,
|
|
179507
179122
|
getLinesBetweenPositionAndNextNonWhitespaceCharacter: () => getLinesBetweenPositionAndNextNonWhitespaceCharacter,
|
|
@@ -179565,40 +179180,32 @@ __export(ts_exports2, {
|
|
|
179565
179180
|
getNormalizedAbsolutePathWithoutRoot: () => getNormalizedAbsolutePathWithoutRoot,
|
|
179566
179181
|
getNormalizedPathComponents: () => getNormalizedPathComponents,
|
|
179567
179182
|
getObjectFlags: () => getObjectFlags,
|
|
179568
|
-
getOperator: () => getOperator,
|
|
179569
179183
|
getOperatorAssociativity: () => getOperatorAssociativity,
|
|
179570
179184
|
getOperatorPrecedence: () => getOperatorPrecedence,
|
|
179571
179185
|
getOptionFromName: () => getOptionFromName,
|
|
179572
179186
|
getOptionsForLibraryResolution: () => getOptionsForLibraryResolution,
|
|
179573
179187
|
getOptionsNameMap: () => getOptionsNameMap,
|
|
179574
179188
|
getOrCreateEmitNode: () => getOrCreateEmitNode,
|
|
179575
|
-
getOrCreateExternalHelpersModuleNameIfNeeded: () => getOrCreateExternalHelpersModuleNameIfNeeded,
|
|
179576
179189
|
getOrUpdate: () => getOrUpdate,
|
|
179577
179190
|
getOriginalNode: () => getOriginalNode,
|
|
179578
179191
|
getOriginalNodeId: () => getOriginalNodeId,
|
|
179579
|
-
getOriginalSourceFile: () => getOriginalSourceFile,
|
|
179580
179192
|
getOutputDeclarationFileName: () => getOutputDeclarationFileName,
|
|
179581
179193
|
getOutputDeclarationFileNameWorker: () => getOutputDeclarationFileNameWorker,
|
|
179582
179194
|
getOutputExtension: () => getOutputExtension,
|
|
179583
179195
|
getOutputFileNames: () => getOutputFileNames,
|
|
179584
179196
|
getOutputJSFileNameWorker: () => getOutputJSFileNameWorker,
|
|
179585
179197
|
getOutputPathsFor: () => getOutputPathsFor,
|
|
179586
|
-
getOutputPathsForBundle: () => getOutputPathsForBundle,
|
|
179587
179198
|
getOwnEmitOutputFilePath: () => getOwnEmitOutputFilePath,
|
|
179588
179199
|
getOwnKeys: () => getOwnKeys,
|
|
179589
179200
|
getOwnValues: () => getOwnValues,
|
|
179590
|
-
getPackageJsonInfo: () => getPackageJsonInfo,
|
|
179591
179201
|
getPackageJsonTypesVersionsPaths: () => getPackageJsonTypesVersionsPaths,
|
|
179592
|
-
getPackageJsonsVisibleToFile: () => getPackageJsonsVisibleToFile,
|
|
179593
179202
|
getPackageNameFromTypesPackageName: () => getPackageNameFromTypesPackageName,
|
|
179594
179203
|
getPackageScopeForPath: () => getPackageScopeForPath,
|
|
179595
179204
|
getParameterSymbolFromJSDoc: () => getParameterSymbolFromJSDoc,
|
|
179596
|
-
getParameterTypeNode: () => getParameterTypeNode,
|
|
179597
179205
|
getParentNodeInSpan: () => getParentNodeInSpan,
|
|
179598
179206
|
getParseTreeNode: () => getParseTreeNode,
|
|
179599
179207
|
getParsedCommandLineOfConfigFile: () => getParsedCommandLineOfConfigFile,
|
|
179600
179208
|
getPathComponents: () => getPathComponents,
|
|
179601
|
-
getPathComponentsRelativeTo: () => getPathComponentsRelativeTo,
|
|
179602
179209
|
getPathFromPathComponents: () => getPathFromPathComponents,
|
|
179603
179210
|
getPathUpdater: () => getPathUpdater,
|
|
179604
179211
|
getPathsBasePath: () => getPathsBasePath,
|
|
@@ -179616,7 +179223,6 @@ __export(ts_exports2, {
|
|
|
179616
179223
|
getPropertyArrayElementValue: () => getPropertyArrayElementValue,
|
|
179617
179224
|
getPropertyAssignmentAliasLikeExpression: () => getPropertyAssignmentAliasLikeExpression,
|
|
179618
179225
|
getPropertyNameForPropertyNameNode: () => getPropertyNameForPropertyNameNode,
|
|
179619
|
-
getPropertyNameForUniqueESSymbol: () => getPropertyNameForUniqueESSymbol,
|
|
179620
179226
|
getPropertyNameFromType: () => getPropertyNameFromType,
|
|
179621
179227
|
getPropertyNameOfBindingOrAssignmentElement: () => getPropertyNameOfBindingOrAssignmentElement,
|
|
179622
179228
|
getPropertySymbolFromBindingElement: () => getPropertySymbolFromBindingElement,
|
|
@@ -179640,13 +179246,14 @@ __export(ts_exports2, {
|
|
|
179640
179246
|
getResolvePackageJsonExports: () => getResolvePackageJsonExports,
|
|
179641
179247
|
getResolvePackageJsonImports: () => getResolvePackageJsonImports,
|
|
179642
179248
|
getResolvedExternalModuleName: () => getResolvedExternalModuleName,
|
|
179249
|
+
getResolvedModuleFromResolution: () => getResolvedModuleFromResolution,
|
|
179250
|
+
getResolvedTypeReferenceDirectiveFromResolution: () => getResolvedTypeReferenceDirectiveFromResolution,
|
|
179643
179251
|
getRestIndicatorOfBindingOrAssignmentElement: () => getRestIndicatorOfBindingOrAssignmentElement,
|
|
179644
179252
|
getRestParameterElementType: () => getRestParameterElementType,
|
|
179645
179253
|
getRightMostAssignedExpression: () => getRightMostAssignedExpression,
|
|
179646
179254
|
getRootDeclaration: () => getRootDeclaration,
|
|
179647
179255
|
getRootDirectoryOfResolutionCache: () => getRootDirectoryOfResolutionCache,
|
|
179648
179256
|
getRootLength: () => getRootLength,
|
|
179649
|
-
getRootPathSplitLength: () => getRootPathSplitLength,
|
|
179650
179257
|
getScriptKind: () => getScriptKind,
|
|
179651
179258
|
getScriptKindFromFileName: () => getScriptKindFromFileName,
|
|
179652
179259
|
getScriptTargetFeatures: () => getScriptTargetFeatures,
|
|
@@ -179658,14 +179265,12 @@ __export(ts_exports2, {
|
|
|
179658
179265
|
getSetAccessorValueParameter: () => getSetAccessorValueParameter,
|
|
179659
179266
|
getSetExternalModuleIndicator: () => getSetExternalModuleIndicator,
|
|
179660
179267
|
getShebang: () => getShebang,
|
|
179661
|
-
getSingleInitializerOfVariableStatementOrPropertyDeclaration: () => getSingleInitializerOfVariableStatementOrPropertyDeclaration,
|
|
179662
179268
|
getSingleVariableOfVariableStatement: () => getSingleVariableOfVariableStatement,
|
|
179663
179269
|
getSnapshotText: () => getSnapshotText,
|
|
179664
179270
|
getSnippetElement: () => getSnippetElement,
|
|
179665
179271
|
getSourceFileOfModule: () => getSourceFileOfModule,
|
|
179666
179272
|
getSourceFileOfNode: () => getSourceFileOfNode,
|
|
179667
179273
|
getSourceFilePathInNewDir: () => getSourceFilePathInNewDir,
|
|
179668
|
-
getSourceFilePathInNewDirWorker: () => getSourceFilePathInNewDirWorker,
|
|
179669
179274
|
getSourceFileVersionAsHashFromText: () => getSourceFileVersionAsHashFromText,
|
|
179670
179275
|
getSourceFilesToEmit: () => getSourceFilesToEmit,
|
|
179671
179276
|
getSourceMapRange: () => getSourceMapRange,
|
|
@@ -179688,7 +179293,6 @@ __export(ts_exports2, {
|
|
|
179688
179293
|
getSwitchedType: () => getSwitchedType,
|
|
179689
179294
|
getSymbolId: () => getSymbolId,
|
|
179690
179295
|
getSymbolNameForPrivateIdentifier: () => getSymbolNameForPrivateIdentifier,
|
|
179691
|
-
getSymbolParentOrFail: () => getSymbolParentOrFail,
|
|
179692
179296
|
getSymbolTarget: () => getSymbolTarget,
|
|
179693
179297
|
getSyntacticClassifications: () => getSyntacticClassifications,
|
|
179694
179298
|
getSyntacticModifierFlags: () => getSyntacticModifierFlags,
|
|
@@ -179719,7 +179323,6 @@ __export(ts_exports2, {
|
|
|
179719
179323
|
getTouchingToken: () => getTouchingToken,
|
|
179720
179324
|
getTrailingCommentRanges: () => getTrailingCommentRanges,
|
|
179721
179325
|
getTrailingSemicolonDeferringWriter: () => getTrailingSemicolonDeferringWriter,
|
|
179722
|
-
getTransformFlagsSubtreeExclusions: () => getTransformFlagsSubtreeExclusions,
|
|
179723
179326
|
getTransformers: () => getTransformers,
|
|
179724
179327
|
getTsBuildInfoEmitOutputFilePath: () => getTsBuildInfoEmitOutputFilePath,
|
|
179725
179328
|
getTsConfigObjectLiteralExpression: () => getTsConfigObjectLiteralExpression,
|
|
@@ -179747,7 +179350,6 @@ __export(ts_exports2, {
|
|
|
179747
179350
|
hasAccessorModifier: () => hasAccessorModifier,
|
|
179748
179351
|
hasAmbientModifier: () => hasAmbientModifier,
|
|
179749
179352
|
hasChangesInResolutions: () => hasChangesInResolutions,
|
|
179750
|
-
hasChildOfKind: () => hasChildOfKind,
|
|
179751
179353
|
hasContextSensitiveParameters: () => hasContextSensitiveParameters,
|
|
179752
179354
|
hasDecorators: () => hasDecorators,
|
|
179753
179355
|
hasDocComment: () => hasDocComment,
|
|
@@ -179783,7 +179385,6 @@ __export(ts_exports2, {
|
|
|
179783
179385
|
hasType: () => hasType,
|
|
179784
179386
|
hasTypeArguments: () => hasTypeArguments,
|
|
179785
179387
|
hasZeroOrOneAsteriskCharacter: () => hasZeroOrOneAsteriskCharacter,
|
|
179786
|
-
helperString: () => helperString,
|
|
179787
179388
|
hostGetCanonicalFileName: () => hostGetCanonicalFileName,
|
|
179788
179389
|
hostUsesCaseSensitiveFileNames: () => hostUsesCaseSensitiveFileNames,
|
|
179789
179390
|
idText: () => idText,
|
|
@@ -179793,9 +179394,7 @@ __export(ts_exports2, {
|
|
|
179793
179394
|
identitySourceMapConsumer: () => identitySourceMapConsumer,
|
|
179794
179395
|
ignoreSourceNewlines: () => ignoreSourceNewlines,
|
|
179795
179396
|
ignoredPaths: () => ignoredPaths,
|
|
179796
|
-
importDefaultHelper: () => importDefaultHelper,
|
|
179797
179397
|
importFromModuleSpecifier: () => importFromModuleSpecifier,
|
|
179798
|
-
importStarHelper: () => importStarHelper,
|
|
179799
179398
|
indexOfAnyCharCode: () => indexOfAnyCharCode,
|
|
179800
179399
|
indexOfNode: () => indexOfNode,
|
|
179801
179400
|
indicesOf: () => indicesOf,
|
|
@@ -179803,7 +179402,6 @@ __export(ts_exports2, {
|
|
|
179803
179402
|
injectClassNamedEvaluationHelperBlockIfMissing: () => injectClassNamedEvaluationHelperBlockIfMissing,
|
|
179804
179403
|
injectClassThisAssignmentIfMissing: () => injectClassThisAssignmentIfMissing,
|
|
179805
179404
|
insertImports: () => insertImports,
|
|
179806
|
-
insertLeadingStatement: () => insertLeadingStatement,
|
|
179807
179405
|
insertSorted: () => insertSorted,
|
|
179808
179406
|
insertStatementAfterCustomPrologue: () => insertStatementAfterCustomPrologue,
|
|
179809
179407
|
insertStatementAfterStandardPrologue: () => insertStatementAfterStandardPrologue,
|
|
@@ -179819,11 +179417,9 @@ __export(ts_exports2, {
|
|
|
179819
179417
|
isAccessibilityModifier: () => isAccessibilityModifier,
|
|
179820
179418
|
isAccessor: () => isAccessor,
|
|
179821
179419
|
isAccessorModifier: () => isAccessorModifier,
|
|
179822
|
-
isAliasSymbolDeclaration: () => isAliasSymbolDeclaration,
|
|
179823
179420
|
isAliasableExpression: () => isAliasableExpression,
|
|
179824
179421
|
isAmbientModule: () => isAmbientModule,
|
|
179825
179422
|
isAmbientPropertyDeclaration: () => isAmbientPropertyDeclaration,
|
|
179826
|
-
isAnonymousFunctionDefinition: () => isAnonymousFunctionDefinition,
|
|
179827
179423
|
isAnyDirectorySeparator: () => isAnyDirectorySeparator,
|
|
179828
179424
|
isAnyImportOrBareOrAccessedRequire: () => isAnyImportOrBareOrAccessedRequire,
|
|
179829
179425
|
isAnyImportOrReExport: () => isAnyImportOrReExport,
|
|
@@ -179899,7 +179495,6 @@ __export(ts_exports2, {
|
|
|
179899
179495
|
isCatchClauseVariableDeclaration: () => isCatchClauseVariableDeclaration,
|
|
179900
179496
|
isCatchClauseVariableDeclarationOrBindingElement: () => isCatchClauseVariableDeclarationOrBindingElement,
|
|
179901
179497
|
isCheckJsEnabledForFile: () => isCheckJsEnabledForFile,
|
|
179902
|
-
isChildOfNodeWithKind: () => isChildOfNodeWithKind,
|
|
179903
179498
|
isCircularBuildOrder: () => isCircularBuildOrder,
|
|
179904
179499
|
isClassDeclaration: () => isClassDeclaration,
|
|
179905
179500
|
isClassElement: () => isClassElement,
|
|
@@ -179911,7 +179506,6 @@ __export(ts_exports2, {
|
|
|
179911
179506
|
isClassOrTypeElement: () => isClassOrTypeElement,
|
|
179912
179507
|
isClassStaticBlockDeclaration: () => isClassStaticBlockDeclaration,
|
|
179913
179508
|
isClassThisAssignmentBlock: () => isClassThisAssignmentBlock,
|
|
179914
|
-
isCollapsedRange: () => isCollapsedRange,
|
|
179915
179509
|
isColonToken: () => isColonToken,
|
|
179916
179510
|
isCommaExpression: () => isCommaExpression,
|
|
179917
179511
|
isCommaListExpression: () => isCommaListExpression,
|
|
@@ -179954,16 +179548,13 @@ __export(ts_exports2, {
|
|
|
179954
179548
|
isDeleteTarget: () => isDeleteTarget,
|
|
179955
179549
|
isDeprecatedDeclaration: () => isDeprecatedDeclaration,
|
|
179956
179550
|
isDestructuringAssignment: () => isDestructuringAssignment,
|
|
179957
|
-
isDiagnosticWithLocation: () => isDiagnosticWithLocation,
|
|
179958
179551
|
isDiskPathRoot: () => isDiskPathRoot,
|
|
179959
179552
|
isDoStatement: () => isDoStatement,
|
|
179960
179553
|
isDocumentRegistryEntry: () => isDocumentRegistryEntry,
|
|
179961
179554
|
isDotDotDotToken: () => isDotDotDotToken,
|
|
179962
179555
|
isDottedName: () => isDottedName,
|
|
179963
179556
|
isDynamicName: () => isDynamicName,
|
|
179964
|
-
isESSymbolIdentifier: () => isESSymbolIdentifier,
|
|
179965
179557
|
isEffectiveExternalModule: () => isEffectiveExternalModule,
|
|
179966
|
-
isEffectiveModuleDeclaration: () => isEffectiveModuleDeclaration,
|
|
179967
179558
|
isEffectiveStrictModeSourceFile: () => isEffectiveStrictModeSourceFile,
|
|
179968
179559
|
isElementAccessChain: () => isElementAccessChain,
|
|
179969
179560
|
isElementAccessExpression: () => isElementAccessExpression,
|
|
@@ -180033,13 +179624,11 @@ __export(ts_exports2, {
|
|
|
180033
179624
|
isFunctionOrModuleBlock: () => isFunctionOrModuleBlock,
|
|
180034
179625
|
isFunctionSymbol: () => isFunctionSymbol,
|
|
180035
179626
|
isFunctionTypeNode: () => isFunctionTypeNode,
|
|
180036
|
-
isFutureReservedKeyword: () => isFutureReservedKeyword,
|
|
180037
179627
|
isGeneratedIdentifier: () => isGeneratedIdentifier,
|
|
180038
179628
|
isGeneratedPrivateIdentifier: () => isGeneratedPrivateIdentifier,
|
|
180039
179629
|
isGetAccessor: () => isGetAccessor,
|
|
180040
179630
|
isGetAccessorDeclaration: () => isGetAccessorDeclaration,
|
|
180041
179631
|
isGetOrSetAccessorDeclaration: () => isGetOrSetAccessorDeclaration,
|
|
180042
|
-
isGlobalDeclaration: () => isGlobalDeclaration,
|
|
180043
179632
|
isGlobalScopeAugmentation: () => isGlobalScopeAugmentation,
|
|
180044
179633
|
isGlobalSourceFile: () => isGlobalSourceFile,
|
|
180045
179634
|
isGrammarError: () => isGrammarError,
|
|
@@ -180195,7 +179784,6 @@ __export(ts_exports2, {
|
|
|
180195
179784
|
isLabeledStatement: () => isLabeledStatement,
|
|
180196
179785
|
isLateVisibilityPaintedStatement: () => isLateVisibilityPaintedStatement,
|
|
180197
179786
|
isLeftHandSideExpression: () => isLeftHandSideExpression,
|
|
180198
|
-
isLeftHandSideOfAssignment: () => isLeftHandSideOfAssignment,
|
|
180199
179787
|
isLet: () => isLet,
|
|
180200
179788
|
isLineBreak: () => isLineBreak,
|
|
180201
179789
|
isLiteralComputedPropertyDeclarationName: () => isLiteralComputedPropertyDeclarationName,
|
|
@@ -180203,10 +179791,7 @@ __export(ts_exports2, {
|
|
|
180203
179791
|
isLiteralExpressionOfObject: () => isLiteralExpressionOfObject,
|
|
180204
179792
|
isLiteralImportTypeNode: () => isLiteralImportTypeNode,
|
|
180205
179793
|
isLiteralKind: () => isLiteralKind,
|
|
180206
|
-
isLiteralLikeAccess: () => isLiteralLikeAccess,
|
|
180207
|
-
isLiteralLikeElementAccess: () => isLiteralLikeElementAccess,
|
|
180208
179794
|
isLiteralNameOfPropertyDeclarationOrIndexAccess: () => isLiteralNameOfPropertyDeclarationOrIndexAccess,
|
|
180209
|
-
isLiteralTypeLikeExpression: () => isLiteralTypeLikeExpression,
|
|
180210
179795
|
isLiteralTypeLiteral: () => isLiteralTypeLiteral,
|
|
180211
179796
|
isLiteralTypeNode: () => isLiteralTypeNode,
|
|
180212
179797
|
isLocalName: () => isLocalName,
|
|
@@ -180241,7 +179826,6 @@ __export(ts_exports2, {
|
|
|
180241
179826
|
isModuleWithStringLiteralName: () => isModuleWithStringLiteralName,
|
|
180242
179827
|
isNameOfFunctionDeclaration: () => isNameOfFunctionDeclaration,
|
|
180243
179828
|
isNameOfModuleDeclaration: () => isNameOfModuleDeclaration,
|
|
180244
|
-
isNamedClassElement: () => isNamedClassElement,
|
|
180245
179829
|
isNamedDeclaration: () => isNamedDeclaration,
|
|
180246
179830
|
isNamedEvaluation: () => isNamedEvaluation,
|
|
180247
179831
|
isNamedEvaluationSource: () => isNamedEvaluationSource,
|
|
@@ -180259,7 +179843,6 @@ __export(ts_exports2, {
|
|
|
180259
179843
|
isNewExpression: () => isNewExpression,
|
|
180260
179844
|
isNewExpressionTarget: () => isNewExpressionTarget,
|
|
180261
179845
|
isNoSubstitutionTemplateLiteral: () => isNoSubstitutionTemplateLiteral,
|
|
180262
|
-
isNode: () => isNode,
|
|
180263
179846
|
isNodeArray: () => isNodeArray,
|
|
180264
179847
|
isNodeArrayMultiLine: () => isNodeArrayMultiLine,
|
|
180265
179848
|
isNodeDescendantOf: () => isNodeDescendantOf,
|
|
@@ -180268,15 +179851,11 @@ __export(ts_exports2, {
|
|
|
180268
179851
|
isNodeModulesDirectory: () => isNodeModulesDirectory,
|
|
180269
179852
|
isNodeWithPossibleHoistedDeclaration: () => isNodeWithPossibleHoistedDeclaration,
|
|
180270
179853
|
isNonContextualKeyword: () => isNonContextualKeyword,
|
|
180271
|
-
isNonExportDefaultModifier: () => isNonExportDefaultModifier,
|
|
180272
179854
|
isNonGlobalAmbientModule: () => isNonGlobalAmbientModule,
|
|
180273
|
-
isNonGlobalDeclaration: () => isNonGlobalDeclaration,
|
|
180274
|
-
isNonIncrementalBuildInfo: () => isNonIncrementalBuildInfo,
|
|
180275
179855
|
isNonNullAccess: () => isNonNullAccess,
|
|
180276
179856
|
isNonNullChain: () => isNonNullChain,
|
|
180277
179857
|
isNonNullExpression: () => isNonNullExpression,
|
|
180278
179858
|
isNonStaticMethodOrAccessorWithPrivateName: () => isNonStaticMethodOrAccessorWithPrivateName,
|
|
180279
|
-
isNotEmittedOrPartiallyEmittedNode: () => isNotEmittedOrPartiallyEmittedNode,
|
|
180280
179859
|
isNotEmittedStatement: () => isNotEmittedStatement,
|
|
180281
179860
|
isNullishCoalesce: () => isNullishCoalesce,
|
|
180282
179861
|
isNumber: () => isNumber,
|
|
@@ -180292,7 +179871,6 @@ __export(ts_exports2, {
|
|
|
180292
179871
|
isObjectLiteralMethod: () => isObjectLiteralMethod,
|
|
180293
179872
|
isObjectLiteralOrClassExpressionMethodOrAccessor: () => isObjectLiteralOrClassExpressionMethodOrAccessor,
|
|
180294
179873
|
isObjectTypeDeclaration: () => isObjectTypeDeclaration,
|
|
180295
|
-
isOctalDigit: () => isOctalDigit,
|
|
180296
179874
|
isOmittedExpression: () => isOmittedExpression,
|
|
180297
179875
|
isOptionalChain: () => isOptionalChain,
|
|
180298
179876
|
isOptionalChainRoot: () => isOptionalChainRoot,
|
|
@@ -180338,7 +179916,6 @@ __export(ts_exports2, {
|
|
|
180338
179916
|
isPropertyName: () => isPropertyName,
|
|
180339
179917
|
isPropertyNameLiteral: () => isPropertyNameLiteral,
|
|
180340
179918
|
isPropertySignature: () => isPropertySignature,
|
|
180341
|
-
isProtoSetter: () => isProtoSetter,
|
|
180342
179919
|
isPrototypeAccess: () => isPrototypeAccess,
|
|
180343
179920
|
isPrototypePropertyAssignment: () => isPrototypePropertyAssignment,
|
|
180344
179921
|
isPunctuation: () => isPunctuation,
|
|
@@ -180348,7 +179925,6 @@ __export(ts_exports2, {
|
|
|
180348
179925
|
isQuestionOrExclamationToken: () => isQuestionOrExclamationToken,
|
|
180349
179926
|
isQuestionOrPlusOrMinusToken: () => isQuestionOrPlusOrMinusToken,
|
|
180350
179927
|
isQuestionToken: () => isQuestionToken,
|
|
180351
|
-
isRawSourceMap: () => isRawSourceMap,
|
|
180352
179928
|
isReadonlyKeyword: () => isReadonlyKeyword,
|
|
180353
179929
|
isReadonlyKeywordOrPlusOrMinusToken: () => isReadonlyKeywordOrPlusOrMinusToken,
|
|
180354
179930
|
isRecognizedTripleSlashComment: () => isRecognizedTripleSlashComment,
|
|
@@ -180370,25 +179946,21 @@ __export(ts_exports2, {
|
|
|
180370
179946
|
isRootedDiskPath: () => isRootedDiskPath,
|
|
180371
179947
|
isSameEntityName: () => isSameEntityName,
|
|
180372
179948
|
isSatisfiesExpression: () => isSatisfiesExpression,
|
|
180373
|
-
isScopeMarker: () => isScopeMarker,
|
|
180374
179949
|
isSemicolonClassElement: () => isSemicolonClassElement,
|
|
180375
179950
|
isSetAccessor: () => isSetAccessor,
|
|
180376
179951
|
isSetAccessorDeclaration: () => isSetAccessorDeclaration,
|
|
180377
|
-
isShebangTrivia: () => isShebangTrivia,
|
|
180378
179952
|
isShiftOperatorOrHigher: () => isShiftOperatorOrHigher,
|
|
180379
179953
|
isShorthandAmbientModuleSymbol: () => isShorthandAmbientModuleSymbol,
|
|
180380
179954
|
isShorthandPropertyAssignment: () => isShorthandPropertyAssignment,
|
|
180381
179955
|
isSignedNumericLiteral: () => isSignedNumericLiteral,
|
|
180382
179956
|
isSimpleCopiableExpression: () => isSimpleCopiableExpression,
|
|
180383
179957
|
isSimpleInlineableExpression: () => isSimpleInlineableExpression,
|
|
180384
|
-
isSimpleParameter: () => isSimpleParameter,
|
|
180385
179958
|
isSimpleParameterList: () => isSimpleParameterList,
|
|
180386
179959
|
isSingleOrDoubleQuote: () => isSingleOrDoubleQuote,
|
|
180387
179960
|
isSourceElement: () => isSourceElement,
|
|
180388
179961
|
isSourceFile: () => isSourceFile,
|
|
180389
179962
|
isSourceFileFromLibrary: () => isSourceFileFromLibrary,
|
|
180390
179963
|
isSourceFileJS: () => isSourceFileJS,
|
|
180391
|
-
isSourceFileNotJS: () => isSourceFileNotJS,
|
|
180392
179964
|
isSourceFileNotJson: () => isSourceFileNotJson,
|
|
180393
179965
|
isSourceMapping: () => isSourceMapping,
|
|
180394
179966
|
isSpecialPropertyDeclaration: () => isSpecialPropertyDeclaration,
|
|
@@ -180401,7 +179973,6 @@ __export(ts_exports2, {
|
|
|
180401
179973
|
isStatic: () => isStatic,
|
|
180402
179974
|
isStaticModifier: () => isStaticModifier,
|
|
180403
179975
|
isString: () => isString,
|
|
180404
|
-
isStringAKeyword: () => isStringAKeyword,
|
|
180405
179976
|
isStringANonContextualKeyword: () => isStringANonContextualKeyword,
|
|
180406
179977
|
isStringAndEmptyAnonymousObjectIntersection: () => isStringAndEmptyAnonymousObjectIntersection,
|
|
180407
179978
|
isStringDoubleQuoted: () => isStringDoubleQuoted,
|
|
@@ -180414,7 +179985,6 @@ __export(ts_exports2, {
|
|
|
180414
179985
|
isStringTextContainingNode: () => isStringTextContainingNode,
|
|
180415
179986
|
isSuperCall: () => isSuperCall,
|
|
180416
179987
|
isSuperKeyword: () => isSuperKeyword,
|
|
180417
|
-
isSuperOrSuperProperty: () => isSuperOrSuperProperty,
|
|
180418
179988
|
isSuperProperty: () => isSuperProperty,
|
|
180419
179989
|
isSupportedSourceFileName: () => isSupportedSourceFileName,
|
|
180420
179990
|
isSwitchStatement: () => isSwitchStatement,
|
|
@@ -180460,7 +180030,6 @@ __export(ts_exports2, {
|
|
|
180460
180030
|
isTypeDeclaration: () => isTypeDeclaration,
|
|
180461
180031
|
isTypeElement: () => isTypeElement,
|
|
180462
180032
|
isTypeKeyword: () => isTypeKeyword,
|
|
180463
|
-
isTypeKeywordToken: () => isTypeKeywordToken,
|
|
180464
180033
|
isTypeKeywordTokenOrIdentifier: () => isTypeKeywordTokenOrIdentifier,
|
|
180465
180034
|
isTypeLiteralNode: () => isTypeLiteralNode,
|
|
180466
180035
|
isTypeNode: () => isTypeNode,
|
|
@@ -180515,9 +180084,6 @@ __export(ts_exports2, {
|
|
|
180515
180084
|
libMap: () => libMap,
|
|
180516
180085
|
libs: () => libs,
|
|
180517
180086
|
lineBreakPart: () => lineBreakPart,
|
|
180518
|
-
linkNamePart: () => linkNamePart,
|
|
180519
|
-
linkPart: () => linkPart,
|
|
180520
|
-
linkTextPart: () => linkTextPart,
|
|
180521
180087
|
loadModuleFromGlobalCache: () => loadModuleFromGlobalCache,
|
|
180522
180088
|
loadWithModeAwareCache: () => loadWithModeAwareCache,
|
|
180523
180089
|
makeIdentifierFromModuleName: () => makeIdentifierFromModuleName,
|
|
@@ -180540,10 +180106,7 @@ __export(ts_exports2, {
|
|
|
180540
180106
|
maybeBind: () => maybeBind,
|
|
180541
180107
|
maybeSetLocalizedDiagnosticMessages: () => maybeSetLocalizedDiagnosticMessages,
|
|
180542
180108
|
memoize: () => memoize,
|
|
180543
|
-
memoizeCached: () => memoizeCached,
|
|
180544
180109
|
memoizeOne: () => memoizeOne,
|
|
180545
|
-
memoizeWeak: () => memoizeWeak,
|
|
180546
|
-
metadataHelper: () => metadataHelper,
|
|
180547
180110
|
min: () => min,
|
|
180548
180111
|
minAndMax: () => minAndMax,
|
|
180549
180112
|
missingFileModifiedTime: () => missingFileModifiedTime,
|
|
@@ -180591,7 +180154,6 @@ __export(ts_exports2, {
|
|
|
180591
180154
|
nodePosToString: () => nodePosToString,
|
|
180592
180155
|
nodeSeenTracker: () => nodeSeenTracker,
|
|
180593
180156
|
nodeStartsNewLexicalEnvironment: () => nodeStartsNewLexicalEnvironment,
|
|
180594
|
-
nodeToDisplayParts: () => nodeToDisplayParts,
|
|
180595
180157
|
noop: () => noop,
|
|
180596
180158
|
noopFileWatcher: () => noopFileWatcher,
|
|
180597
180159
|
normalizePath: () => normalizePath,
|
|
@@ -180611,13 +180173,11 @@ __export(ts_exports2, {
|
|
|
180611
180173
|
optionsForBuild: () => optionsForBuild,
|
|
180612
180174
|
optionsForWatch: () => optionsForWatch,
|
|
180613
180175
|
optionsHaveChanges: () => optionsHaveChanges,
|
|
180614
|
-
optionsHaveModuleResolutionChanges: () => optionsHaveModuleResolutionChanges,
|
|
180615
180176
|
or: () => or,
|
|
180616
180177
|
orderedRemoveItem: () => orderedRemoveItem,
|
|
180617
180178
|
orderedRemoveItemAt: () => orderedRemoveItemAt,
|
|
180618
180179
|
packageIdToPackageName: () => packageIdToPackageName,
|
|
180619
180180
|
packageIdToString: () => packageIdToString,
|
|
180620
|
-
paramHelper: () => paramHelper,
|
|
180621
180181
|
parameterIsThisKeyword: () => parameterIsThisKeyword,
|
|
180622
180182
|
parameterNamePart: () => parameterNamePart,
|
|
180623
180183
|
parseBaseNodeFactory: () => parseBaseNodeFactory,
|
|
@@ -180650,7 +180210,6 @@ __export(ts_exports2, {
|
|
|
180650
180210
|
patternText: () => patternText,
|
|
180651
180211
|
performIncrementalCompilation: () => performIncrementalCompilation,
|
|
180652
180212
|
performance: () => ts_performance_exports,
|
|
180653
|
-
plainJSErrors: () => plainJSErrors,
|
|
180654
180213
|
positionBelongsToNode: () => positionBelongsToNode,
|
|
180655
180214
|
positionIsASICandidate: () => positionIsASICandidate,
|
|
180656
180215
|
positionIsSynthesized: () => positionIsSynthesized,
|
|
@@ -180663,7 +180222,6 @@ __export(ts_exports2, {
|
|
|
180663
180222
|
programContainsEsModules: () => programContainsEsModules,
|
|
180664
180223
|
programContainsModules: () => programContainsModules,
|
|
180665
180224
|
projectReferenceIsEqualTo: () => projectReferenceIsEqualTo,
|
|
180666
|
-
propKeyHelper: () => propKeyHelper,
|
|
180667
180225
|
propertyNamePart: () => propertyNamePart,
|
|
180668
180226
|
pseudoBigIntToString: () => pseudoBigIntToString,
|
|
180669
180227
|
punctuationPart: () => punctuationPart,
|
|
@@ -180686,7 +180244,6 @@ __export(ts_exports2, {
|
|
|
180686
180244
|
rangeStartPositionsAreOnSameLine: () => rangeStartPositionsAreOnSameLine,
|
|
180687
180245
|
readBuilderProgram: () => readBuilderProgram,
|
|
180688
180246
|
readConfigFile: () => readConfigFile,
|
|
180689
|
-
readHelper: () => readHelper,
|
|
180690
180247
|
readJson: () => readJson,
|
|
180691
180248
|
readJsonConfigFile: () => readJsonConfigFile,
|
|
180692
180249
|
readJsonOrUndefined: () => readJsonOrUndefined,
|
|
@@ -180705,7 +180262,6 @@ __export(ts_exports2, {
|
|
|
180705
180262
|
removeFileExtension: () => removeFileExtension,
|
|
180706
180263
|
removeIgnoredPath: () => removeIgnoredPath,
|
|
180707
180264
|
removeMinAndVersionNumbers: () => removeMinAndVersionNumbers,
|
|
180708
|
-
removeOptionality: () => removeOptionality,
|
|
180709
180265
|
removePrefix: () => removePrefix,
|
|
180710
180266
|
removeSuffix: () => removeSuffix,
|
|
180711
180267
|
removeTrailingDirectorySeparator: () => removeTrailingDirectorySeparator,
|
|
@@ -180724,20 +180280,16 @@ __export(ts_exports2, {
|
|
|
180724
180280
|
resolveTripleslashReference: () => resolveTripleslashReference,
|
|
180725
180281
|
resolveTypeReferenceDirective: () => resolveTypeReferenceDirective,
|
|
180726
180282
|
resolvingEmptyArray: () => resolvingEmptyArray,
|
|
180727
|
-
restHelper: () => restHelper,
|
|
180728
180283
|
returnFalse: () => returnFalse,
|
|
180729
180284
|
returnNoopFileWatcher: () => returnNoopFileWatcher,
|
|
180730
180285
|
returnTrue: () => returnTrue,
|
|
180731
180286
|
returnUndefined: () => returnUndefined,
|
|
180732
180287
|
returnsPromise: () => returnsPromise,
|
|
180733
|
-
runInitializersHelper: () => runInitializersHelper,
|
|
180734
180288
|
sameFlatMap: () => sameFlatMap,
|
|
180735
180289
|
sameMap: () => sameMap,
|
|
180736
180290
|
sameMapping: () => sameMapping,
|
|
180737
|
-
scanShebangTrivia: () => scanShebangTrivia,
|
|
180738
180291
|
scanTokenAtPosition: () => scanTokenAtPosition,
|
|
180739
180292
|
scanner: () => scanner,
|
|
180740
|
-
screenStartingMessageCodes: () => screenStartingMessageCodes,
|
|
180741
180293
|
semanticDiagnosticsOptionDeclarations: () => semanticDiagnosticsOptionDeclarations,
|
|
180742
180294
|
serializeCompilerOptions: () => serializeCompilerOptions,
|
|
180743
180295
|
server: () => ts_server_exports3,
|
|
@@ -180745,16 +180297,13 @@ __export(ts_exports2, {
|
|
|
180745
180297
|
setCommentRange: () => setCommentRange,
|
|
180746
180298
|
setConfigFileInOptions: () => setConfigFileInOptions,
|
|
180747
180299
|
setConstantValue: () => setConstantValue,
|
|
180748
|
-
setEachParent: () => setEachParent,
|
|
180749
180300
|
setEmitFlags: () => setEmitFlags,
|
|
180750
|
-
setFunctionNameHelper: () => setFunctionNameHelper,
|
|
180751
180301
|
setGetSourceFileAsHashVersioned: () => setGetSourceFileAsHashVersioned,
|
|
180752
180302
|
setIdentifierAutoGenerate: () => setIdentifierAutoGenerate,
|
|
180753
180303
|
setIdentifierGeneratedImportReference: () => setIdentifierGeneratedImportReference,
|
|
180754
180304
|
setIdentifierTypeArguments: () => setIdentifierTypeArguments,
|
|
180755
180305
|
setInternalEmitFlags: () => setInternalEmitFlags,
|
|
180756
180306
|
setLocalizedDiagnosticMessages: () => setLocalizedDiagnosticMessages,
|
|
180757
|
-
setModuleDefaultHelper: () => setModuleDefaultHelper,
|
|
180758
180307
|
setNodeChildren: () => setNodeChildren,
|
|
180759
180308
|
setNodeFlags: () => setNodeFlags,
|
|
180760
180309
|
setObjectAllocator: () => setObjectAllocator,
|
|
@@ -180783,7 +180332,6 @@ __export(ts_exports2, {
|
|
|
180783
180332
|
shouldPreserveConstEnums: () => shouldPreserveConstEnums,
|
|
180784
180333
|
shouldUseUriStyleNodeCoreModules: () => shouldUseUriStyleNodeCoreModules,
|
|
180785
180334
|
showModuleSpecifier: () => showModuleSpecifier,
|
|
180786
|
-
signatureHasLiteralTypes: () => signatureHasLiteralTypes,
|
|
180787
180335
|
signatureHasRestParameter: () => signatureHasRestParameter,
|
|
180788
180336
|
signatureToDisplayParts: () => signatureToDisplayParts,
|
|
180789
180337
|
single: () => single,
|
|
@@ -180792,7 +180340,6 @@ __export(ts_exports2, {
|
|
|
180792
180340
|
singleOrMany: () => singleOrMany,
|
|
180793
180341
|
singleOrUndefined: () => singleOrUndefined,
|
|
180794
180342
|
skipAlias: () => skipAlias,
|
|
180795
|
-
skipAssertions: () => skipAssertions,
|
|
180796
180343
|
skipConstraint: () => skipConstraint,
|
|
180797
180344
|
skipOuterExpressions: () => skipOuterExpressions,
|
|
180798
180345
|
skipParentheses: () => skipParentheses,
|
|
@@ -180813,7 +180360,6 @@ __export(ts_exports2, {
|
|
|
180813
180360
|
sourceMapCommentRegExpDontCareLineStart: () => sourceMapCommentRegExpDontCareLineStart,
|
|
180814
180361
|
spacePart: () => spacePart,
|
|
180815
180362
|
spanMap: () => spanMap,
|
|
180816
|
-
spreadArrayHelper: () => spreadArrayHelper,
|
|
180817
180363
|
stableSort: () => stableSort,
|
|
180818
180364
|
startEndContainsRange: () => startEndContainsRange,
|
|
180819
180365
|
startEndOverlapsWithStartEnd: () => startEndOverlapsWithStartEnd,
|
|
@@ -180827,10 +180373,8 @@ __export(ts_exports2, {
|
|
|
180827
180373
|
stringToToken: () => stringToToken,
|
|
180828
180374
|
stripQuotes: () => stripQuotes,
|
|
180829
180375
|
supportedDeclarationExtensions: () => supportedDeclarationExtensions,
|
|
180830
|
-
supportedJSExtensions: () => supportedJSExtensions,
|
|
180831
180376
|
supportedJSExtensionsFlat: () => supportedJSExtensionsFlat,
|
|
180832
180377
|
supportedLocaleDirectories: () => supportedLocaleDirectories,
|
|
180833
|
-
supportedTSExtensions: () => supportedTSExtensions,
|
|
180834
180378
|
supportedTSExtensionsFlat: () => supportedTSExtensionsFlat,
|
|
180835
180379
|
supportedTSImplementationExtensions: () => supportedTSImplementationExtensions,
|
|
180836
180380
|
suppressLeadingAndTrailingTrivia: () => suppressLeadingAndTrailingTrivia,
|
|
@@ -180839,16 +180383,12 @@ __export(ts_exports2, {
|
|
|
180839
180383
|
symbolEscapedNameNoDefault: () => symbolEscapedNameNoDefault,
|
|
180840
180384
|
symbolName: () => symbolName,
|
|
180841
180385
|
symbolNameNoDefault: () => symbolNameNoDefault,
|
|
180842
|
-
symbolPart: () => symbolPart,
|
|
180843
180386
|
symbolToDisplayParts: () => symbolToDisplayParts,
|
|
180844
|
-
syntaxMayBeASICandidate: () => syntaxMayBeASICandidate,
|
|
180845
|
-
syntaxRequiresTrailingSemicolonOrASI: () => syntaxRequiresTrailingSemicolonOrASI,
|
|
180846
180387
|
sys: () => sys,
|
|
180847
180388
|
sysLog: () => sysLog,
|
|
180848
180389
|
tagNamesAreEquivalent: () => tagNamesAreEquivalent,
|
|
180849
180390
|
takeWhile: () => takeWhile,
|
|
180850
180391
|
targetOptionDeclaration: () => targetOptionDeclaration,
|
|
180851
|
-
templateObjectHelper: () => templateObjectHelper,
|
|
180852
180392
|
testFormatSettings: () => testFormatSettings,
|
|
180853
180393
|
textChangeRangeIsUnchanged: () => textChangeRangeIsUnchanged,
|
|
180854
180394
|
textChangeRangeNewSpan: () => textChangeRangeNewSpan,
|
|
@@ -180877,7 +180417,6 @@ __export(ts_exports2, {
|
|
|
180877
180417
|
toBuilderStateFileInfoForMultiEmit: () => toBuilderStateFileInfoForMultiEmit,
|
|
180878
180418
|
toEditorSettings: () => toEditorSettings,
|
|
180879
180419
|
toFileNameLowerCase: () => toFileNameLowerCase,
|
|
180880
|
-
toLowerCase: () => toLowerCase,
|
|
180881
180420
|
toPath: () => toPath,
|
|
180882
180421
|
toProgramEmitPending: () => toProgramEmitPending,
|
|
180883
180422
|
tokenIsIdentifierOrKeyword: () => tokenIsIdentifierOrKeyword,
|
|
@@ -180931,7 +180470,6 @@ __export(ts_exports2, {
|
|
|
180931
180470
|
tryGetPropertyNameOfBindingOrAssignmentElement: () => tryGetPropertyNameOfBindingOrAssignmentElement,
|
|
180932
180471
|
tryGetSourceMappingURL: () => tryGetSourceMappingURL,
|
|
180933
180472
|
tryGetTextOfPropertyName: () => tryGetTextOfPropertyName,
|
|
180934
|
-
tryIOAndConsumeErrors: () => tryIOAndConsumeErrors,
|
|
180935
180473
|
tryParseJson: () => tryParseJson,
|
|
180936
180474
|
tryParsePattern: () => tryParsePattern,
|
|
180937
180475
|
tryParsePatterns: () => tryParsePatterns,
|
|
@@ -180953,7 +180491,6 @@ __export(ts_exports2, {
|
|
|
180953
180491
|
unescapeLeadingUnderscores: () => unescapeLeadingUnderscores,
|
|
180954
180492
|
unmangleScopedPackageName: () => unmangleScopedPackageName,
|
|
180955
180493
|
unorderedRemoveItem: () => unorderedRemoveItem,
|
|
180956
|
-
unorderedRemoveItemAt: () => unorderedRemoveItemAt,
|
|
180957
180494
|
unreachableCodeIsError: () => unreachableCodeIsError,
|
|
180958
180495
|
unsetNodeChildren: () => unsetNodeChildren,
|
|
180959
180496
|
unusedLabelIsError: () => unusedLabelIsError,
|
|
@@ -180966,11 +180503,9 @@ __export(ts_exports2, {
|
|
|
180966
180503
|
updateSharedExtendedConfigFileWatcher: () => updateSharedExtendedConfigFileWatcher,
|
|
180967
180504
|
updateSourceFile: () => updateSourceFile,
|
|
180968
180505
|
updateWatchingWildcardDirectories: () => updateWatchingWildcardDirectories,
|
|
180969
|
-
usesExtensionsOnImports: () => usesExtensionsOnImports,
|
|
180970
180506
|
usingSingleLineStringWriter: () => usingSingleLineStringWriter,
|
|
180971
180507
|
utf16EncodeAsString: () => utf16EncodeAsString,
|
|
180972
180508
|
validateLocaleAndSetLanguage: () => validateLocaleAndSetLanguage,
|
|
180973
|
-
valuesHelper: () => valuesHelper,
|
|
180974
180509
|
version: () => version,
|
|
180975
180510
|
versionMajorMinor: () => versionMajorMinor,
|
|
180976
180511
|
visitArray: () => visitArray,
|
|
@@ -180983,7 +180518,6 @@ __export(ts_exports2, {
|
|
|
180983
180518
|
visitNodes: () => visitNodes2,
|
|
180984
180519
|
visitParameterList: () => visitParameterList,
|
|
180985
180520
|
walkUpBindingElementsAndPatterns: () => walkUpBindingElementsAndPatterns,
|
|
180986
|
-
walkUpLexicalEnvironments: () => walkUpLexicalEnvironments,
|
|
180987
180521
|
walkUpOuterExpressions: () => walkUpOuterExpressions,
|
|
180988
180522
|
walkUpParenthesizedExpressions: () => walkUpParenthesizedExpressions,
|
|
180989
180523
|
walkUpParenthesizedTypes: () => walkUpParenthesizedTypes,
|
|
@@ -181136,20 +180670,19 @@ __export(ts_server_exports3, {
|
|
|
181136
180670
|
LogLevel: () => LogLevel2,
|
|
181137
180671
|
Msg: () => Msg,
|
|
181138
180672
|
OpenFileInfoTelemetryEvent: () => OpenFileInfoTelemetryEvent,
|
|
181139
|
-
Project: () =>
|
|
180673
|
+
Project: () => Project2,
|
|
181140
180674
|
ProjectInfoTelemetryEvent: () => ProjectInfoTelemetryEvent,
|
|
181141
180675
|
ProjectKind: () => ProjectKind,
|
|
181142
180676
|
ProjectLanguageServiceStateEvent: () => ProjectLanguageServiceStateEvent,
|
|
181143
180677
|
ProjectLoadingFinishEvent: () => ProjectLoadingFinishEvent,
|
|
181144
180678
|
ProjectLoadingStartEvent: () => ProjectLoadingStartEvent,
|
|
181145
|
-
ProjectService: () =>
|
|
180679
|
+
ProjectService: () => ProjectService2,
|
|
181146
180680
|
ProjectsUpdatedInBackgroundEvent: () => ProjectsUpdatedInBackgroundEvent,
|
|
181147
180681
|
ScriptInfo: () => ScriptInfo,
|
|
181148
180682
|
ScriptVersionCache: () => ScriptVersionCache,
|
|
181149
180683
|
Session: () => Session3,
|
|
181150
180684
|
TextStorage: () => TextStorage,
|
|
181151
180685
|
ThrottledOperations: () => ThrottledOperations,
|
|
181152
|
-
TypingsCache: () => TypingsCache,
|
|
181153
180686
|
TypingsInstallerAdapter: () => TypingsInstallerAdapter,
|
|
181154
180687
|
allFilesAreJsOrDts: () => allFilesAreJsOrDts,
|
|
181155
180688
|
allRootFilesAreJsOrDts: () => allRootFilesAreJsOrDts,
|
|
@@ -181168,7 +180701,6 @@ __export(ts_server_exports3, {
|
|
|
181168
180701
|
createSortedArray: () => createSortedArray2,
|
|
181169
180702
|
emptyArray: () => emptyArray2,
|
|
181170
180703
|
findArgument: () => findArgument,
|
|
181171
|
-
forEachResolvedProjectReferenceProject: () => forEachResolvedProjectReferenceProject,
|
|
181172
180704
|
formatDiagnosticToProtocol: () => formatDiagnosticToProtocol,
|
|
181173
180705
|
formatMessage: () => formatMessage2,
|
|
181174
180706
|
getBaseConfigFileName: () => getBaseConfigFileName,
|
|
@@ -181194,7 +180726,6 @@ __export(ts_server_exports3, {
|
|
|
181194
180726
|
nullCancellationToken: () => nullCancellationToken,
|
|
181195
180727
|
nullTypingsInstaller: () => nullTypingsInstaller,
|
|
181196
180728
|
protocol: () => ts_server_protocol_exports,
|
|
181197
|
-
removeSorted: () => removeSorted,
|
|
181198
180729
|
stringifyIndented: () => stringifyIndented,
|
|
181199
180730
|
toEvent: () => toEvent,
|
|
181200
180731
|
toNormalizedPath: () => toNormalizedPath,
|
|
@@ -181769,19 +181300,6 @@ function getBaseConfigFileName(configFilePath) {
|
|
|
181769
181300
|
const base = getBaseFileName(configFilePath);
|
|
181770
181301
|
return base === "tsconfig.json" || base === "jsconfig.json" ? base : void 0;
|
|
181771
181302
|
}
|
|
181772
|
-
function removeSorted(array, remove, compare) {
|
|
181773
|
-
if (!array || array.length === 0) {
|
|
181774
|
-
return;
|
|
181775
|
-
}
|
|
181776
|
-
if (array[0] === remove) {
|
|
181777
|
-
array.splice(0, 1);
|
|
181778
|
-
return;
|
|
181779
|
-
}
|
|
181780
|
-
const removeIndex = binarySearch(array, remove, identity, compare);
|
|
181781
|
-
if (removeIndex >= 0) {
|
|
181782
|
-
array.splice(removeIndex, 1);
|
|
181783
|
-
}
|
|
181784
|
-
}
|
|
181785
181303
|
|
|
181786
181304
|
// src/server/_namespaces/ts.server.protocol.ts
|
|
181787
181305
|
var ts_server_protocol_exports = {};
|
|
@@ -182489,102 +182007,6 @@ function failIfInvalidLocation(location) {
|
|
|
182489
182007
|
Debug.assert(location.offset > 0, `Expected offset to be non-${location.offset === 0 ? "zero" : "negative"}`);
|
|
182490
182008
|
}
|
|
182491
182009
|
|
|
182492
|
-
// src/server/typingsCache.ts
|
|
182493
|
-
var nullTypingsInstaller = {
|
|
182494
|
-
isKnownTypesPackageName: returnFalse,
|
|
182495
|
-
// Should never be called because we never provide a types registry.
|
|
182496
|
-
installPackage: notImplemented,
|
|
182497
|
-
enqueueInstallTypingsRequest: noop,
|
|
182498
|
-
attach: noop,
|
|
182499
|
-
onProjectClosed: noop,
|
|
182500
|
-
globalTypingsCacheLocation: void 0
|
|
182501
|
-
// TODO: GH#18217
|
|
182502
|
-
};
|
|
182503
|
-
function setIsEqualTo(arr1, arr2) {
|
|
182504
|
-
if (arr1 === arr2) {
|
|
182505
|
-
return true;
|
|
182506
|
-
}
|
|
182507
|
-
if ((arr1 || emptyArray2).length === 0 && (arr2 || emptyArray2).length === 0) {
|
|
182508
|
-
return true;
|
|
182509
|
-
}
|
|
182510
|
-
const set = /* @__PURE__ */ new Map();
|
|
182511
|
-
let unique = 0;
|
|
182512
|
-
for (const v of arr1) {
|
|
182513
|
-
if (set.get(v) !== true) {
|
|
182514
|
-
set.set(v, true);
|
|
182515
|
-
unique++;
|
|
182516
|
-
}
|
|
182517
|
-
}
|
|
182518
|
-
for (const v of arr2) {
|
|
182519
|
-
const isSet = set.get(v);
|
|
182520
|
-
if (isSet === void 0) {
|
|
182521
|
-
return false;
|
|
182522
|
-
}
|
|
182523
|
-
if (isSet === true) {
|
|
182524
|
-
set.set(v, false);
|
|
182525
|
-
unique--;
|
|
182526
|
-
}
|
|
182527
|
-
}
|
|
182528
|
-
return unique === 0;
|
|
182529
|
-
}
|
|
182530
|
-
function typeAcquisitionChanged(opt1, opt2) {
|
|
182531
|
-
return opt1.enable !== opt2.enable || !setIsEqualTo(opt1.include, opt2.include) || !setIsEqualTo(opt1.exclude, opt2.exclude);
|
|
182532
|
-
}
|
|
182533
|
-
function compilerOptionsChanged(opt1, opt2) {
|
|
182534
|
-
return getAllowJSCompilerOption(opt1) !== getAllowJSCompilerOption(opt2);
|
|
182535
|
-
}
|
|
182536
|
-
function unresolvedImportsChanged(imports1, imports2) {
|
|
182537
|
-
if (imports1 === imports2) {
|
|
182538
|
-
return false;
|
|
182539
|
-
}
|
|
182540
|
-
return !arrayIsEqualTo(imports1, imports2);
|
|
182541
|
-
}
|
|
182542
|
-
var TypingsCache = class {
|
|
182543
|
-
constructor(installer) {
|
|
182544
|
-
this.installer = installer;
|
|
182545
|
-
this.perProjectCache = /* @__PURE__ */ new Map();
|
|
182546
|
-
}
|
|
182547
|
-
isKnownTypesPackageName(name) {
|
|
182548
|
-
return this.installer.isKnownTypesPackageName(name);
|
|
182549
|
-
}
|
|
182550
|
-
installPackage(options) {
|
|
182551
|
-
return this.installer.installPackage(options);
|
|
182552
|
-
}
|
|
182553
|
-
enqueueInstallTypingsForProject(project, unresolvedImports, forceRefresh) {
|
|
182554
|
-
const typeAcquisition = project.getTypeAcquisition();
|
|
182555
|
-
if (!typeAcquisition || !typeAcquisition.enable) {
|
|
182556
|
-
return;
|
|
182557
|
-
}
|
|
182558
|
-
const entry = this.perProjectCache.get(project.getProjectName());
|
|
182559
|
-
if (forceRefresh || !entry || typeAcquisitionChanged(typeAcquisition, entry.typeAcquisition) || compilerOptionsChanged(project.getCompilationSettings(), entry.compilerOptions) || unresolvedImportsChanged(unresolvedImports, entry.unresolvedImports)) {
|
|
182560
|
-
this.perProjectCache.set(project.getProjectName(), {
|
|
182561
|
-
compilerOptions: project.getCompilationSettings(),
|
|
182562
|
-
typeAcquisition,
|
|
182563
|
-
typings: entry ? entry.typings : emptyArray2,
|
|
182564
|
-
unresolvedImports,
|
|
182565
|
-
poisoned: true
|
|
182566
|
-
});
|
|
182567
|
-
this.installer.enqueueInstallTypingsRequest(project, typeAcquisition, unresolvedImports);
|
|
182568
|
-
}
|
|
182569
|
-
}
|
|
182570
|
-
updateTypingsForProject(projectName, compilerOptions, typeAcquisition, unresolvedImports, newTypings) {
|
|
182571
|
-
const typings = sort(newTypings);
|
|
182572
|
-
this.perProjectCache.set(projectName, {
|
|
182573
|
-
compilerOptions,
|
|
182574
|
-
typeAcquisition,
|
|
182575
|
-
typings,
|
|
182576
|
-
unresolvedImports,
|
|
182577
|
-
poisoned: false
|
|
182578
|
-
});
|
|
182579
|
-
return !typeAcquisition || !typeAcquisition.enable ? emptyArray2 : typings;
|
|
182580
|
-
}
|
|
182581
|
-
onProjectClosed(project) {
|
|
182582
|
-
if (this.perProjectCache.delete(project.getProjectName())) {
|
|
182583
|
-
this.installer.onProjectClosed(project);
|
|
182584
|
-
}
|
|
182585
|
-
}
|
|
182586
|
-
};
|
|
182587
|
-
|
|
182588
182010
|
// src/server/project.ts
|
|
182589
182011
|
var ProjectKind = /* @__PURE__ */ ((ProjectKind2) => {
|
|
182590
182012
|
ProjectKind2[ProjectKind2["Inferred"] = 0] = "Inferred";
|
|
@@ -182659,7 +182081,46 @@ function hasNoTypeScriptSource(fileNames) {
|
|
|
182659
182081
|
function isGeneratedFileWatcher(watch) {
|
|
182660
182082
|
return watch.generatedFilePath !== void 0;
|
|
182661
182083
|
}
|
|
182662
|
-
|
|
182084
|
+
function setIsEqualTo(arr1, arr2) {
|
|
182085
|
+
if (arr1 === arr2) {
|
|
182086
|
+
return true;
|
|
182087
|
+
}
|
|
182088
|
+
if ((arr1 || emptyArray2).length === 0 && (arr2 || emptyArray2).length === 0) {
|
|
182089
|
+
return true;
|
|
182090
|
+
}
|
|
182091
|
+
const set = /* @__PURE__ */ new Map();
|
|
182092
|
+
let unique = 0;
|
|
182093
|
+
for (const v of arr1) {
|
|
182094
|
+
if (set.get(v) !== true) {
|
|
182095
|
+
set.set(v, true);
|
|
182096
|
+
unique++;
|
|
182097
|
+
}
|
|
182098
|
+
}
|
|
182099
|
+
for (const v of arr2) {
|
|
182100
|
+
const isSet = set.get(v);
|
|
182101
|
+
if (isSet === void 0) {
|
|
182102
|
+
return false;
|
|
182103
|
+
}
|
|
182104
|
+
if (isSet === true) {
|
|
182105
|
+
set.set(v, false);
|
|
182106
|
+
unique--;
|
|
182107
|
+
}
|
|
182108
|
+
}
|
|
182109
|
+
return unique === 0;
|
|
182110
|
+
}
|
|
182111
|
+
function typeAcquisitionChanged(opt1, opt2) {
|
|
182112
|
+
return opt1.enable !== opt2.enable || !setIsEqualTo(opt1.include, opt2.include) || !setIsEqualTo(opt1.exclude, opt2.exclude);
|
|
182113
|
+
}
|
|
182114
|
+
function compilerOptionsChanged(opt1, opt2) {
|
|
182115
|
+
return getAllowJSCompilerOption(opt1) !== getAllowJSCompilerOption(opt2);
|
|
182116
|
+
}
|
|
182117
|
+
function unresolvedImportsChanged(imports1, imports2) {
|
|
182118
|
+
if (imports1 === imports2) {
|
|
182119
|
+
return false;
|
|
182120
|
+
}
|
|
182121
|
+
return !arrayIsEqualTo(imports1, imports2);
|
|
182122
|
+
}
|
|
182123
|
+
var Project2 = class _Project {
|
|
182663
182124
|
/** @internal */
|
|
182664
182125
|
constructor(projectName, projectKind, projectService, documentRegistry, hasExplicitListOfFiles, lastFileExceededProgramSize, compilerOptions, compileOnSaveEnabled, watchOptions, directoryStructureHost, currentDirectory) {
|
|
182665
182126
|
this.projectKind = projectKind;
|
|
@@ -182749,6 +182210,7 @@ var Project3 = class _Project {
|
|
|
182749
182210
|
this.trace = (s) => host.trace(s);
|
|
182750
182211
|
}
|
|
182751
182212
|
this.realpath = maybeBind(host, host.realpath);
|
|
182213
|
+
this.preferNonRecursiveWatch = this.projectService.canUseWatchEvents || host.preferNonRecursiveWatch;
|
|
182752
182214
|
this.resolutionCache = createResolutionCache(
|
|
182753
182215
|
this,
|
|
182754
182216
|
this.currentDirectory,
|
|
@@ -182822,18 +182284,15 @@ var Project3 = class _Project {
|
|
|
182822
182284
|
return { pluginConfigEntry, resolvedModule, errorLogs };
|
|
182823
182285
|
}
|
|
182824
182286
|
isKnownTypesPackageName(name) {
|
|
182825
|
-
return this.
|
|
182287
|
+
return this.projectService.typingsInstaller.isKnownTypesPackageName(name);
|
|
182826
182288
|
}
|
|
182827
182289
|
installPackage(options) {
|
|
182828
|
-
return this.
|
|
182290
|
+
return this.projectService.typingsInstaller.installPackage({ ...options, projectName: this.projectName, projectRootPath: this.toPath(this.currentDirectory) });
|
|
182829
182291
|
}
|
|
182830
182292
|
/** @internal */
|
|
182831
182293
|
getGlobalTypingsCacheLocation() {
|
|
182832
182294
|
return this.getGlobalCache();
|
|
182833
182295
|
}
|
|
182834
|
-
get typingsCache() {
|
|
182835
|
-
return this.projectService.typingsCache;
|
|
182836
|
-
}
|
|
182837
182296
|
/** @internal */
|
|
182838
182297
|
getSymlinkCache() {
|
|
182839
182298
|
if (!this.symlinks) {
|
|
@@ -183236,7 +182695,8 @@ var Project3 = class _Project {
|
|
|
183236
182695
|
}
|
|
183237
182696
|
close() {
|
|
183238
182697
|
var _a;
|
|
183239
|
-
this.projectService.
|
|
182698
|
+
if (this.typingsCache) this.projectService.typingsInstaller.onProjectClosed(this);
|
|
182699
|
+
this.typingsCache = void 0;
|
|
183240
182700
|
this.closeWatchingTypingLocations();
|
|
183241
182701
|
this.cleanupProgram();
|
|
183242
182702
|
forEach(this.externalFiles, (externalFile) => this.detachScriptInfoIfNotRoot(externalFile));
|
|
@@ -183501,7 +182961,7 @@ var Project3 = class _Project {
|
|
|
183501
182961
|
if (hasNewProgram || changedFiles.length) {
|
|
183502
182962
|
this.lastCachedUnresolvedImportsList = getUnresolvedImports(this.program, this.cachedUnresolvedImportsPerFile);
|
|
183503
182963
|
}
|
|
183504
|
-
this.
|
|
182964
|
+
this.enqueueInstallTypingsForProject(hasAddedorRemovedFiles);
|
|
183505
182965
|
} else {
|
|
183506
182966
|
this.lastCachedUnresolvedImportsList = void 0;
|
|
183507
182967
|
}
|
|
@@ -183519,7 +182979,29 @@ var Project3 = class _Project {
|
|
|
183519
182979
|
return !hasNewProgram;
|
|
183520
182980
|
}
|
|
183521
182981
|
/** @internal */
|
|
183522
|
-
|
|
182982
|
+
enqueueInstallTypingsForProject(forceRefresh) {
|
|
182983
|
+
const typeAcquisition = this.getTypeAcquisition();
|
|
182984
|
+
if (!typeAcquisition || !typeAcquisition.enable || this.projectService.typingsInstaller === nullTypingsInstaller) {
|
|
182985
|
+
return;
|
|
182986
|
+
}
|
|
182987
|
+
const entry = this.typingsCache;
|
|
182988
|
+
if (forceRefresh || !entry || typeAcquisitionChanged(typeAcquisition, entry.typeAcquisition) || compilerOptionsChanged(this.getCompilationSettings(), entry.compilerOptions) || unresolvedImportsChanged(this.lastCachedUnresolvedImportsList, entry.unresolvedImports)) {
|
|
182989
|
+
this.typingsCache = {
|
|
182990
|
+
compilerOptions: this.getCompilationSettings(),
|
|
182991
|
+
typeAcquisition,
|
|
182992
|
+
unresolvedImports: this.lastCachedUnresolvedImportsList
|
|
182993
|
+
};
|
|
182994
|
+
this.projectService.typingsInstaller.enqueueInstallTypingsRequest(this, typeAcquisition, this.lastCachedUnresolvedImportsList);
|
|
182995
|
+
}
|
|
182996
|
+
}
|
|
182997
|
+
/** @internal */
|
|
182998
|
+
updateTypingFiles(compilerOptions, typeAcquisition, unresolvedImports, newTypings) {
|
|
182999
|
+
this.typingsCache = {
|
|
183000
|
+
compilerOptions,
|
|
183001
|
+
typeAcquisition,
|
|
183002
|
+
unresolvedImports
|
|
183003
|
+
};
|
|
183004
|
+
const typingFiles = !typeAcquisition || !typeAcquisition.enable ? emptyArray2 : sort(newTypings);
|
|
183523
183005
|
if (enumerateInsertsAndDeletes(
|
|
183524
183006
|
typingFiles,
|
|
183525
183007
|
this.typingFiles,
|
|
@@ -184305,7 +183787,7 @@ function extractUnresolvedImportsFromSourceFile(program, file, ambientModules, c
|
|
|
184305
183787
|
return unresolvedImports || emptyArray2;
|
|
184306
183788
|
});
|
|
184307
183789
|
}
|
|
184308
|
-
var InferredProject2 = class extends
|
|
183790
|
+
var InferredProject2 = class extends Project2 {
|
|
184309
183791
|
/** @internal */
|
|
184310
183792
|
constructor(projectService, documentRegistry, compilerOptions, watchOptions, projectRootPath, currentDirectory, typeAcquisition) {
|
|
184311
183793
|
super(
|
|
@@ -184399,7 +183881,7 @@ var InferredProject2 = class extends Project3 {
|
|
|
184399
183881
|
};
|
|
184400
183882
|
}
|
|
184401
183883
|
};
|
|
184402
|
-
var AuxiliaryProject = class extends
|
|
183884
|
+
var AuxiliaryProject = class extends Project2 {
|
|
184403
183885
|
constructor(projectService, documentRegistry, compilerOptions, currentDirectory) {
|
|
184404
183886
|
super(
|
|
184405
183887
|
projectService.newAuxiliaryProjectName(),
|
|
@@ -184426,7 +183908,7 @@ var AuxiliaryProject = class extends Project3 {
|
|
|
184426
183908
|
return;
|
|
184427
183909
|
}
|
|
184428
183910
|
};
|
|
184429
|
-
var _AutoImportProviderProject = class _AutoImportProviderProject extends
|
|
183911
|
+
var _AutoImportProviderProject = class _AutoImportProviderProject extends Project2 {
|
|
184430
183912
|
/** @internal */
|
|
184431
183913
|
constructor(hostProject, initialRootNames, documentRegistry, compilerOptions) {
|
|
184432
183914
|
super(
|
|
@@ -184693,7 +184175,7 @@ _AutoImportProviderProject.compilerOptionsOverrides = {
|
|
|
184693
184175
|
noLib: true
|
|
184694
184176
|
};
|
|
184695
184177
|
var AutoImportProviderProject = _AutoImportProviderProject;
|
|
184696
|
-
var ConfiguredProject2 = class extends
|
|
184178
|
+
var ConfiguredProject2 = class extends Project2 {
|
|
184697
184179
|
/** @internal */
|
|
184698
184180
|
constructor(configFileName, canonicalConfigFilePath, projectService, documentRegistry, cachedDirectoryStructureHost, pendingUpdateReason) {
|
|
184699
184181
|
super(
|
|
@@ -184898,7 +184380,7 @@ var ConfiguredProject2 = class extends Project3 {
|
|
|
184898
184380
|
updateErrorForNoInputFiles(fileNames, this.getConfigFilePath(), this.getCompilerOptions().configFile.configFileSpecs, this.projectErrors, this.canConfigFileJsonReportNoInputFiles);
|
|
184899
184381
|
}
|
|
184900
184382
|
};
|
|
184901
|
-
var ExternalProject = class extends
|
|
184383
|
+
var ExternalProject = class extends Project2 {
|
|
184902
184384
|
/** @internal */
|
|
184903
184385
|
constructor(externalProjectName, projectService, documentRegistry, compilerOptions, lastFileExceededProgramSize, compileOnSaveEnabled, projectFilePath, watchOptions) {
|
|
184904
184386
|
super(
|
|
@@ -185105,6 +184587,16 @@ function findProjectByName(projectName, projects) {
|
|
|
185105
184587
|
}
|
|
185106
184588
|
}
|
|
185107
184589
|
}
|
|
184590
|
+
var nullTypingsInstaller = {
|
|
184591
|
+
isKnownTypesPackageName: returnFalse,
|
|
184592
|
+
// Should never be called because we never provide a types registry.
|
|
184593
|
+
installPackage: notImplemented,
|
|
184594
|
+
enqueueInstallTypingsRequest: noop,
|
|
184595
|
+
attach: noop,
|
|
184596
|
+
onProjectClosed: noop,
|
|
184597
|
+
globalTypingsCacheLocation: void 0
|
|
184598
|
+
// TODO: GH#18217
|
|
184599
|
+
};
|
|
185108
184600
|
var noopConfigFileWatcher = { close: noop };
|
|
185109
184601
|
function getConfigFileNameFromCache(info, cache) {
|
|
185110
184602
|
if (!cache) return void 0;
|
|
@@ -185322,8 +184814,11 @@ function createProjectNameFactoryWithCounter(nameFactory) {
|
|
|
185322
184814
|
function getHostWatcherMap() {
|
|
185323
184815
|
return { idToCallbacks: /* @__PURE__ */ new Map(), pathToId: /* @__PURE__ */ new Map() };
|
|
185324
184816
|
}
|
|
184817
|
+
function getCanUseWatchEvents(service, canUseWatchEvents) {
|
|
184818
|
+
return !!canUseWatchEvents && !!service.eventHandler && !!service.session;
|
|
184819
|
+
}
|
|
185325
184820
|
function createWatchFactoryHostUsingWatchEvents(service, canUseWatchEvents) {
|
|
185326
|
-
if (!
|
|
184821
|
+
if (!getCanUseWatchEvents(service, canUseWatchEvents)) return void 0;
|
|
185327
184822
|
const watchedFiles = getHostWatcherMap();
|
|
185328
184823
|
const watchedDirectories = getHostWatcherMap();
|
|
185329
184824
|
const watchedDirectoriesRecursive = getHostWatcherMap();
|
|
@@ -185525,7 +185020,6 @@ var _ProjectService = class _ProjectService {
|
|
|
185525
185020
|
this.logger.info("No types map provided; using the default");
|
|
185526
185021
|
}
|
|
185527
185022
|
this.typingsInstaller.attach(this);
|
|
185528
|
-
this.typingsCache = new TypingsCache(this.typingsInstaller);
|
|
185529
185023
|
this.hostConfiguration = {
|
|
185530
185024
|
formatCodeOptions: getDefaultFormatCodeSettings(this.host.newLine),
|
|
185531
185025
|
preferences: emptyOptions,
|
|
@@ -185545,6 +185039,7 @@ var _ProjectService = class _ProjectService {
|
|
|
185545
185039
|
log,
|
|
185546
185040
|
getDetailWatchInfo
|
|
185547
185041
|
);
|
|
185042
|
+
this.canUseWatchEvents = getCanUseWatchEvents(this, opts.canUseWatchEvents);
|
|
185548
185043
|
(_a = opts.incrementalVerifier) == null ? void 0 : _a.call(opts, this);
|
|
185549
185044
|
}
|
|
185550
185045
|
toPath(fileName) {
|
|
@@ -185618,12 +185113,15 @@ var _ProjectService = class _ProjectService {
|
|
|
185618
185113
|
}
|
|
185619
185114
|
switch (response.kind) {
|
|
185620
185115
|
case ActionSet:
|
|
185621
|
-
project.updateTypingFiles(
|
|
185116
|
+
project.updateTypingFiles(
|
|
185117
|
+
response.compilerOptions,
|
|
185118
|
+
response.typeAcquisition,
|
|
185119
|
+
response.unresolvedImports,
|
|
185120
|
+
response.typings
|
|
185121
|
+
);
|
|
185622
185122
|
return;
|
|
185623
185123
|
case ActionInvalidate:
|
|
185624
|
-
|
|
185625
|
-
project,
|
|
185626
|
-
project.lastCachedUnresolvedImportsList,
|
|
185124
|
+
project.enqueueInstallTypingsForProject(
|
|
185627
185125
|
/*forceRefresh*/
|
|
185628
185126
|
true
|
|
185629
185127
|
);
|
|
@@ -188357,7 +187855,7 @@ Dynamic files must always be opened with service's current directory or service
|
|
|
188357
187855
|
return;
|
|
188358
187856
|
}
|
|
188359
187857
|
if (this.host.importPlugin) {
|
|
188360
|
-
const importPromise =
|
|
187858
|
+
const importPromise = Project2.importServicePluginAsync(
|
|
188361
187859
|
pluginConfigEntry,
|
|
188362
187860
|
searchPaths,
|
|
188363
187861
|
this.host,
|
|
@@ -188371,7 +187869,7 @@ Dynamic files must always be opened with service's current directory or service
|
|
|
188371
187869
|
}
|
|
188372
187870
|
this.endEnablePlugin(
|
|
188373
187871
|
project,
|
|
188374
|
-
|
|
187872
|
+
Project2.importServicePluginSync(
|
|
188375
187873
|
pluginConfigEntry,
|
|
188376
187874
|
searchPaths,
|
|
188377
187875
|
this.host,
|
|
@@ -188560,7 +188058,7 @@ Dynamic files must always be opened with service's current directory or service
|
|
|
188560
188058
|
};
|
|
188561
188059
|
/** Makes a filename safe to insert in a RegExp */
|
|
188562
188060
|
_ProjectService.filenameEscapeRegexp = /[-/\\^$*+?.()|[\]{}]/g;
|
|
188563
|
-
var
|
|
188061
|
+
var ProjectService2 = _ProjectService;
|
|
188564
188062
|
function createIncompleteCompletionsCache() {
|
|
188565
188063
|
let info;
|
|
188566
188064
|
return {
|
|
@@ -189928,7 +189426,7 @@ var Session3 = class _Session {
|
|
|
189928
189426
|
canUseWatchEvents: opts.canUseWatchEvents,
|
|
189929
189427
|
incrementalVerifier: opts.incrementalVerifier
|
|
189930
189428
|
};
|
|
189931
|
-
this.projectService = new
|
|
189429
|
+
this.projectService = new ProjectService2(settings);
|
|
189932
189430
|
this.projectService.setPerformanceEventHandler(this.performanceEventHandler.bind(this));
|
|
189933
189431
|
this.gcTimer = new GcTimer(
|
|
189934
189432
|
this.host,
|
|
@@ -193093,20 +192591,19 @@ __export(ts_server_exports4, {
|
|
|
193093
192591
|
LogLevel: () => LogLevel2,
|
|
193094
192592
|
Msg: () => Msg,
|
|
193095
192593
|
OpenFileInfoTelemetryEvent: () => OpenFileInfoTelemetryEvent,
|
|
193096
|
-
Project: () =>
|
|
192594
|
+
Project: () => Project2,
|
|
193097
192595
|
ProjectInfoTelemetryEvent: () => ProjectInfoTelemetryEvent,
|
|
193098
192596
|
ProjectKind: () => ProjectKind,
|
|
193099
192597
|
ProjectLanguageServiceStateEvent: () => ProjectLanguageServiceStateEvent,
|
|
193100
192598
|
ProjectLoadingFinishEvent: () => ProjectLoadingFinishEvent,
|
|
193101
192599
|
ProjectLoadingStartEvent: () => ProjectLoadingStartEvent,
|
|
193102
|
-
ProjectService: () =>
|
|
192600
|
+
ProjectService: () => ProjectService2,
|
|
193103
192601
|
ProjectsUpdatedInBackgroundEvent: () => ProjectsUpdatedInBackgroundEvent,
|
|
193104
192602
|
ScriptInfo: () => ScriptInfo,
|
|
193105
192603
|
ScriptVersionCache: () => ScriptVersionCache,
|
|
193106
192604
|
Session: () => Session3,
|
|
193107
192605
|
TextStorage: () => TextStorage,
|
|
193108
192606
|
ThrottledOperations: () => ThrottledOperations,
|
|
193109
|
-
TypingsCache: () => TypingsCache,
|
|
193110
192607
|
TypingsInstallerAdapter: () => TypingsInstallerAdapter,
|
|
193111
192608
|
allFilesAreJsOrDts: () => allFilesAreJsOrDts,
|
|
193112
192609
|
allRootFilesAreJsOrDts: () => allRootFilesAreJsOrDts,
|
|
@@ -193125,7 +192622,6 @@ __export(ts_server_exports4, {
|
|
|
193125
192622
|
createSortedArray: () => createSortedArray2,
|
|
193126
192623
|
emptyArray: () => emptyArray2,
|
|
193127
192624
|
findArgument: () => findArgument,
|
|
193128
|
-
forEachResolvedProjectReferenceProject: () => forEachResolvedProjectReferenceProject,
|
|
193129
192625
|
formatDiagnosticToProtocol: () => formatDiagnosticToProtocol,
|
|
193130
192626
|
formatMessage: () => formatMessage2,
|
|
193131
192627
|
getBaseConfigFileName: () => getBaseConfigFileName,
|
|
@@ -193151,7 +192647,6 @@ __export(ts_server_exports4, {
|
|
|
193151
192647
|
nullCancellationToken: () => nullCancellationToken,
|
|
193152
192648
|
nullTypingsInstaller: () => nullTypingsInstaller,
|
|
193153
192649
|
protocol: () => ts_server_protocol_exports,
|
|
193154
|
-
removeSorted: () => removeSorted,
|
|
193155
192650
|
stringifyIndented: () => stringifyIndented,
|
|
193156
192651
|
toEvent: () => toEvent,
|
|
193157
192652
|
toNormalizedPath: () => toNormalizedPath,
|
|
@@ -193229,7 +192724,6 @@ if (typeof console !== "undefined") {
|
|
|
193229
192724
|
GoToDefinition,
|
|
193230
192725
|
HighlightSpanKind,
|
|
193231
192726
|
IdentifierNameMap,
|
|
193232
|
-
IdentifierNameMultiMap,
|
|
193233
192727
|
ImportKind,
|
|
193234
192728
|
ImportsNotUsedAsValues,
|
|
193235
192729
|
IndentStyle,
|
|
@@ -193316,7 +192810,6 @@ if (typeof console !== "undefined") {
|
|
|
193316
192810
|
SymbolFlags,
|
|
193317
192811
|
SymbolFormatFlags,
|
|
193318
192812
|
SyntaxKind,
|
|
193319
|
-
SyntheticSymbolKind,
|
|
193320
192813
|
Ternary,
|
|
193321
192814
|
ThrottledCancellationToken,
|
|
193322
192815
|
TokenClass,
|
|
@@ -193339,7 +192832,6 @@ if (typeof console !== "undefined") {
|
|
|
193339
192832
|
WatchLogLevel,
|
|
193340
192833
|
WatchType,
|
|
193341
192834
|
accessPrivateIdentifier,
|
|
193342
|
-
addDisposableResourceHelper,
|
|
193343
192835
|
addEmitFlags,
|
|
193344
192836
|
addEmitHelper,
|
|
193345
192837
|
addEmitHelpers,
|
|
@@ -193362,7 +192854,6 @@ if (typeof console !== "undefined") {
|
|
|
193362
192854
|
arrayFrom,
|
|
193363
192855
|
arrayIsEqualTo,
|
|
193364
192856
|
arrayIsHomogeneous,
|
|
193365
|
-
arrayIsSorted,
|
|
193366
192857
|
arrayOf,
|
|
193367
192858
|
arrayReverseIterator,
|
|
193368
192859
|
arrayToMap,
|
|
@@ -193370,14 +192861,8 @@ if (typeof console !== "undefined") {
|
|
|
193370
192861
|
arrayToNumericMap,
|
|
193371
192862
|
assertType,
|
|
193372
192863
|
assign,
|
|
193373
|
-
assignHelper,
|
|
193374
|
-
asyncDelegator,
|
|
193375
|
-
asyncGeneratorHelper,
|
|
193376
192864
|
asyncSuperHelper,
|
|
193377
|
-
asyncValues,
|
|
193378
192865
|
attachFileToDiagnostics,
|
|
193379
|
-
awaitHelper,
|
|
193380
|
-
awaiterHelper,
|
|
193381
192866
|
base64decode,
|
|
193382
192867
|
base64encode,
|
|
193383
192868
|
binarySearch,
|
|
@@ -193426,9 +192911,6 @@ if (typeof console !== "undefined") {
|
|
|
193426
192911
|
classHasDeclaredOrExplicitlyAssignedName,
|
|
193427
192912
|
classHasExplicitlyAssignedName,
|
|
193428
192913
|
classOrConstructorParameterIsDecorated,
|
|
193429
|
-
classPrivateFieldGetHelper,
|
|
193430
|
-
classPrivateFieldInHelper,
|
|
193431
|
-
classPrivateFieldSetHelper,
|
|
193432
192914
|
classicNameResolver,
|
|
193433
192915
|
classifier,
|
|
193434
192916
|
cleanExtendedConfigCache,
|
|
@@ -193436,7 +192918,6 @@ if (typeof console !== "undefined") {
|
|
|
193436
192918
|
clearMap,
|
|
193437
192919
|
clearSharedExtendedConfigFileWatcher,
|
|
193438
192920
|
climbPastPropertyAccess,
|
|
193439
|
-
climbPastPropertyOrElementAccess,
|
|
193440
192921
|
clone,
|
|
193441
192922
|
cloneCompilerOptions,
|
|
193442
192923
|
closeFileWatcher,
|
|
@@ -193449,12 +192930,10 @@ if (typeof console !== "undefined") {
|
|
|
193449
192930
|
commandLineOptionOfCustomType,
|
|
193450
192931
|
commentPragmas,
|
|
193451
192932
|
commonOptionsWithBuild,
|
|
193452
|
-
commonPackageFolders,
|
|
193453
192933
|
compact,
|
|
193454
192934
|
compareBooleans,
|
|
193455
192935
|
compareDataObjects,
|
|
193456
192936
|
compareDiagnostics,
|
|
193457
|
-
compareDiagnosticsSkipRelatedInformation,
|
|
193458
192937
|
compareEmitHelpers,
|
|
193459
192938
|
compareNumberOfDirectorySeparators,
|
|
193460
192939
|
comparePaths,
|
|
@@ -193468,26 +192947,21 @@ if (typeof console !== "undefined") {
|
|
|
193468
192947
|
compareStringsCaseSensitiveUI,
|
|
193469
192948
|
compareTextSpans,
|
|
193470
192949
|
compareValues,
|
|
193471
|
-
compileOnSaveCommandLineOption,
|
|
193472
192950
|
compilerOptionsAffectDeclarationPath,
|
|
193473
192951
|
compilerOptionsAffectEmit,
|
|
193474
192952
|
compilerOptionsAffectSemanticDiagnostics,
|
|
193475
192953
|
compilerOptionsDidYouMeanDiagnostics,
|
|
193476
192954
|
compilerOptionsIndicateEsModules,
|
|
193477
|
-
compose,
|
|
193478
192955
|
computeCommonSourceDirectoryOfFilenames,
|
|
193479
192956
|
computeLineAndCharacterOfPosition,
|
|
193480
192957
|
computeLineOfPosition,
|
|
193481
192958
|
computeLineStarts,
|
|
193482
192959
|
computePositionOfLineAndCharacter,
|
|
193483
|
-
computeSignature,
|
|
193484
192960
|
computeSignatureWithDiagnostics,
|
|
193485
192961
|
computeSuggestionDiagnostics,
|
|
193486
192962
|
computedOptions,
|
|
193487
192963
|
concatenate,
|
|
193488
192964
|
concatenateDiagnosticMessageChains,
|
|
193489
|
-
configDirTemplateSubstitutionOptions,
|
|
193490
|
-
configDirTemplateSubstitutionWatchOptions,
|
|
193491
192965
|
consumesNodeCoreModules,
|
|
193492
192966
|
contains,
|
|
193493
192967
|
containsIgnoredPath,
|
|
@@ -193518,15 +192992,11 @@ if (typeof console !== "undefined") {
|
|
|
193518
192992
|
createAccessorPropertySetRedirector,
|
|
193519
192993
|
createBaseNodeFactory,
|
|
193520
192994
|
createBinaryExpressionTrampoline,
|
|
193521
|
-
createBindingHelper,
|
|
193522
192995
|
createBuilderProgram,
|
|
193523
192996
|
createBuilderProgramUsingIncrementalBuildInfo,
|
|
193524
192997
|
createBuilderStatusReporter,
|
|
193525
|
-
createCacheWithRedirects,
|
|
193526
192998
|
createCacheableExportInfoMap,
|
|
193527
192999
|
createCachedDirectoryStructureHost,
|
|
193528
|
-
createClassNamedEvaluationHelperBlock,
|
|
193529
|
-
createClassThisAssignmentBlock,
|
|
193530
193000
|
createClassifier,
|
|
193531
193001
|
createCommentDirectivesMap,
|
|
193532
193002
|
createCompilerDiagnostic,
|
|
@@ -193648,10 +193118,7 @@ if (typeof console !== "undefined") {
|
|
|
193648
193118
|
declarationNameToString,
|
|
193649
193119
|
decodeMappings,
|
|
193650
193120
|
decodedTextSpanIntersectsWith,
|
|
193651
|
-
decorateHelper,
|
|
193652
193121
|
deduplicate,
|
|
193653
|
-
defaultIncludeSpec,
|
|
193654
|
-
defaultInitCompilerOptions,
|
|
193655
193122
|
defaultMaximumTruncationLength,
|
|
193656
193123
|
diagnosticCategoryName,
|
|
193657
193124
|
diagnosticToString,
|
|
@@ -193661,27 +193128,22 @@ if (typeof console !== "undefined") {
|
|
|
193661
193128
|
displayPart,
|
|
193662
193129
|
displayPartsToString,
|
|
193663
193130
|
disposeEmitNodes,
|
|
193664
|
-
disposeResourcesHelper,
|
|
193665
193131
|
documentSpansEqual,
|
|
193666
193132
|
dumpTracingLegend,
|
|
193667
193133
|
elementAt,
|
|
193668
193134
|
elideNodes,
|
|
193669
|
-
emitComments,
|
|
193670
193135
|
emitDetachedComments,
|
|
193671
193136
|
emitFiles,
|
|
193672
193137
|
emitFilesAndReportErrors,
|
|
193673
193138
|
emitFilesAndReportErrorsAndGetExitStatus,
|
|
193674
193139
|
emitModuleKindIsNonNodeESM,
|
|
193675
193140
|
emitNewLineBeforeLeadingCommentOfPosition,
|
|
193676
|
-
emitNewLineBeforeLeadingComments,
|
|
193677
|
-
emitNewLineBeforeLeadingCommentsOfPosition,
|
|
193678
193141
|
emitResolverSkipsTypeChecking,
|
|
193679
193142
|
emitSkippedWithNoDiagnostics,
|
|
193680
193143
|
emptyArray,
|
|
193681
193144
|
emptyFileSystemEntries,
|
|
193682
193145
|
emptyMap,
|
|
193683
193146
|
emptyOptions,
|
|
193684
|
-
emptySet,
|
|
193685
193147
|
endsWith,
|
|
193686
193148
|
ensurePathIsNonModuleName,
|
|
193687
193149
|
ensureScriptKind,
|
|
@@ -193692,7 +193154,6 @@ if (typeof console !== "undefined") {
|
|
|
193692
193154
|
equateStringsCaseInsensitive,
|
|
193693
193155
|
equateStringsCaseSensitive,
|
|
193694
193156
|
equateValues,
|
|
193695
|
-
esDecorateHelper,
|
|
193696
193157
|
escapeJsxAttributeString,
|
|
193697
193158
|
escapeLeadingUnderscores,
|
|
193698
193159
|
escapeNonAsciiString,
|
|
@@ -193706,10 +193167,8 @@ if (typeof console !== "undefined") {
|
|
|
193706
193167
|
explainFiles,
|
|
193707
193168
|
explainIfFileIsRedirectAndImpliedFormat,
|
|
193708
193169
|
exportAssignmentIsAlias,
|
|
193709
|
-
exportStarHelper,
|
|
193710
193170
|
expressionResultIsUnused,
|
|
193711
193171
|
extend,
|
|
193712
|
-
extendsHelper,
|
|
193713
193172
|
extensionFromPath,
|
|
193714
193173
|
extensionIsTS,
|
|
193715
193174
|
extensionsNotSupportingExtensionlessResolution,
|
|
@@ -193736,7 +193195,6 @@ if (typeof console !== "undefined") {
|
|
|
193736
193195
|
findLast,
|
|
193737
193196
|
findLastIndex,
|
|
193738
193197
|
findListItemInfo,
|
|
193739
|
-
findMap,
|
|
193740
193198
|
findModifier,
|
|
193741
193199
|
findNextToken,
|
|
193742
193200
|
findPackageJson,
|
|
@@ -193784,7 +193242,6 @@ if (typeof console !== "undefined") {
|
|
|
193784
193242
|
forEachTsConfigPropArray,
|
|
193785
193243
|
forEachUnique,
|
|
193786
193244
|
forEachYieldExpression,
|
|
193787
|
-
forSomeAncestorDirectory,
|
|
193788
193245
|
formatColorAndReset,
|
|
193789
193246
|
formatDiagnostic,
|
|
193790
193247
|
formatDiagnostics,
|
|
@@ -193795,11 +193252,8 @@ if (typeof console !== "undefined") {
|
|
|
193795
193252
|
formatMessage,
|
|
193796
193253
|
formatStringFromArgs,
|
|
193797
193254
|
formatting,
|
|
193798
|
-
fullTripleSlashAMDReferencePathRegEx,
|
|
193799
|
-
fullTripleSlashReferencePathRegEx,
|
|
193800
193255
|
generateDjb2Hash,
|
|
193801
193256
|
generateTSConfig,
|
|
193802
|
-
generatorHelper,
|
|
193803
193257
|
getAdjustedReferenceLocation,
|
|
193804
193258
|
getAdjustedRenameLocation,
|
|
193805
193259
|
getAliasDeclarationFromName,
|
|
@@ -193818,7 +193272,6 @@ if (typeof console !== "undefined") {
|
|
|
193818
193272
|
getAreDeclarationMapsEnabled,
|
|
193819
193273
|
getAssignedExpandoInitializer,
|
|
193820
193274
|
getAssignedName,
|
|
193821
|
-
getAssignedNameOfIdentifier,
|
|
193822
193275
|
getAssignmentDeclarationKind,
|
|
193823
193276
|
getAssignmentDeclarationPropertyAccessKind,
|
|
193824
193277
|
getAssignmentTargetKind,
|
|
@@ -193859,7 +193312,6 @@ if (typeof console !== "undefined") {
|
|
|
193859
193312
|
getContainingObjectLiteralElement,
|
|
193860
193313
|
getContextualTypeFromParent,
|
|
193861
193314
|
getContextualTypeFromParentOrAncestorTypeNode,
|
|
193862
|
-
getCurrentTime,
|
|
193863
193315
|
getDeclarationDiagnostics,
|
|
193864
193316
|
getDeclarationEmitExtensionForPath,
|
|
193865
193317
|
getDeclarationEmitOutputFilePath,
|
|
@@ -193961,7 +193413,6 @@ if (typeof console !== "undefined") {
|
|
|
193961
193413
|
getImpliedNodeFormatForFileWorker,
|
|
193962
193414
|
getImportNeedsImportDefaultHelper,
|
|
193963
193415
|
getImportNeedsImportStarHelper,
|
|
193964
|
-
getIndentSize,
|
|
193965
193416
|
getIndentString,
|
|
193966
193417
|
getInferredLibraryNameResolveFrom,
|
|
193967
193418
|
getInitializedVariables,
|
|
@@ -193999,7 +193450,6 @@ if (typeof console !== "undefined") {
|
|
|
193999
193450
|
getJSDocSatisfiesExpressionType,
|
|
194000
193451
|
getJSDocSatisfiesTag,
|
|
194001
193452
|
getJSDocTags,
|
|
194002
|
-
getJSDocTagsNoCache,
|
|
194003
193453
|
getJSDocTemplateTag,
|
|
194004
193454
|
getJSDocThisTag,
|
|
194005
193455
|
getJSDocType,
|
|
@@ -194023,7 +193473,6 @@ if (typeof console !== "undefined") {
|
|
|
194023
193473
|
getLineAndCharacterOfPosition,
|
|
194024
193474
|
getLineInfo,
|
|
194025
193475
|
getLineOfLocalPosition,
|
|
194026
|
-
getLineOfLocalPositionFromLineMap,
|
|
194027
193476
|
getLineStartPositionForPosition,
|
|
194028
193477
|
getLineStarts,
|
|
194029
193478
|
getLinesBetweenPositionAndNextNonWhitespaceCharacter,
|
|
@@ -194087,40 +193536,32 @@ if (typeof console !== "undefined") {
|
|
|
194087
193536
|
getNormalizedAbsolutePathWithoutRoot,
|
|
194088
193537
|
getNormalizedPathComponents,
|
|
194089
193538
|
getObjectFlags,
|
|
194090
|
-
getOperator,
|
|
194091
193539
|
getOperatorAssociativity,
|
|
194092
193540
|
getOperatorPrecedence,
|
|
194093
193541
|
getOptionFromName,
|
|
194094
193542
|
getOptionsForLibraryResolution,
|
|
194095
193543
|
getOptionsNameMap,
|
|
194096
193544
|
getOrCreateEmitNode,
|
|
194097
|
-
getOrCreateExternalHelpersModuleNameIfNeeded,
|
|
194098
193545
|
getOrUpdate,
|
|
194099
193546
|
getOriginalNode,
|
|
194100
193547
|
getOriginalNodeId,
|
|
194101
|
-
getOriginalSourceFile,
|
|
194102
193548
|
getOutputDeclarationFileName,
|
|
194103
193549
|
getOutputDeclarationFileNameWorker,
|
|
194104
193550
|
getOutputExtension,
|
|
194105
193551
|
getOutputFileNames,
|
|
194106
193552
|
getOutputJSFileNameWorker,
|
|
194107
193553
|
getOutputPathsFor,
|
|
194108
|
-
getOutputPathsForBundle,
|
|
194109
193554
|
getOwnEmitOutputFilePath,
|
|
194110
193555
|
getOwnKeys,
|
|
194111
193556
|
getOwnValues,
|
|
194112
|
-
getPackageJsonInfo,
|
|
194113
193557
|
getPackageJsonTypesVersionsPaths,
|
|
194114
|
-
getPackageJsonsVisibleToFile,
|
|
194115
193558
|
getPackageNameFromTypesPackageName,
|
|
194116
193559
|
getPackageScopeForPath,
|
|
194117
193560
|
getParameterSymbolFromJSDoc,
|
|
194118
|
-
getParameterTypeNode,
|
|
194119
193561
|
getParentNodeInSpan,
|
|
194120
193562
|
getParseTreeNode,
|
|
194121
193563
|
getParsedCommandLineOfConfigFile,
|
|
194122
193564
|
getPathComponents,
|
|
194123
|
-
getPathComponentsRelativeTo,
|
|
194124
193565
|
getPathFromPathComponents,
|
|
194125
193566
|
getPathUpdater,
|
|
194126
193567
|
getPathsBasePath,
|
|
@@ -194138,7 +193579,6 @@ if (typeof console !== "undefined") {
|
|
|
194138
193579
|
getPropertyArrayElementValue,
|
|
194139
193580
|
getPropertyAssignmentAliasLikeExpression,
|
|
194140
193581
|
getPropertyNameForPropertyNameNode,
|
|
194141
|
-
getPropertyNameForUniqueESSymbol,
|
|
194142
193582
|
getPropertyNameFromType,
|
|
194143
193583
|
getPropertyNameOfBindingOrAssignmentElement,
|
|
194144
193584
|
getPropertySymbolFromBindingElement,
|
|
@@ -194162,13 +193602,14 @@ if (typeof console !== "undefined") {
|
|
|
194162
193602
|
getResolvePackageJsonExports,
|
|
194163
193603
|
getResolvePackageJsonImports,
|
|
194164
193604
|
getResolvedExternalModuleName,
|
|
193605
|
+
getResolvedModuleFromResolution,
|
|
193606
|
+
getResolvedTypeReferenceDirectiveFromResolution,
|
|
194165
193607
|
getRestIndicatorOfBindingOrAssignmentElement,
|
|
194166
193608
|
getRestParameterElementType,
|
|
194167
193609
|
getRightMostAssignedExpression,
|
|
194168
193610
|
getRootDeclaration,
|
|
194169
193611
|
getRootDirectoryOfResolutionCache,
|
|
194170
193612
|
getRootLength,
|
|
194171
|
-
getRootPathSplitLength,
|
|
194172
193613
|
getScriptKind,
|
|
194173
193614
|
getScriptKindFromFileName,
|
|
194174
193615
|
getScriptTargetFeatures,
|
|
@@ -194180,14 +193621,12 @@ if (typeof console !== "undefined") {
|
|
|
194180
193621
|
getSetAccessorValueParameter,
|
|
194181
193622
|
getSetExternalModuleIndicator,
|
|
194182
193623
|
getShebang,
|
|
194183
|
-
getSingleInitializerOfVariableStatementOrPropertyDeclaration,
|
|
194184
193624
|
getSingleVariableOfVariableStatement,
|
|
194185
193625
|
getSnapshotText,
|
|
194186
193626
|
getSnippetElement,
|
|
194187
193627
|
getSourceFileOfModule,
|
|
194188
193628
|
getSourceFileOfNode,
|
|
194189
193629
|
getSourceFilePathInNewDir,
|
|
194190
|
-
getSourceFilePathInNewDirWorker,
|
|
194191
193630
|
getSourceFileVersionAsHashFromText,
|
|
194192
193631
|
getSourceFilesToEmit,
|
|
194193
193632
|
getSourceMapRange,
|
|
@@ -194210,7 +193649,6 @@ if (typeof console !== "undefined") {
|
|
|
194210
193649
|
getSwitchedType,
|
|
194211
193650
|
getSymbolId,
|
|
194212
193651
|
getSymbolNameForPrivateIdentifier,
|
|
194213
|
-
getSymbolParentOrFail,
|
|
194214
193652
|
getSymbolTarget,
|
|
194215
193653
|
getSyntacticClassifications,
|
|
194216
193654
|
getSyntacticModifierFlags,
|
|
@@ -194241,7 +193679,6 @@ if (typeof console !== "undefined") {
|
|
|
194241
193679
|
getTouchingToken,
|
|
194242
193680
|
getTrailingCommentRanges,
|
|
194243
193681
|
getTrailingSemicolonDeferringWriter,
|
|
194244
|
-
getTransformFlagsSubtreeExclusions,
|
|
194245
193682
|
getTransformers,
|
|
194246
193683
|
getTsBuildInfoEmitOutputFilePath,
|
|
194247
193684
|
getTsConfigObjectLiteralExpression,
|
|
@@ -194269,7 +193706,6 @@ if (typeof console !== "undefined") {
|
|
|
194269
193706
|
hasAccessorModifier,
|
|
194270
193707
|
hasAmbientModifier,
|
|
194271
193708
|
hasChangesInResolutions,
|
|
194272
|
-
hasChildOfKind,
|
|
194273
193709
|
hasContextSensitiveParameters,
|
|
194274
193710
|
hasDecorators,
|
|
194275
193711
|
hasDocComment,
|
|
@@ -194305,7 +193741,6 @@ if (typeof console !== "undefined") {
|
|
|
194305
193741
|
hasType,
|
|
194306
193742
|
hasTypeArguments,
|
|
194307
193743
|
hasZeroOrOneAsteriskCharacter,
|
|
194308
|
-
helperString,
|
|
194309
193744
|
hostGetCanonicalFileName,
|
|
194310
193745
|
hostUsesCaseSensitiveFileNames,
|
|
194311
193746
|
idText,
|
|
@@ -194315,9 +193750,7 @@ if (typeof console !== "undefined") {
|
|
|
194315
193750
|
identitySourceMapConsumer,
|
|
194316
193751
|
ignoreSourceNewlines,
|
|
194317
193752
|
ignoredPaths,
|
|
194318
|
-
importDefaultHelper,
|
|
194319
193753
|
importFromModuleSpecifier,
|
|
194320
|
-
importStarHelper,
|
|
194321
193754
|
indexOfAnyCharCode,
|
|
194322
193755
|
indexOfNode,
|
|
194323
193756
|
indicesOf,
|
|
@@ -194325,7 +193758,6 @@ if (typeof console !== "undefined") {
|
|
|
194325
193758
|
injectClassNamedEvaluationHelperBlockIfMissing,
|
|
194326
193759
|
injectClassThisAssignmentIfMissing,
|
|
194327
193760
|
insertImports,
|
|
194328
|
-
insertLeadingStatement,
|
|
194329
193761
|
insertSorted,
|
|
194330
193762
|
insertStatementAfterCustomPrologue,
|
|
194331
193763
|
insertStatementAfterStandardPrologue,
|
|
@@ -194341,11 +193773,9 @@ if (typeof console !== "undefined") {
|
|
|
194341
193773
|
isAccessibilityModifier,
|
|
194342
193774
|
isAccessor,
|
|
194343
193775
|
isAccessorModifier,
|
|
194344
|
-
isAliasSymbolDeclaration,
|
|
194345
193776
|
isAliasableExpression,
|
|
194346
193777
|
isAmbientModule,
|
|
194347
193778
|
isAmbientPropertyDeclaration,
|
|
194348
|
-
isAnonymousFunctionDefinition,
|
|
194349
193779
|
isAnyDirectorySeparator,
|
|
194350
193780
|
isAnyImportOrBareOrAccessedRequire,
|
|
194351
193781
|
isAnyImportOrReExport,
|
|
@@ -194421,7 +193851,6 @@ if (typeof console !== "undefined") {
|
|
|
194421
193851
|
isCatchClauseVariableDeclaration,
|
|
194422
193852
|
isCatchClauseVariableDeclarationOrBindingElement,
|
|
194423
193853
|
isCheckJsEnabledForFile,
|
|
194424
|
-
isChildOfNodeWithKind,
|
|
194425
193854
|
isCircularBuildOrder,
|
|
194426
193855
|
isClassDeclaration,
|
|
194427
193856
|
isClassElement,
|
|
@@ -194433,7 +193862,6 @@ if (typeof console !== "undefined") {
|
|
|
194433
193862
|
isClassOrTypeElement,
|
|
194434
193863
|
isClassStaticBlockDeclaration,
|
|
194435
193864
|
isClassThisAssignmentBlock,
|
|
194436
|
-
isCollapsedRange,
|
|
194437
193865
|
isColonToken,
|
|
194438
193866
|
isCommaExpression,
|
|
194439
193867
|
isCommaListExpression,
|
|
@@ -194476,16 +193904,13 @@ if (typeof console !== "undefined") {
|
|
|
194476
193904
|
isDeleteTarget,
|
|
194477
193905
|
isDeprecatedDeclaration,
|
|
194478
193906
|
isDestructuringAssignment,
|
|
194479
|
-
isDiagnosticWithLocation,
|
|
194480
193907
|
isDiskPathRoot,
|
|
194481
193908
|
isDoStatement,
|
|
194482
193909
|
isDocumentRegistryEntry,
|
|
194483
193910
|
isDotDotDotToken,
|
|
194484
193911
|
isDottedName,
|
|
194485
193912
|
isDynamicName,
|
|
194486
|
-
isESSymbolIdentifier,
|
|
194487
193913
|
isEffectiveExternalModule,
|
|
194488
|
-
isEffectiveModuleDeclaration,
|
|
194489
193914
|
isEffectiveStrictModeSourceFile,
|
|
194490
193915
|
isElementAccessChain,
|
|
194491
193916
|
isElementAccessExpression,
|
|
@@ -194555,13 +193980,11 @@ if (typeof console !== "undefined") {
|
|
|
194555
193980
|
isFunctionOrModuleBlock,
|
|
194556
193981
|
isFunctionSymbol,
|
|
194557
193982
|
isFunctionTypeNode,
|
|
194558
|
-
isFutureReservedKeyword,
|
|
194559
193983
|
isGeneratedIdentifier,
|
|
194560
193984
|
isGeneratedPrivateIdentifier,
|
|
194561
193985
|
isGetAccessor,
|
|
194562
193986
|
isGetAccessorDeclaration,
|
|
194563
193987
|
isGetOrSetAccessorDeclaration,
|
|
194564
|
-
isGlobalDeclaration,
|
|
194565
193988
|
isGlobalScopeAugmentation,
|
|
194566
193989
|
isGlobalSourceFile,
|
|
194567
193990
|
isGrammarError,
|
|
@@ -194717,7 +194140,6 @@ if (typeof console !== "undefined") {
|
|
|
194717
194140
|
isLabeledStatement,
|
|
194718
194141
|
isLateVisibilityPaintedStatement,
|
|
194719
194142
|
isLeftHandSideExpression,
|
|
194720
|
-
isLeftHandSideOfAssignment,
|
|
194721
194143
|
isLet,
|
|
194722
194144
|
isLineBreak,
|
|
194723
194145
|
isLiteralComputedPropertyDeclarationName,
|
|
@@ -194725,10 +194147,7 @@ if (typeof console !== "undefined") {
|
|
|
194725
194147
|
isLiteralExpressionOfObject,
|
|
194726
194148
|
isLiteralImportTypeNode,
|
|
194727
194149
|
isLiteralKind,
|
|
194728
|
-
isLiteralLikeAccess,
|
|
194729
|
-
isLiteralLikeElementAccess,
|
|
194730
194150
|
isLiteralNameOfPropertyDeclarationOrIndexAccess,
|
|
194731
|
-
isLiteralTypeLikeExpression,
|
|
194732
194151
|
isLiteralTypeLiteral,
|
|
194733
194152
|
isLiteralTypeNode,
|
|
194734
194153
|
isLocalName,
|
|
@@ -194763,7 +194182,6 @@ if (typeof console !== "undefined") {
|
|
|
194763
194182
|
isModuleWithStringLiteralName,
|
|
194764
194183
|
isNameOfFunctionDeclaration,
|
|
194765
194184
|
isNameOfModuleDeclaration,
|
|
194766
|
-
isNamedClassElement,
|
|
194767
194185
|
isNamedDeclaration,
|
|
194768
194186
|
isNamedEvaluation,
|
|
194769
194187
|
isNamedEvaluationSource,
|
|
@@ -194781,7 +194199,6 @@ if (typeof console !== "undefined") {
|
|
|
194781
194199
|
isNewExpression,
|
|
194782
194200
|
isNewExpressionTarget,
|
|
194783
194201
|
isNoSubstitutionTemplateLiteral,
|
|
194784
|
-
isNode,
|
|
194785
194202
|
isNodeArray,
|
|
194786
194203
|
isNodeArrayMultiLine,
|
|
194787
194204
|
isNodeDescendantOf,
|
|
@@ -194790,15 +194207,11 @@ if (typeof console !== "undefined") {
|
|
|
194790
194207
|
isNodeModulesDirectory,
|
|
194791
194208
|
isNodeWithPossibleHoistedDeclaration,
|
|
194792
194209
|
isNonContextualKeyword,
|
|
194793
|
-
isNonExportDefaultModifier,
|
|
194794
194210
|
isNonGlobalAmbientModule,
|
|
194795
|
-
isNonGlobalDeclaration,
|
|
194796
|
-
isNonIncrementalBuildInfo,
|
|
194797
194211
|
isNonNullAccess,
|
|
194798
194212
|
isNonNullChain,
|
|
194799
194213
|
isNonNullExpression,
|
|
194800
194214
|
isNonStaticMethodOrAccessorWithPrivateName,
|
|
194801
|
-
isNotEmittedOrPartiallyEmittedNode,
|
|
194802
194215
|
isNotEmittedStatement,
|
|
194803
194216
|
isNullishCoalesce,
|
|
194804
194217
|
isNumber,
|
|
@@ -194814,7 +194227,6 @@ if (typeof console !== "undefined") {
|
|
|
194814
194227
|
isObjectLiteralMethod,
|
|
194815
194228
|
isObjectLiteralOrClassExpressionMethodOrAccessor,
|
|
194816
194229
|
isObjectTypeDeclaration,
|
|
194817
|
-
isOctalDigit,
|
|
194818
194230
|
isOmittedExpression,
|
|
194819
194231
|
isOptionalChain,
|
|
194820
194232
|
isOptionalChainRoot,
|
|
@@ -194860,7 +194272,6 @@ if (typeof console !== "undefined") {
|
|
|
194860
194272
|
isPropertyName,
|
|
194861
194273
|
isPropertyNameLiteral,
|
|
194862
194274
|
isPropertySignature,
|
|
194863
|
-
isProtoSetter,
|
|
194864
194275
|
isPrototypeAccess,
|
|
194865
194276
|
isPrototypePropertyAssignment,
|
|
194866
194277
|
isPunctuation,
|
|
@@ -194870,7 +194281,6 @@ if (typeof console !== "undefined") {
|
|
|
194870
194281
|
isQuestionOrExclamationToken,
|
|
194871
194282
|
isQuestionOrPlusOrMinusToken,
|
|
194872
194283
|
isQuestionToken,
|
|
194873
|
-
isRawSourceMap,
|
|
194874
194284
|
isReadonlyKeyword,
|
|
194875
194285
|
isReadonlyKeywordOrPlusOrMinusToken,
|
|
194876
194286
|
isRecognizedTripleSlashComment,
|
|
@@ -194892,25 +194302,21 @@ if (typeof console !== "undefined") {
|
|
|
194892
194302
|
isRootedDiskPath,
|
|
194893
194303
|
isSameEntityName,
|
|
194894
194304
|
isSatisfiesExpression,
|
|
194895
|
-
isScopeMarker,
|
|
194896
194305
|
isSemicolonClassElement,
|
|
194897
194306
|
isSetAccessor,
|
|
194898
194307
|
isSetAccessorDeclaration,
|
|
194899
|
-
isShebangTrivia,
|
|
194900
194308
|
isShiftOperatorOrHigher,
|
|
194901
194309
|
isShorthandAmbientModuleSymbol,
|
|
194902
194310
|
isShorthandPropertyAssignment,
|
|
194903
194311
|
isSignedNumericLiteral,
|
|
194904
194312
|
isSimpleCopiableExpression,
|
|
194905
194313
|
isSimpleInlineableExpression,
|
|
194906
|
-
isSimpleParameter,
|
|
194907
194314
|
isSimpleParameterList,
|
|
194908
194315
|
isSingleOrDoubleQuote,
|
|
194909
194316
|
isSourceElement,
|
|
194910
194317
|
isSourceFile,
|
|
194911
194318
|
isSourceFileFromLibrary,
|
|
194912
194319
|
isSourceFileJS,
|
|
194913
|
-
isSourceFileNotJS,
|
|
194914
194320
|
isSourceFileNotJson,
|
|
194915
194321
|
isSourceMapping,
|
|
194916
194322
|
isSpecialPropertyDeclaration,
|
|
@@ -194923,7 +194329,6 @@ if (typeof console !== "undefined") {
|
|
|
194923
194329
|
isStatic,
|
|
194924
194330
|
isStaticModifier,
|
|
194925
194331
|
isString,
|
|
194926
|
-
isStringAKeyword,
|
|
194927
194332
|
isStringANonContextualKeyword,
|
|
194928
194333
|
isStringAndEmptyAnonymousObjectIntersection,
|
|
194929
194334
|
isStringDoubleQuoted,
|
|
@@ -194936,7 +194341,6 @@ if (typeof console !== "undefined") {
|
|
|
194936
194341
|
isStringTextContainingNode,
|
|
194937
194342
|
isSuperCall,
|
|
194938
194343
|
isSuperKeyword,
|
|
194939
|
-
isSuperOrSuperProperty,
|
|
194940
194344
|
isSuperProperty,
|
|
194941
194345
|
isSupportedSourceFileName,
|
|
194942
194346
|
isSwitchStatement,
|
|
@@ -194982,7 +194386,6 @@ if (typeof console !== "undefined") {
|
|
|
194982
194386
|
isTypeDeclaration,
|
|
194983
194387
|
isTypeElement,
|
|
194984
194388
|
isTypeKeyword,
|
|
194985
|
-
isTypeKeywordToken,
|
|
194986
194389
|
isTypeKeywordTokenOrIdentifier,
|
|
194987
194390
|
isTypeLiteralNode,
|
|
194988
194391
|
isTypeNode,
|
|
@@ -195037,9 +194440,6 @@ if (typeof console !== "undefined") {
|
|
|
195037
194440
|
libMap,
|
|
195038
194441
|
libs,
|
|
195039
194442
|
lineBreakPart,
|
|
195040
|
-
linkNamePart,
|
|
195041
|
-
linkPart,
|
|
195042
|
-
linkTextPart,
|
|
195043
194443
|
loadModuleFromGlobalCache,
|
|
195044
194444
|
loadWithModeAwareCache,
|
|
195045
194445
|
makeIdentifierFromModuleName,
|
|
@@ -195062,10 +194462,7 @@ if (typeof console !== "undefined") {
|
|
|
195062
194462
|
maybeBind,
|
|
195063
194463
|
maybeSetLocalizedDiagnosticMessages,
|
|
195064
194464
|
memoize,
|
|
195065
|
-
memoizeCached,
|
|
195066
194465
|
memoizeOne,
|
|
195067
|
-
memoizeWeak,
|
|
195068
|
-
metadataHelper,
|
|
195069
194466
|
min,
|
|
195070
194467
|
minAndMax,
|
|
195071
194468
|
missingFileModifiedTime,
|
|
@@ -195113,7 +194510,6 @@ if (typeof console !== "undefined") {
|
|
|
195113
194510
|
nodePosToString,
|
|
195114
194511
|
nodeSeenTracker,
|
|
195115
194512
|
nodeStartsNewLexicalEnvironment,
|
|
195116
|
-
nodeToDisplayParts,
|
|
195117
194513
|
noop,
|
|
195118
194514
|
noopFileWatcher,
|
|
195119
194515
|
normalizePath,
|
|
@@ -195133,13 +194529,11 @@ if (typeof console !== "undefined") {
|
|
|
195133
194529
|
optionsForBuild,
|
|
195134
194530
|
optionsForWatch,
|
|
195135
194531
|
optionsHaveChanges,
|
|
195136
|
-
optionsHaveModuleResolutionChanges,
|
|
195137
194532
|
or,
|
|
195138
194533
|
orderedRemoveItem,
|
|
195139
194534
|
orderedRemoveItemAt,
|
|
195140
194535
|
packageIdToPackageName,
|
|
195141
194536
|
packageIdToString,
|
|
195142
|
-
paramHelper,
|
|
195143
194537
|
parameterIsThisKeyword,
|
|
195144
194538
|
parameterNamePart,
|
|
195145
194539
|
parseBaseNodeFactory,
|
|
@@ -195172,7 +194566,6 @@ if (typeof console !== "undefined") {
|
|
|
195172
194566
|
patternText,
|
|
195173
194567
|
performIncrementalCompilation,
|
|
195174
194568
|
performance,
|
|
195175
|
-
plainJSErrors,
|
|
195176
194569
|
positionBelongsToNode,
|
|
195177
194570
|
positionIsASICandidate,
|
|
195178
194571
|
positionIsSynthesized,
|
|
@@ -195185,7 +194578,6 @@ if (typeof console !== "undefined") {
|
|
|
195185
194578
|
programContainsEsModules,
|
|
195186
194579
|
programContainsModules,
|
|
195187
194580
|
projectReferenceIsEqualTo,
|
|
195188
|
-
propKeyHelper,
|
|
195189
194581
|
propertyNamePart,
|
|
195190
194582
|
pseudoBigIntToString,
|
|
195191
194583
|
punctuationPart,
|
|
@@ -195208,7 +194600,6 @@ if (typeof console !== "undefined") {
|
|
|
195208
194600
|
rangeStartPositionsAreOnSameLine,
|
|
195209
194601
|
readBuilderProgram,
|
|
195210
194602
|
readConfigFile,
|
|
195211
|
-
readHelper,
|
|
195212
194603
|
readJson,
|
|
195213
194604
|
readJsonConfigFile,
|
|
195214
194605
|
readJsonOrUndefined,
|
|
@@ -195227,7 +194618,6 @@ if (typeof console !== "undefined") {
|
|
|
195227
194618
|
removeFileExtension,
|
|
195228
194619
|
removeIgnoredPath,
|
|
195229
194620
|
removeMinAndVersionNumbers,
|
|
195230
|
-
removeOptionality,
|
|
195231
194621
|
removePrefix,
|
|
195232
194622
|
removeSuffix,
|
|
195233
194623
|
removeTrailingDirectorySeparator,
|
|
@@ -195246,20 +194636,16 @@ if (typeof console !== "undefined") {
|
|
|
195246
194636
|
resolveTripleslashReference,
|
|
195247
194637
|
resolveTypeReferenceDirective,
|
|
195248
194638
|
resolvingEmptyArray,
|
|
195249
|
-
restHelper,
|
|
195250
194639
|
returnFalse,
|
|
195251
194640
|
returnNoopFileWatcher,
|
|
195252
194641
|
returnTrue,
|
|
195253
194642
|
returnUndefined,
|
|
195254
194643
|
returnsPromise,
|
|
195255
|
-
runInitializersHelper,
|
|
195256
194644
|
sameFlatMap,
|
|
195257
194645
|
sameMap,
|
|
195258
194646
|
sameMapping,
|
|
195259
|
-
scanShebangTrivia,
|
|
195260
194647
|
scanTokenAtPosition,
|
|
195261
194648
|
scanner,
|
|
195262
|
-
screenStartingMessageCodes,
|
|
195263
194649
|
semanticDiagnosticsOptionDeclarations,
|
|
195264
194650
|
serializeCompilerOptions,
|
|
195265
194651
|
server,
|
|
@@ -195267,16 +194653,13 @@ if (typeof console !== "undefined") {
|
|
|
195267
194653
|
setCommentRange,
|
|
195268
194654
|
setConfigFileInOptions,
|
|
195269
194655
|
setConstantValue,
|
|
195270
|
-
setEachParent,
|
|
195271
194656
|
setEmitFlags,
|
|
195272
|
-
setFunctionNameHelper,
|
|
195273
194657
|
setGetSourceFileAsHashVersioned,
|
|
195274
194658
|
setIdentifierAutoGenerate,
|
|
195275
194659
|
setIdentifierGeneratedImportReference,
|
|
195276
194660
|
setIdentifierTypeArguments,
|
|
195277
194661
|
setInternalEmitFlags,
|
|
195278
194662
|
setLocalizedDiagnosticMessages,
|
|
195279
|
-
setModuleDefaultHelper,
|
|
195280
194663
|
setNodeChildren,
|
|
195281
194664
|
setNodeFlags,
|
|
195282
194665
|
setObjectAllocator,
|
|
@@ -195305,7 +194688,6 @@ if (typeof console !== "undefined") {
|
|
|
195305
194688
|
shouldPreserveConstEnums,
|
|
195306
194689
|
shouldUseUriStyleNodeCoreModules,
|
|
195307
194690
|
showModuleSpecifier,
|
|
195308
|
-
signatureHasLiteralTypes,
|
|
195309
194691
|
signatureHasRestParameter,
|
|
195310
194692
|
signatureToDisplayParts,
|
|
195311
194693
|
single,
|
|
@@ -195314,7 +194696,6 @@ if (typeof console !== "undefined") {
|
|
|
195314
194696
|
singleOrMany,
|
|
195315
194697
|
singleOrUndefined,
|
|
195316
194698
|
skipAlias,
|
|
195317
|
-
skipAssertions,
|
|
195318
194699
|
skipConstraint,
|
|
195319
194700
|
skipOuterExpressions,
|
|
195320
194701
|
skipParentheses,
|
|
@@ -195335,7 +194716,6 @@ if (typeof console !== "undefined") {
|
|
|
195335
194716
|
sourceMapCommentRegExpDontCareLineStart,
|
|
195336
194717
|
spacePart,
|
|
195337
194718
|
spanMap,
|
|
195338
|
-
spreadArrayHelper,
|
|
195339
194719
|
stableSort,
|
|
195340
194720
|
startEndContainsRange,
|
|
195341
194721
|
startEndOverlapsWithStartEnd,
|
|
@@ -195349,10 +194729,8 @@ if (typeof console !== "undefined") {
|
|
|
195349
194729
|
stringToToken,
|
|
195350
194730
|
stripQuotes,
|
|
195351
194731
|
supportedDeclarationExtensions,
|
|
195352
|
-
supportedJSExtensions,
|
|
195353
194732
|
supportedJSExtensionsFlat,
|
|
195354
194733
|
supportedLocaleDirectories,
|
|
195355
|
-
supportedTSExtensions,
|
|
195356
194734
|
supportedTSExtensionsFlat,
|
|
195357
194735
|
supportedTSImplementationExtensions,
|
|
195358
194736
|
suppressLeadingAndTrailingTrivia,
|
|
@@ -195361,16 +194739,12 @@ if (typeof console !== "undefined") {
|
|
|
195361
194739
|
symbolEscapedNameNoDefault,
|
|
195362
194740
|
symbolName,
|
|
195363
194741
|
symbolNameNoDefault,
|
|
195364
|
-
symbolPart,
|
|
195365
194742
|
symbolToDisplayParts,
|
|
195366
|
-
syntaxMayBeASICandidate,
|
|
195367
|
-
syntaxRequiresTrailingSemicolonOrASI,
|
|
195368
194743
|
sys,
|
|
195369
194744
|
sysLog,
|
|
195370
194745
|
tagNamesAreEquivalent,
|
|
195371
194746
|
takeWhile,
|
|
195372
194747
|
targetOptionDeclaration,
|
|
195373
|
-
templateObjectHelper,
|
|
195374
194748
|
testFormatSettings,
|
|
195375
194749
|
textChangeRangeIsUnchanged,
|
|
195376
194750
|
textChangeRangeNewSpan,
|
|
@@ -195399,7 +194773,6 @@ if (typeof console !== "undefined") {
|
|
|
195399
194773
|
toBuilderStateFileInfoForMultiEmit,
|
|
195400
194774
|
toEditorSettings,
|
|
195401
194775
|
toFileNameLowerCase,
|
|
195402
|
-
toLowerCase,
|
|
195403
194776
|
toPath,
|
|
195404
194777
|
toProgramEmitPending,
|
|
195405
194778
|
tokenIsIdentifierOrKeyword,
|
|
@@ -195453,7 +194826,6 @@ if (typeof console !== "undefined") {
|
|
|
195453
194826
|
tryGetPropertyNameOfBindingOrAssignmentElement,
|
|
195454
194827
|
tryGetSourceMappingURL,
|
|
195455
194828
|
tryGetTextOfPropertyName,
|
|
195456
|
-
tryIOAndConsumeErrors,
|
|
195457
194829
|
tryParseJson,
|
|
195458
194830
|
tryParsePattern,
|
|
195459
194831
|
tryParsePatterns,
|
|
@@ -195475,7 +194847,6 @@ if (typeof console !== "undefined") {
|
|
|
195475
194847
|
unescapeLeadingUnderscores,
|
|
195476
194848
|
unmangleScopedPackageName,
|
|
195477
194849
|
unorderedRemoveItem,
|
|
195478
|
-
unorderedRemoveItemAt,
|
|
195479
194850
|
unreachableCodeIsError,
|
|
195480
194851
|
unsetNodeChildren,
|
|
195481
194852
|
unusedLabelIsError,
|
|
@@ -195488,11 +194859,9 @@ if (typeof console !== "undefined") {
|
|
|
195488
194859
|
updateSharedExtendedConfigFileWatcher,
|
|
195489
194860
|
updateSourceFile,
|
|
195490
194861
|
updateWatchingWildcardDirectories,
|
|
195491
|
-
usesExtensionsOnImports,
|
|
195492
194862
|
usingSingleLineStringWriter,
|
|
195493
194863
|
utf16EncodeAsString,
|
|
195494
194864
|
validateLocaleAndSetLanguage,
|
|
195495
|
-
valuesHelper,
|
|
195496
194865
|
version,
|
|
195497
194866
|
versionMajorMinor,
|
|
195498
194867
|
visitArray,
|
|
@@ -195505,7 +194874,6 @@ if (typeof console !== "undefined") {
|
|
|
195505
194874
|
visitNodes,
|
|
195506
194875
|
visitParameterList,
|
|
195507
194876
|
walkUpBindingElementsAndPatterns,
|
|
195508
|
-
walkUpLexicalEnvironments,
|
|
195509
194877
|
walkUpOuterExpressions,
|
|
195510
194878
|
walkUpParenthesizedExpressions,
|
|
195511
194879
|
walkUpParenthesizedTypes,
|