typescript 5.6.0-dev.20240627 → 5.6.0-dev.20240629
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 +230 -107
- package/lib/typescript.d.ts +2 -0
- package/lib/typescript.js +254 -734
- package/package.json +7 -5
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,45 +898,37 @@ __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,
|
|
984
930
|
getPatternFromSpec: () => getPatternFromSpec,
|
|
985
|
-
|
|
931
|
+
getPendingEmitKindWithSeen: () => getPendingEmitKindWithSeen,
|
|
986
932
|
getPositionOfLineAndCharacter: () => getPositionOfLineAndCharacter,
|
|
987
933
|
getPossibleGenericSignatures: () => getPossibleGenericSignatures,
|
|
988
934
|
getPossibleOriginalInputExtensionForExtension: () => getPossibleOriginalInputExtensionForExtension,
|
|
@@ -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,
|
|
@@ -1027,7 +972,6 @@ __export(typescript_exports, {
|
|
|
1027
972
|
getRootDeclaration: () => getRootDeclaration,
|
|
1028
973
|
getRootDirectoryOfResolutionCache: () => getRootDirectoryOfResolutionCache,
|
|
1029
974
|
getRootLength: () => getRootLength,
|
|
1030
|
-
getRootPathSplitLength: () => getRootPathSplitLength,
|
|
1031
975
|
getScriptKind: () => getScriptKind,
|
|
1032
976
|
getScriptKindFromFileName: () => getScriptKindFromFileName,
|
|
1033
977
|
getScriptTargetFeatures: () => getScriptTargetFeatures,
|
|
@@ -1039,14 +983,12 @@ __export(typescript_exports, {
|
|
|
1039
983
|
getSetAccessorValueParameter: () => getSetAccessorValueParameter,
|
|
1040
984
|
getSetExternalModuleIndicator: () => getSetExternalModuleIndicator,
|
|
1041
985
|
getShebang: () => getShebang,
|
|
1042
|
-
getSingleInitializerOfVariableStatementOrPropertyDeclaration: () => getSingleInitializerOfVariableStatementOrPropertyDeclaration,
|
|
1043
986
|
getSingleVariableOfVariableStatement: () => getSingleVariableOfVariableStatement,
|
|
1044
987
|
getSnapshotText: () => getSnapshotText,
|
|
1045
988
|
getSnippetElement: () => getSnippetElement,
|
|
1046
989
|
getSourceFileOfModule: () => getSourceFileOfModule,
|
|
1047
990
|
getSourceFileOfNode: () => getSourceFileOfNode,
|
|
1048
991
|
getSourceFilePathInNewDir: () => getSourceFilePathInNewDir,
|
|
1049
|
-
getSourceFilePathInNewDirWorker: () => getSourceFilePathInNewDirWorker,
|
|
1050
992
|
getSourceFileVersionAsHashFromText: () => getSourceFileVersionAsHashFromText,
|
|
1051
993
|
getSourceFilesToEmit: () => getSourceFilesToEmit,
|
|
1052
994
|
getSourceMapRange: () => getSourceMapRange,
|
|
@@ -1069,7 +1011,6 @@ __export(typescript_exports, {
|
|
|
1069
1011
|
getSwitchedType: () => getSwitchedType,
|
|
1070
1012
|
getSymbolId: () => getSymbolId,
|
|
1071
1013
|
getSymbolNameForPrivateIdentifier: () => getSymbolNameForPrivateIdentifier,
|
|
1072
|
-
getSymbolParentOrFail: () => getSymbolParentOrFail,
|
|
1073
1014
|
getSymbolTarget: () => getSymbolTarget,
|
|
1074
1015
|
getSyntacticClassifications: () => getSyntacticClassifications,
|
|
1075
1016
|
getSyntacticModifierFlags: () => getSyntacticModifierFlags,
|
|
@@ -1100,7 +1041,6 @@ __export(typescript_exports, {
|
|
|
1100
1041
|
getTouchingToken: () => getTouchingToken,
|
|
1101
1042
|
getTrailingCommentRanges: () => getTrailingCommentRanges,
|
|
1102
1043
|
getTrailingSemicolonDeferringWriter: () => getTrailingSemicolonDeferringWriter,
|
|
1103
|
-
getTransformFlagsSubtreeExclusions: () => getTransformFlagsSubtreeExclusions,
|
|
1104
1044
|
getTransformers: () => getTransformers,
|
|
1105
1045
|
getTsBuildInfoEmitOutputFilePath: () => getTsBuildInfoEmitOutputFilePath,
|
|
1106
1046
|
getTsConfigObjectLiteralExpression: () => getTsConfigObjectLiteralExpression,
|
|
@@ -1128,7 +1068,6 @@ __export(typescript_exports, {
|
|
|
1128
1068
|
hasAccessorModifier: () => hasAccessorModifier,
|
|
1129
1069
|
hasAmbientModifier: () => hasAmbientModifier,
|
|
1130
1070
|
hasChangesInResolutions: () => hasChangesInResolutions,
|
|
1131
|
-
hasChildOfKind: () => hasChildOfKind,
|
|
1132
1071
|
hasContextSensitiveParameters: () => hasContextSensitiveParameters,
|
|
1133
1072
|
hasDecorators: () => hasDecorators,
|
|
1134
1073
|
hasDocComment: () => hasDocComment,
|
|
@@ -1164,7 +1103,6 @@ __export(typescript_exports, {
|
|
|
1164
1103
|
hasType: () => hasType,
|
|
1165
1104
|
hasTypeArguments: () => hasTypeArguments,
|
|
1166
1105
|
hasZeroOrOneAsteriskCharacter: () => hasZeroOrOneAsteriskCharacter,
|
|
1167
|
-
helperString: () => helperString,
|
|
1168
1106
|
hostGetCanonicalFileName: () => hostGetCanonicalFileName,
|
|
1169
1107
|
hostUsesCaseSensitiveFileNames: () => hostUsesCaseSensitiveFileNames,
|
|
1170
1108
|
idText: () => idText,
|
|
@@ -1174,9 +1112,7 @@ __export(typescript_exports, {
|
|
|
1174
1112
|
identitySourceMapConsumer: () => identitySourceMapConsumer,
|
|
1175
1113
|
ignoreSourceNewlines: () => ignoreSourceNewlines,
|
|
1176
1114
|
ignoredPaths: () => ignoredPaths,
|
|
1177
|
-
importDefaultHelper: () => importDefaultHelper,
|
|
1178
1115
|
importFromModuleSpecifier: () => importFromModuleSpecifier,
|
|
1179
|
-
importStarHelper: () => importStarHelper,
|
|
1180
1116
|
indexOfAnyCharCode: () => indexOfAnyCharCode,
|
|
1181
1117
|
indexOfNode: () => indexOfNode,
|
|
1182
1118
|
indicesOf: () => indicesOf,
|
|
@@ -1184,7 +1120,6 @@ __export(typescript_exports, {
|
|
|
1184
1120
|
injectClassNamedEvaluationHelperBlockIfMissing: () => injectClassNamedEvaluationHelperBlockIfMissing,
|
|
1185
1121
|
injectClassThisAssignmentIfMissing: () => injectClassThisAssignmentIfMissing,
|
|
1186
1122
|
insertImports: () => insertImports,
|
|
1187
|
-
insertLeadingStatement: () => insertLeadingStatement,
|
|
1188
1123
|
insertSorted: () => insertSorted,
|
|
1189
1124
|
insertStatementAfterCustomPrologue: () => insertStatementAfterCustomPrologue,
|
|
1190
1125
|
insertStatementAfterStandardPrologue: () => insertStatementAfterStandardPrologue,
|
|
@@ -1200,11 +1135,9 @@ __export(typescript_exports, {
|
|
|
1200
1135
|
isAccessibilityModifier: () => isAccessibilityModifier,
|
|
1201
1136
|
isAccessor: () => isAccessor,
|
|
1202
1137
|
isAccessorModifier: () => isAccessorModifier,
|
|
1203
|
-
isAliasSymbolDeclaration: () => isAliasSymbolDeclaration,
|
|
1204
1138
|
isAliasableExpression: () => isAliasableExpression,
|
|
1205
1139
|
isAmbientModule: () => isAmbientModule,
|
|
1206
1140
|
isAmbientPropertyDeclaration: () => isAmbientPropertyDeclaration,
|
|
1207
|
-
isAnonymousFunctionDefinition: () => isAnonymousFunctionDefinition,
|
|
1208
1141
|
isAnyDirectorySeparator: () => isAnyDirectorySeparator,
|
|
1209
1142
|
isAnyImportOrBareOrAccessedRequire: () => isAnyImportOrBareOrAccessedRequire,
|
|
1210
1143
|
isAnyImportOrReExport: () => isAnyImportOrReExport,
|
|
@@ -1280,7 +1213,6 @@ __export(typescript_exports, {
|
|
|
1280
1213
|
isCatchClauseVariableDeclaration: () => isCatchClauseVariableDeclaration,
|
|
1281
1214
|
isCatchClauseVariableDeclarationOrBindingElement: () => isCatchClauseVariableDeclarationOrBindingElement,
|
|
1282
1215
|
isCheckJsEnabledForFile: () => isCheckJsEnabledForFile,
|
|
1283
|
-
isChildOfNodeWithKind: () => isChildOfNodeWithKind,
|
|
1284
1216
|
isCircularBuildOrder: () => isCircularBuildOrder,
|
|
1285
1217
|
isClassDeclaration: () => isClassDeclaration,
|
|
1286
1218
|
isClassElement: () => isClassElement,
|
|
@@ -1292,7 +1224,6 @@ __export(typescript_exports, {
|
|
|
1292
1224
|
isClassOrTypeElement: () => isClassOrTypeElement,
|
|
1293
1225
|
isClassStaticBlockDeclaration: () => isClassStaticBlockDeclaration,
|
|
1294
1226
|
isClassThisAssignmentBlock: () => isClassThisAssignmentBlock,
|
|
1295
|
-
isCollapsedRange: () => isCollapsedRange,
|
|
1296
1227
|
isColonToken: () => isColonToken,
|
|
1297
1228
|
isCommaExpression: () => isCommaExpression,
|
|
1298
1229
|
isCommaListExpression: () => isCommaListExpression,
|
|
@@ -1335,16 +1266,13 @@ __export(typescript_exports, {
|
|
|
1335
1266
|
isDeleteTarget: () => isDeleteTarget,
|
|
1336
1267
|
isDeprecatedDeclaration: () => isDeprecatedDeclaration,
|
|
1337
1268
|
isDestructuringAssignment: () => isDestructuringAssignment,
|
|
1338
|
-
isDiagnosticWithLocation: () => isDiagnosticWithLocation,
|
|
1339
1269
|
isDiskPathRoot: () => isDiskPathRoot,
|
|
1340
1270
|
isDoStatement: () => isDoStatement,
|
|
1341
1271
|
isDocumentRegistryEntry: () => isDocumentRegistryEntry,
|
|
1342
1272
|
isDotDotDotToken: () => isDotDotDotToken,
|
|
1343
1273
|
isDottedName: () => isDottedName,
|
|
1344
1274
|
isDynamicName: () => isDynamicName,
|
|
1345
|
-
isESSymbolIdentifier: () => isESSymbolIdentifier,
|
|
1346
1275
|
isEffectiveExternalModule: () => isEffectiveExternalModule,
|
|
1347
|
-
isEffectiveModuleDeclaration: () => isEffectiveModuleDeclaration,
|
|
1348
1276
|
isEffectiveStrictModeSourceFile: () => isEffectiveStrictModeSourceFile,
|
|
1349
1277
|
isElementAccessChain: () => isElementAccessChain,
|
|
1350
1278
|
isElementAccessExpression: () => isElementAccessExpression,
|
|
@@ -1414,13 +1342,11 @@ __export(typescript_exports, {
|
|
|
1414
1342
|
isFunctionOrModuleBlock: () => isFunctionOrModuleBlock,
|
|
1415
1343
|
isFunctionSymbol: () => isFunctionSymbol,
|
|
1416
1344
|
isFunctionTypeNode: () => isFunctionTypeNode,
|
|
1417
|
-
isFutureReservedKeyword: () => isFutureReservedKeyword,
|
|
1418
1345
|
isGeneratedIdentifier: () => isGeneratedIdentifier,
|
|
1419
1346
|
isGeneratedPrivateIdentifier: () => isGeneratedPrivateIdentifier,
|
|
1420
1347
|
isGetAccessor: () => isGetAccessor,
|
|
1421
1348
|
isGetAccessorDeclaration: () => isGetAccessorDeclaration,
|
|
1422
1349
|
isGetOrSetAccessorDeclaration: () => isGetOrSetAccessorDeclaration,
|
|
1423
|
-
isGlobalDeclaration: () => isGlobalDeclaration,
|
|
1424
1350
|
isGlobalScopeAugmentation: () => isGlobalScopeAugmentation,
|
|
1425
1351
|
isGlobalSourceFile: () => isGlobalSourceFile,
|
|
1426
1352
|
isGrammarError: () => isGrammarError,
|
|
@@ -1576,7 +1502,6 @@ __export(typescript_exports, {
|
|
|
1576
1502
|
isLabeledStatement: () => isLabeledStatement,
|
|
1577
1503
|
isLateVisibilityPaintedStatement: () => isLateVisibilityPaintedStatement,
|
|
1578
1504
|
isLeftHandSideExpression: () => isLeftHandSideExpression,
|
|
1579
|
-
isLeftHandSideOfAssignment: () => isLeftHandSideOfAssignment,
|
|
1580
1505
|
isLet: () => isLet,
|
|
1581
1506
|
isLineBreak: () => isLineBreak,
|
|
1582
1507
|
isLiteralComputedPropertyDeclarationName: () => isLiteralComputedPropertyDeclarationName,
|
|
@@ -1584,10 +1509,7 @@ __export(typescript_exports, {
|
|
|
1584
1509
|
isLiteralExpressionOfObject: () => isLiteralExpressionOfObject,
|
|
1585
1510
|
isLiteralImportTypeNode: () => isLiteralImportTypeNode,
|
|
1586
1511
|
isLiteralKind: () => isLiteralKind,
|
|
1587
|
-
isLiteralLikeAccess: () => isLiteralLikeAccess,
|
|
1588
|
-
isLiteralLikeElementAccess: () => isLiteralLikeElementAccess,
|
|
1589
1512
|
isLiteralNameOfPropertyDeclarationOrIndexAccess: () => isLiteralNameOfPropertyDeclarationOrIndexAccess,
|
|
1590
|
-
isLiteralTypeLikeExpression: () => isLiteralTypeLikeExpression,
|
|
1591
1513
|
isLiteralTypeLiteral: () => isLiteralTypeLiteral,
|
|
1592
1514
|
isLiteralTypeNode: () => isLiteralTypeNode,
|
|
1593
1515
|
isLocalName: () => isLocalName,
|
|
@@ -1622,7 +1544,6 @@ __export(typescript_exports, {
|
|
|
1622
1544
|
isModuleWithStringLiteralName: () => isModuleWithStringLiteralName,
|
|
1623
1545
|
isNameOfFunctionDeclaration: () => isNameOfFunctionDeclaration,
|
|
1624
1546
|
isNameOfModuleDeclaration: () => isNameOfModuleDeclaration,
|
|
1625
|
-
isNamedClassElement: () => isNamedClassElement,
|
|
1626
1547
|
isNamedDeclaration: () => isNamedDeclaration,
|
|
1627
1548
|
isNamedEvaluation: () => isNamedEvaluation,
|
|
1628
1549
|
isNamedEvaluationSource: () => isNamedEvaluationSource,
|
|
@@ -1640,7 +1561,6 @@ __export(typescript_exports, {
|
|
|
1640
1561
|
isNewExpression: () => isNewExpression,
|
|
1641
1562
|
isNewExpressionTarget: () => isNewExpressionTarget,
|
|
1642
1563
|
isNoSubstitutionTemplateLiteral: () => isNoSubstitutionTemplateLiteral,
|
|
1643
|
-
isNode: () => isNode,
|
|
1644
1564
|
isNodeArray: () => isNodeArray,
|
|
1645
1565
|
isNodeArrayMultiLine: () => isNodeArrayMultiLine,
|
|
1646
1566
|
isNodeDescendantOf: () => isNodeDescendantOf,
|
|
@@ -1649,15 +1569,11 @@ __export(typescript_exports, {
|
|
|
1649
1569
|
isNodeModulesDirectory: () => isNodeModulesDirectory,
|
|
1650
1570
|
isNodeWithPossibleHoistedDeclaration: () => isNodeWithPossibleHoistedDeclaration,
|
|
1651
1571
|
isNonContextualKeyword: () => isNonContextualKeyword,
|
|
1652
|
-
isNonExportDefaultModifier: () => isNonExportDefaultModifier,
|
|
1653
1572
|
isNonGlobalAmbientModule: () => isNonGlobalAmbientModule,
|
|
1654
|
-
isNonGlobalDeclaration: () => isNonGlobalDeclaration,
|
|
1655
|
-
isNonIncrementalBuildInfo: () => isNonIncrementalBuildInfo,
|
|
1656
1573
|
isNonNullAccess: () => isNonNullAccess,
|
|
1657
1574
|
isNonNullChain: () => isNonNullChain,
|
|
1658
1575
|
isNonNullExpression: () => isNonNullExpression,
|
|
1659
1576
|
isNonStaticMethodOrAccessorWithPrivateName: () => isNonStaticMethodOrAccessorWithPrivateName,
|
|
1660
|
-
isNotEmittedOrPartiallyEmittedNode: () => isNotEmittedOrPartiallyEmittedNode,
|
|
1661
1577
|
isNotEmittedStatement: () => isNotEmittedStatement,
|
|
1662
1578
|
isNullishCoalesce: () => isNullishCoalesce,
|
|
1663
1579
|
isNumber: () => isNumber,
|
|
@@ -1673,7 +1589,6 @@ __export(typescript_exports, {
|
|
|
1673
1589
|
isObjectLiteralMethod: () => isObjectLiteralMethod,
|
|
1674
1590
|
isObjectLiteralOrClassExpressionMethodOrAccessor: () => isObjectLiteralOrClassExpressionMethodOrAccessor,
|
|
1675
1591
|
isObjectTypeDeclaration: () => isObjectTypeDeclaration,
|
|
1676
|
-
isOctalDigit: () => isOctalDigit,
|
|
1677
1592
|
isOmittedExpression: () => isOmittedExpression,
|
|
1678
1593
|
isOptionalChain: () => isOptionalChain,
|
|
1679
1594
|
isOptionalChainRoot: () => isOptionalChainRoot,
|
|
@@ -1719,7 +1634,6 @@ __export(typescript_exports, {
|
|
|
1719
1634
|
isPropertyName: () => isPropertyName,
|
|
1720
1635
|
isPropertyNameLiteral: () => isPropertyNameLiteral,
|
|
1721
1636
|
isPropertySignature: () => isPropertySignature,
|
|
1722
|
-
isProtoSetter: () => isProtoSetter,
|
|
1723
1637
|
isPrototypeAccess: () => isPrototypeAccess,
|
|
1724
1638
|
isPrototypePropertyAssignment: () => isPrototypePropertyAssignment,
|
|
1725
1639
|
isPunctuation: () => isPunctuation,
|
|
@@ -1729,7 +1643,6 @@ __export(typescript_exports, {
|
|
|
1729
1643
|
isQuestionOrExclamationToken: () => isQuestionOrExclamationToken,
|
|
1730
1644
|
isQuestionOrPlusOrMinusToken: () => isQuestionOrPlusOrMinusToken,
|
|
1731
1645
|
isQuestionToken: () => isQuestionToken,
|
|
1732
|
-
isRawSourceMap: () => isRawSourceMap,
|
|
1733
1646
|
isReadonlyKeyword: () => isReadonlyKeyword,
|
|
1734
1647
|
isReadonlyKeywordOrPlusOrMinusToken: () => isReadonlyKeywordOrPlusOrMinusToken,
|
|
1735
1648
|
isRecognizedTripleSlashComment: () => isRecognizedTripleSlashComment,
|
|
@@ -1751,25 +1664,21 @@ __export(typescript_exports, {
|
|
|
1751
1664
|
isRootedDiskPath: () => isRootedDiskPath,
|
|
1752
1665
|
isSameEntityName: () => isSameEntityName,
|
|
1753
1666
|
isSatisfiesExpression: () => isSatisfiesExpression,
|
|
1754
|
-
isScopeMarker: () => isScopeMarker,
|
|
1755
1667
|
isSemicolonClassElement: () => isSemicolonClassElement,
|
|
1756
1668
|
isSetAccessor: () => isSetAccessor,
|
|
1757
1669
|
isSetAccessorDeclaration: () => isSetAccessorDeclaration,
|
|
1758
|
-
isShebangTrivia: () => isShebangTrivia,
|
|
1759
1670
|
isShiftOperatorOrHigher: () => isShiftOperatorOrHigher,
|
|
1760
1671
|
isShorthandAmbientModuleSymbol: () => isShorthandAmbientModuleSymbol,
|
|
1761
1672
|
isShorthandPropertyAssignment: () => isShorthandPropertyAssignment,
|
|
1762
1673
|
isSignedNumericLiteral: () => isSignedNumericLiteral,
|
|
1763
1674
|
isSimpleCopiableExpression: () => isSimpleCopiableExpression,
|
|
1764
1675
|
isSimpleInlineableExpression: () => isSimpleInlineableExpression,
|
|
1765
|
-
isSimpleParameter: () => isSimpleParameter,
|
|
1766
1676
|
isSimpleParameterList: () => isSimpleParameterList,
|
|
1767
1677
|
isSingleOrDoubleQuote: () => isSingleOrDoubleQuote,
|
|
1768
1678
|
isSourceElement: () => isSourceElement,
|
|
1769
1679
|
isSourceFile: () => isSourceFile,
|
|
1770
1680
|
isSourceFileFromLibrary: () => isSourceFileFromLibrary,
|
|
1771
1681
|
isSourceFileJS: () => isSourceFileJS,
|
|
1772
|
-
isSourceFileNotJS: () => isSourceFileNotJS,
|
|
1773
1682
|
isSourceFileNotJson: () => isSourceFileNotJson,
|
|
1774
1683
|
isSourceMapping: () => isSourceMapping,
|
|
1775
1684
|
isSpecialPropertyDeclaration: () => isSpecialPropertyDeclaration,
|
|
@@ -1782,7 +1691,6 @@ __export(typescript_exports, {
|
|
|
1782
1691
|
isStatic: () => isStatic,
|
|
1783
1692
|
isStaticModifier: () => isStaticModifier,
|
|
1784
1693
|
isString: () => isString,
|
|
1785
|
-
isStringAKeyword: () => isStringAKeyword,
|
|
1786
1694
|
isStringANonContextualKeyword: () => isStringANonContextualKeyword,
|
|
1787
1695
|
isStringAndEmptyAnonymousObjectIntersection: () => isStringAndEmptyAnonymousObjectIntersection,
|
|
1788
1696
|
isStringDoubleQuoted: () => isStringDoubleQuoted,
|
|
@@ -1795,7 +1703,6 @@ __export(typescript_exports, {
|
|
|
1795
1703
|
isStringTextContainingNode: () => isStringTextContainingNode,
|
|
1796
1704
|
isSuperCall: () => isSuperCall,
|
|
1797
1705
|
isSuperKeyword: () => isSuperKeyword,
|
|
1798
|
-
isSuperOrSuperProperty: () => isSuperOrSuperProperty,
|
|
1799
1706
|
isSuperProperty: () => isSuperProperty,
|
|
1800
1707
|
isSupportedSourceFileName: () => isSupportedSourceFileName,
|
|
1801
1708
|
isSwitchStatement: () => isSwitchStatement,
|
|
@@ -1841,7 +1748,6 @@ __export(typescript_exports, {
|
|
|
1841
1748
|
isTypeDeclaration: () => isTypeDeclaration,
|
|
1842
1749
|
isTypeElement: () => isTypeElement,
|
|
1843
1750
|
isTypeKeyword: () => isTypeKeyword,
|
|
1844
|
-
isTypeKeywordToken: () => isTypeKeywordToken,
|
|
1845
1751
|
isTypeKeywordTokenOrIdentifier: () => isTypeKeywordTokenOrIdentifier,
|
|
1846
1752
|
isTypeLiteralNode: () => isTypeLiteralNode,
|
|
1847
1753
|
isTypeNode: () => isTypeNode,
|
|
@@ -1896,9 +1802,6 @@ __export(typescript_exports, {
|
|
|
1896
1802
|
libMap: () => libMap,
|
|
1897
1803
|
libs: () => libs,
|
|
1898
1804
|
lineBreakPart: () => lineBreakPart,
|
|
1899
|
-
linkNamePart: () => linkNamePart,
|
|
1900
|
-
linkPart: () => linkPart,
|
|
1901
|
-
linkTextPart: () => linkTextPart,
|
|
1902
1805
|
loadModuleFromGlobalCache: () => loadModuleFromGlobalCache,
|
|
1903
1806
|
loadWithModeAwareCache: () => loadWithModeAwareCache,
|
|
1904
1807
|
makeIdentifierFromModuleName: () => makeIdentifierFromModuleName,
|
|
@@ -1921,10 +1824,7 @@ __export(typescript_exports, {
|
|
|
1921
1824
|
maybeBind: () => maybeBind,
|
|
1922
1825
|
maybeSetLocalizedDiagnosticMessages: () => maybeSetLocalizedDiagnosticMessages,
|
|
1923
1826
|
memoize: () => memoize,
|
|
1924
|
-
memoizeCached: () => memoizeCached,
|
|
1925
1827
|
memoizeOne: () => memoizeOne,
|
|
1926
|
-
memoizeWeak: () => memoizeWeak,
|
|
1927
|
-
metadataHelper: () => metadataHelper,
|
|
1928
1828
|
min: () => min,
|
|
1929
1829
|
minAndMax: () => minAndMax,
|
|
1930
1830
|
missingFileModifiedTime: () => missingFileModifiedTime,
|
|
@@ -1972,7 +1872,6 @@ __export(typescript_exports, {
|
|
|
1972
1872
|
nodePosToString: () => nodePosToString,
|
|
1973
1873
|
nodeSeenTracker: () => nodeSeenTracker,
|
|
1974
1874
|
nodeStartsNewLexicalEnvironment: () => nodeStartsNewLexicalEnvironment,
|
|
1975
|
-
nodeToDisplayParts: () => nodeToDisplayParts,
|
|
1976
1875
|
noop: () => noop,
|
|
1977
1876
|
noopFileWatcher: () => noopFileWatcher,
|
|
1978
1877
|
normalizePath: () => normalizePath,
|
|
@@ -1992,13 +1891,11 @@ __export(typescript_exports, {
|
|
|
1992
1891
|
optionsForBuild: () => optionsForBuild,
|
|
1993
1892
|
optionsForWatch: () => optionsForWatch,
|
|
1994
1893
|
optionsHaveChanges: () => optionsHaveChanges,
|
|
1995
|
-
optionsHaveModuleResolutionChanges: () => optionsHaveModuleResolutionChanges,
|
|
1996
1894
|
or: () => or,
|
|
1997
1895
|
orderedRemoveItem: () => orderedRemoveItem,
|
|
1998
1896
|
orderedRemoveItemAt: () => orderedRemoveItemAt,
|
|
1999
1897
|
packageIdToPackageName: () => packageIdToPackageName,
|
|
2000
1898
|
packageIdToString: () => packageIdToString,
|
|
2001
|
-
paramHelper: () => paramHelper,
|
|
2002
1899
|
parameterIsThisKeyword: () => parameterIsThisKeyword,
|
|
2003
1900
|
parameterNamePart: () => parameterNamePart,
|
|
2004
1901
|
parseBaseNodeFactory: () => parseBaseNodeFactory,
|
|
@@ -2031,7 +1928,6 @@ __export(typescript_exports, {
|
|
|
2031
1928
|
patternText: () => patternText,
|
|
2032
1929
|
performIncrementalCompilation: () => performIncrementalCompilation,
|
|
2033
1930
|
performance: () => ts_performance_exports,
|
|
2034
|
-
plainJSErrors: () => plainJSErrors,
|
|
2035
1931
|
positionBelongsToNode: () => positionBelongsToNode,
|
|
2036
1932
|
positionIsASICandidate: () => positionIsASICandidate,
|
|
2037
1933
|
positionIsSynthesized: () => positionIsSynthesized,
|
|
@@ -2044,7 +1940,6 @@ __export(typescript_exports, {
|
|
|
2044
1940
|
programContainsEsModules: () => programContainsEsModules,
|
|
2045
1941
|
programContainsModules: () => programContainsModules,
|
|
2046
1942
|
projectReferenceIsEqualTo: () => projectReferenceIsEqualTo,
|
|
2047
|
-
propKeyHelper: () => propKeyHelper,
|
|
2048
1943
|
propertyNamePart: () => propertyNamePart,
|
|
2049
1944
|
pseudoBigIntToString: () => pseudoBigIntToString,
|
|
2050
1945
|
punctuationPart: () => punctuationPart,
|
|
@@ -2067,7 +1962,6 @@ __export(typescript_exports, {
|
|
|
2067
1962
|
rangeStartPositionsAreOnSameLine: () => rangeStartPositionsAreOnSameLine,
|
|
2068
1963
|
readBuilderProgram: () => readBuilderProgram,
|
|
2069
1964
|
readConfigFile: () => readConfigFile,
|
|
2070
|
-
readHelper: () => readHelper,
|
|
2071
1965
|
readJson: () => readJson,
|
|
2072
1966
|
readJsonConfigFile: () => readJsonConfigFile,
|
|
2073
1967
|
readJsonOrUndefined: () => readJsonOrUndefined,
|
|
@@ -2086,7 +1980,6 @@ __export(typescript_exports, {
|
|
|
2086
1980
|
removeFileExtension: () => removeFileExtension,
|
|
2087
1981
|
removeIgnoredPath: () => removeIgnoredPath,
|
|
2088
1982
|
removeMinAndVersionNumbers: () => removeMinAndVersionNumbers,
|
|
2089
|
-
removeOptionality: () => removeOptionality,
|
|
2090
1983
|
removePrefix: () => removePrefix,
|
|
2091
1984
|
removeSuffix: () => removeSuffix,
|
|
2092
1985
|
removeTrailingDirectorySeparator: () => removeTrailingDirectorySeparator,
|
|
@@ -2105,20 +1998,16 @@ __export(typescript_exports, {
|
|
|
2105
1998
|
resolveTripleslashReference: () => resolveTripleslashReference,
|
|
2106
1999
|
resolveTypeReferenceDirective: () => resolveTypeReferenceDirective,
|
|
2107
2000
|
resolvingEmptyArray: () => resolvingEmptyArray,
|
|
2108
|
-
restHelper: () => restHelper,
|
|
2109
2001
|
returnFalse: () => returnFalse,
|
|
2110
2002
|
returnNoopFileWatcher: () => returnNoopFileWatcher,
|
|
2111
2003
|
returnTrue: () => returnTrue,
|
|
2112
2004
|
returnUndefined: () => returnUndefined,
|
|
2113
2005
|
returnsPromise: () => returnsPromise,
|
|
2114
|
-
runInitializersHelper: () => runInitializersHelper,
|
|
2115
2006
|
sameFlatMap: () => sameFlatMap,
|
|
2116
2007
|
sameMap: () => sameMap,
|
|
2117
2008
|
sameMapping: () => sameMapping,
|
|
2118
|
-
scanShebangTrivia: () => scanShebangTrivia,
|
|
2119
2009
|
scanTokenAtPosition: () => scanTokenAtPosition,
|
|
2120
2010
|
scanner: () => scanner,
|
|
2121
|
-
screenStartingMessageCodes: () => screenStartingMessageCodes,
|
|
2122
2011
|
semanticDiagnosticsOptionDeclarations: () => semanticDiagnosticsOptionDeclarations,
|
|
2123
2012
|
serializeCompilerOptions: () => serializeCompilerOptions,
|
|
2124
2013
|
server: () => ts_server_exports4,
|
|
@@ -2126,16 +2015,13 @@ __export(typescript_exports, {
|
|
|
2126
2015
|
setCommentRange: () => setCommentRange,
|
|
2127
2016
|
setConfigFileInOptions: () => setConfigFileInOptions,
|
|
2128
2017
|
setConstantValue: () => setConstantValue,
|
|
2129
|
-
setEachParent: () => setEachParent,
|
|
2130
2018
|
setEmitFlags: () => setEmitFlags,
|
|
2131
|
-
setFunctionNameHelper: () => setFunctionNameHelper,
|
|
2132
2019
|
setGetSourceFileAsHashVersioned: () => setGetSourceFileAsHashVersioned,
|
|
2133
2020
|
setIdentifierAutoGenerate: () => setIdentifierAutoGenerate,
|
|
2134
2021
|
setIdentifierGeneratedImportReference: () => setIdentifierGeneratedImportReference,
|
|
2135
2022
|
setIdentifierTypeArguments: () => setIdentifierTypeArguments,
|
|
2136
2023
|
setInternalEmitFlags: () => setInternalEmitFlags,
|
|
2137
2024
|
setLocalizedDiagnosticMessages: () => setLocalizedDiagnosticMessages,
|
|
2138
|
-
setModuleDefaultHelper: () => setModuleDefaultHelper,
|
|
2139
2025
|
setNodeChildren: () => setNodeChildren,
|
|
2140
2026
|
setNodeFlags: () => setNodeFlags,
|
|
2141
2027
|
setObjectAllocator: () => setObjectAllocator,
|
|
@@ -2164,7 +2050,6 @@ __export(typescript_exports, {
|
|
|
2164
2050
|
shouldPreserveConstEnums: () => shouldPreserveConstEnums,
|
|
2165
2051
|
shouldUseUriStyleNodeCoreModules: () => shouldUseUriStyleNodeCoreModules,
|
|
2166
2052
|
showModuleSpecifier: () => showModuleSpecifier,
|
|
2167
|
-
signatureHasLiteralTypes: () => signatureHasLiteralTypes,
|
|
2168
2053
|
signatureHasRestParameter: () => signatureHasRestParameter,
|
|
2169
2054
|
signatureToDisplayParts: () => signatureToDisplayParts,
|
|
2170
2055
|
single: () => single,
|
|
@@ -2173,7 +2058,6 @@ __export(typescript_exports, {
|
|
|
2173
2058
|
singleOrMany: () => singleOrMany,
|
|
2174
2059
|
singleOrUndefined: () => singleOrUndefined,
|
|
2175
2060
|
skipAlias: () => skipAlias,
|
|
2176
|
-
skipAssertions: () => skipAssertions,
|
|
2177
2061
|
skipConstraint: () => skipConstraint,
|
|
2178
2062
|
skipOuterExpressions: () => skipOuterExpressions,
|
|
2179
2063
|
skipParentheses: () => skipParentheses,
|
|
@@ -2194,7 +2078,6 @@ __export(typescript_exports, {
|
|
|
2194
2078
|
sourceMapCommentRegExpDontCareLineStart: () => sourceMapCommentRegExpDontCareLineStart,
|
|
2195
2079
|
spacePart: () => spacePart,
|
|
2196
2080
|
spanMap: () => spanMap,
|
|
2197
|
-
spreadArrayHelper: () => spreadArrayHelper,
|
|
2198
2081
|
stableSort: () => stableSort,
|
|
2199
2082
|
startEndContainsRange: () => startEndContainsRange,
|
|
2200
2083
|
startEndOverlapsWithStartEnd: () => startEndOverlapsWithStartEnd,
|
|
@@ -2208,10 +2091,8 @@ __export(typescript_exports, {
|
|
|
2208
2091
|
stringToToken: () => stringToToken,
|
|
2209
2092
|
stripQuotes: () => stripQuotes,
|
|
2210
2093
|
supportedDeclarationExtensions: () => supportedDeclarationExtensions,
|
|
2211
|
-
supportedJSExtensions: () => supportedJSExtensions,
|
|
2212
2094
|
supportedJSExtensionsFlat: () => supportedJSExtensionsFlat,
|
|
2213
2095
|
supportedLocaleDirectories: () => supportedLocaleDirectories,
|
|
2214
|
-
supportedTSExtensions: () => supportedTSExtensions,
|
|
2215
2096
|
supportedTSExtensionsFlat: () => supportedTSExtensionsFlat,
|
|
2216
2097
|
supportedTSImplementationExtensions: () => supportedTSImplementationExtensions,
|
|
2217
2098
|
suppressLeadingAndTrailingTrivia: () => suppressLeadingAndTrailingTrivia,
|
|
@@ -2220,16 +2101,12 @@ __export(typescript_exports, {
|
|
|
2220
2101
|
symbolEscapedNameNoDefault: () => symbolEscapedNameNoDefault,
|
|
2221
2102
|
symbolName: () => symbolName,
|
|
2222
2103
|
symbolNameNoDefault: () => symbolNameNoDefault,
|
|
2223
|
-
symbolPart: () => symbolPart,
|
|
2224
2104
|
symbolToDisplayParts: () => symbolToDisplayParts,
|
|
2225
|
-
syntaxMayBeASICandidate: () => syntaxMayBeASICandidate,
|
|
2226
|
-
syntaxRequiresTrailingSemicolonOrASI: () => syntaxRequiresTrailingSemicolonOrASI,
|
|
2227
2105
|
sys: () => sys,
|
|
2228
2106
|
sysLog: () => sysLog,
|
|
2229
2107
|
tagNamesAreEquivalent: () => tagNamesAreEquivalent,
|
|
2230
2108
|
takeWhile: () => takeWhile,
|
|
2231
2109
|
targetOptionDeclaration: () => targetOptionDeclaration,
|
|
2232
|
-
templateObjectHelper: () => templateObjectHelper,
|
|
2233
2110
|
testFormatSettings: () => testFormatSettings,
|
|
2234
2111
|
textChangeRangeIsUnchanged: () => textChangeRangeIsUnchanged,
|
|
2235
2112
|
textChangeRangeNewSpan: () => textChangeRangeNewSpan,
|
|
@@ -2258,7 +2135,6 @@ __export(typescript_exports, {
|
|
|
2258
2135
|
toBuilderStateFileInfoForMultiEmit: () => toBuilderStateFileInfoForMultiEmit,
|
|
2259
2136
|
toEditorSettings: () => toEditorSettings,
|
|
2260
2137
|
toFileNameLowerCase: () => toFileNameLowerCase,
|
|
2261
|
-
toLowerCase: () => toLowerCase,
|
|
2262
2138
|
toPath: () => toPath,
|
|
2263
2139
|
toProgramEmitPending: () => toProgramEmitPending,
|
|
2264
2140
|
tokenIsIdentifierOrKeyword: () => tokenIsIdentifierOrKeyword,
|
|
@@ -2312,7 +2188,6 @@ __export(typescript_exports, {
|
|
|
2312
2188
|
tryGetPropertyNameOfBindingOrAssignmentElement: () => tryGetPropertyNameOfBindingOrAssignmentElement,
|
|
2313
2189
|
tryGetSourceMappingURL: () => tryGetSourceMappingURL,
|
|
2314
2190
|
tryGetTextOfPropertyName: () => tryGetTextOfPropertyName,
|
|
2315
|
-
tryIOAndConsumeErrors: () => tryIOAndConsumeErrors,
|
|
2316
2191
|
tryParseJson: () => tryParseJson,
|
|
2317
2192
|
tryParsePattern: () => tryParsePattern,
|
|
2318
2193
|
tryParsePatterns: () => tryParsePatterns,
|
|
@@ -2334,7 +2209,6 @@ __export(typescript_exports, {
|
|
|
2334
2209
|
unescapeLeadingUnderscores: () => unescapeLeadingUnderscores,
|
|
2335
2210
|
unmangleScopedPackageName: () => unmangleScopedPackageName,
|
|
2336
2211
|
unorderedRemoveItem: () => unorderedRemoveItem,
|
|
2337
|
-
unorderedRemoveItemAt: () => unorderedRemoveItemAt,
|
|
2338
2212
|
unreachableCodeIsError: () => unreachableCodeIsError,
|
|
2339
2213
|
unsetNodeChildren: () => unsetNodeChildren,
|
|
2340
2214
|
unusedLabelIsError: () => unusedLabelIsError,
|
|
@@ -2347,11 +2221,9 @@ __export(typescript_exports, {
|
|
|
2347
2221
|
updateSharedExtendedConfigFileWatcher: () => updateSharedExtendedConfigFileWatcher,
|
|
2348
2222
|
updateSourceFile: () => updateSourceFile,
|
|
2349
2223
|
updateWatchingWildcardDirectories: () => updateWatchingWildcardDirectories,
|
|
2350
|
-
usesExtensionsOnImports: () => usesExtensionsOnImports,
|
|
2351
2224
|
usingSingleLineStringWriter: () => usingSingleLineStringWriter,
|
|
2352
2225
|
utf16EncodeAsString: () => utf16EncodeAsString,
|
|
2353
2226
|
validateLocaleAndSetLanguage: () => validateLocaleAndSetLanguage,
|
|
2354
|
-
valuesHelper: () => valuesHelper,
|
|
2355
2227
|
version: () => version,
|
|
2356
2228
|
versionMajorMinor: () => versionMajorMinor,
|
|
2357
2229
|
visitArray: () => visitArray,
|
|
@@ -2364,7 +2236,6 @@ __export(typescript_exports, {
|
|
|
2364
2236
|
visitNodes: () => visitNodes2,
|
|
2365
2237
|
visitParameterList: () => visitParameterList,
|
|
2366
2238
|
walkUpBindingElementsAndPatterns: () => walkUpBindingElementsAndPatterns,
|
|
2367
|
-
walkUpLexicalEnvironments: () => walkUpLexicalEnvironments,
|
|
2368
2239
|
walkUpOuterExpressions: () => walkUpOuterExpressions,
|
|
2369
2240
|
walkUpParenthesizedExpressions: () => walkUpParenthesizedExpressions,
|
|
2370
2241
|
walkUpParenthesizedTypes: () => walkUpParenthesizedTypes,
|
|
@@ -2379,7 +2250,7 @@ module.exports = __toCommonJS(typescript_exports);
|
|
|
2379
2250
|
|
|
2380
2251
|
// src/compiler/corePublic.ts
|
|
2381
2252
|
var versionMajorMinor = "5.6";
|
|
2382
|
-
var version = `${versionMajorMinor}.0-dev.
|
|
2253
|
+
var version = `${versionMajorMinor}.0-dev.20240629`;
|
|
2383
2254
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
2384
2255
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
2385
2256
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -2390,7 +2261,6 @@ var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
|
2390
2261
|
// src/compiler/core.ts
|
|
2391
2262
|
var emptyArray = [];
|
|
2392
2263
|
var emptyMap = /* @__PURE__ */ new Map();
|
|
2393
|
-
var emptySet = /* @__PURE__ */ new Set();
|
|
2394
2264
|
function length(array) {
|
|
2395
2265
|
return array !== void 0 ? array.length : 0;
|
|
2396
2266
|
}
|
|
@@ -2515,15 +2385,6 @@ function findLastIndex(array, predicate, startIndex) {
|
|
|
2515
2385
|
}
|
|
2516
2386
|
return -1;
|
|
2517
2387
|
}
|
|
2518
|
-
function findMap(array, callback) {
|
|
2519
|
-
for (let i = 0; i < array.length; i++) {
|
|
2520
|
-
const result = callback(array[i], i);
|
|
2521
|
-
if (result) {
|
|
2522
|
-
return result;
|
|
2523
|
-
}
|
|
2524
|
-
}
|
|
2525
|
-
return Debug.fail();
|
|
2526
|
-
}
|
|
2527
2388
|
function contains(array, value, equalityComparer = equateValues) {
|
|
2528
2389
|
if (array !== void 0) {
|
|
2529
2390
|
for (let i = 0; i < array.length; i++) {
|
|
@@ -2899,15 +2760,6 @@ function insertSorted(array, insert, compare, equalityComparer, allowDuplicates)
|
|
|
2899
2760
|
function sortAndDeduplicate(array, comparer, equalityComparer) {
|
|
2900
2761
|
return deduplicateSorted(sort(array, comparer), equalityComparer ?? comparer ?? compareStringsCaseSensitive);
|
|
2901
2762
|
}
|
|
2902
|
-
function arrayIsSorted(array, comparer) {
|
|
2903
|
-
if (array.length < 2) return true;
|
|
2904
|
-
for (let i = 1, len = array.length; i < len; i++) {
|
|
2905
|
-
if (comparer(array[i - 1], array[i]) === 1 /* GreaterThan */) {
|
|
2906
|
-
return false;
|
|
2907
|
-
}
|
|
2908
|
-
}
|
|
2909
|
-
return true;
|
|
2910
|
-
}
|
|
2911
2763
|
function arrayIsEqualTo(array1, array2, equalityComparer = equateValues) {
|
|
2912
2764
|
if (array1 === void 0 || array2 === void 0) {
|
|
2913
2765
|
return array1 === array2;
|
|
@@ -3510,46 +3362,6 @@ function memoizeOne(callback) {
|
|
|
3510
3362
|
return value;
|
|
3511
3363
|
};
|
|
3512
3364
|
}
|
|
3513
|
-
function memoizeWeak(callback) {
|
|
3514
|
-
const map2 = /* @__PURE__ */ new WeakMap();
|
|
3515
|
-
return (arg) => {
|
|
3516
|
-
let value = map2.get(arg);
|
|
3517
|
-
if (value === void 0 && !map2.has(arg)) {
|
|
3518
|
-
value = callback(arg);
|
|
3519
|
-
map2.set(arg, value);
|
|
3520
|
-
}
|
|
3521
|
-
return value;
|
|
3522
|
-
};
|
|
3523
|
-
}
|
|
3524
|
-
function memoizeCached(callback, cache) {
|
|
3525
|
-
return (...args) => {
|
|
3526
|
-
let value = cache.get(args);
|
|
3527
|
-
if (value === void 0 && !cache.has(args)) {
|
|
3528
|
-
value = callback(...args);
|
|
3529
|
-
cache.set(args, value);
|
|
3530
|
-
}
|
|
3531
|
-
return value;
|
|
3532
|
-
};
|
|
3533
|
-
}
|
|
3534
|
-
function compose(a, b, c, d, e) {
|
|
3535
|
-
if (!!e) {
|
|
3536
|
-
const args = [];
|
|
3537
|
-
for (let i = 0; i < arguments.length; i++) {
|
|
3538
|
-
args[i] = arguments[i];
|
|
3539
|
-
}
|
|
3540
|
-
return (t) => reduceLeft(args, (u, f) => f(u), t);
|
|
3541
|
-
} else if (d) {
|
|
3542
|
-
return (t) => d(c(b(a(t))));
|
|
3543
|
-
} else if (c) {
|
|
3544
|
-
return (t) => c(b(a(t)));
|
|
3545
|
-
} else if (b) {
|
|
3546
|
-
return (t) => b(a(t));
|
|
3547
|
-
} else if (a) {
|
|
3548
|
-
return (t) => a(t);
|
|
3549
|
-
} else {
|
|
3550
|
-
return (t) => t;
|
|
3551
|
-
}
|
|
3552
|
-
}
|
|
3553
3365
|
var AssertionLevel = /* @__PURE__ */ ((AssertionLevel2) => {
|
|
3554
3366
|
AssertionLevel2[AssertionLevel2["None"] = 0] = "None";
|
|
3555
3367
|
AssertionLevel2[AssertionLevel2["Normal"] = 1] = "Normal";
|
|
@@ -6393,11 +6205,6 @@ var SymbolAccessibility = /* @__PURE__ */ ((SymbolAccessibility2) => {
|
|
|
6393
6205
|
SymbolAccessibility2[SymbolAccessibility2["NotResolved"] = 3] = "NotResolved";
|
|
6394
6206
|
return SymbolAccessibility2;
|
|
6395
6207
|
})(SymbolAccessibility || {});
|
|
6396
|
-
var SyntheticSymbolKind = /* @__PURE__ */ ((SyntheticSymbolKind2) => {
|
|
6397
|
-
SyntheticSymbolKind2[SyntheticSymbolKind2["UnionOrIntersection"] = 0] = "UnionOrIntersection";
|
|
6398
|
-
SyntheticSymbolKind2[SyntheticSymbolKind2["Spread"] = 1] = "Spread";
|
|
6399
|
-
return SyntheticSymbolKind2;
|
|
6400
|
-
})(SyntheticSymbolKind || {});
|
|
6401
6208
|
var TypePredicateKind = /* @__PURE__ */ ((TypePredicateKind2) => {
|
|
6402
6209
|
TypePredicateKind2[TypePredicateKind2["This"] = 0] = "This";
|
|
6403
6210
|
TypePredicateKind2[TypePredicateKind2["Identifier"] = 1] = "Identifier";
|
|
@@ -8454,6 +8261,7 @@ var sys = (() => {
|
|
|
8454
8261
|
writeFile: writeFile2,
|
|
8455
8262
|
watchFile: watchFile2,
|
|
8456
8263
|
watchDirectory,
|
|
8264
|
+
preferNonRecursiveWatch: !fsSupportsRecursiveFsWatch,
|
|
8457
8265
|
resolvePath: (path) => _path.resolve(path),
|
|
8458
8266
|
fileExists,
|
|
8459
8267
|
directoryExists,
|
|
@@ -15289,13 +15097,6 @@ function getJSDocTags(node) {
|
|
|
15289
15097
|
false
|
|
15290
15098
|
);
|
|
15291
15099
|
}
|
|
15292
|
-
function getJSDocTagsNoCache(node) {
|
|
15293
|
-
return getJSDocTagsWorker(
|
|
15294
|
-
node,
|
|
15295
|
-
/*noCache*/
|
|
15296
|
-
true
|
|
15297
|
-
);
|
|
15298
|
-
}
|
|
15299
15100
|
function getFirstJSDocTag(node, predicate, noCache) {
|
|
15300
15101
|
return find(getJSDocTagsWorker(node, noCache), predicate);
|
|
15301
15102
|
}
|
|
@@ -15398,9 +15199,6 @@ function isNamedExportBindings(node) {
|
|
|
15398
15199
|
function isJSDocPropertyLikeTag(node) {
|
|
15399
15200
|
return node.kind === 348 /* JSDocPropertyTag */ || node.kind === 341 /* JSDocParameterTag */;
|
|
15400
15201
|
}
|
|
15401
|
-
function isNode(node) {
|
|
15402
|
-
return isNodeKind(node.kind);
|
|
15403
|
-
}
|
|
15404
15202
|
function isNodeKind(kind) {
|
|
15405
15203
|
return kind >= 166 /* FirstNode */;
|
|
15406
15204
|
}
|
|
@@ -15612,17 +15410,6 @@ function isMethodOrAccessor(node) {
|
|
|
15612
15410
|
return false;
|
|
15613
15411
|
}
|
|
15614
15412
|
}
|
|
15615
|
-
function isNamedClassElement(node) {
|
|
15616
|
-
switch (node.kind) {
|
|
15617
|
-
case 174 /* MethodDeclaration */:
|
|
15618
|
-
case 177 /* GetAccessor */:
|
|
15619
|
-
case 178 /* SetAccessor */:
|
|
15620
|
-
case 172 /* PropertyDeclaration */:
|
|
15621
|
-
return true;
|
|
15622
|
-
default:
|
|
15623
|
-
return false;
|
|
15624
|
-
}
|
|
15625
|
-
}
|
|
15626
15413
|
function isModifierLike(node) {
|
|
15627
15414
|
return isModifier(node) || isDecorator(node);
|
|
15628
15415
|
}
|
|
@@ -15856,9 +15643,6 @@ function isAssertionExpression(node) {
|
|
|
15856
15643
|
const kind = node.kind;
|
|
15857
15644
|
return kind === 216 /* TypeAssertionExpression */ || kind === 234 /* AsExpression */;
|
|
15858
15645
|
}
|
|
15859
|
-
function isNotEmittedOrPartiallyEmittedNode(node) {
|
|
15860
|
-
return isNotEmittedStatement(node) || isPartiallyEmittedExpression(node);
|
|
15861
|
-
}
|
|
15862
15646
|
function isIterationStatement(node, lookInLabeledStatements) {
|
|
15863
15647
|
switch (node.kind) {
|
|
15864
15648
|
case 248 /* ForStatement */:
|
|
@@ -17780,15 +17564,6 @@ function isPartOfTypeNode(node) {
|
|
|
17780
17564
|
function isPartOfTypeExpressionWithTypeArguments(node) {
|
|
17781
17565
|
return isJSDocImplementsTag(node.parent) || isJSDocAugmentsTag(node.parent) || isHeritageClause(node.parent) && !isExpressionWithTypeArgumentsInClassExtendsClause(node);
|
|
17782
17566
|
}
|
|
17783
|
-
function isChildOfNodeWithKind(node, kind) {
|
|
17784
|
-
while (node) {
|
|
17785
|
-
if (node.kind === kind) {
|
|
17786
|
-
return true;
|
|
17787
|
-
}
|
|
17788
|
-
node = node.parent;
|
|
17789
|
-
}
|
|
17790
|
-
return false;
|
|
17791
|
-
}
|
|
17792
17567
|
function forEachReturnStatement(body, visitor) {
|
|
17793
17568
|
return traverse(body);
|
|
17794
17569
|
function traverse(node) {
|
|
@@ -18125,9 +17900,6 @@ function getImmediatelyInvokedFunctionExpression(func) {
|
|
|
18125
17900
|
}
|
|
18126
17901
|
}
|
|
18127
17902
|
}
|
|
18128
|
-
function isSuperOrSuperProperty(node) {
|
|
18129
|
-
return node.kind === 108 /* SuperKeyword */ || isSuperProperty(node);
|
|
18130
|
-
}
|
|
18131
17903
|
function isSuperProperty(node) {
|
|
18132
17904
|
const kind = node.kind;
|
|
18133
17905
|
return (kind === 211 /* PropertyAccessExpression */ || kind === 212 /* ElementAccessExpression */) && node.expression.kind === 108 /* SuperKeyword */;
|
|
@@ -18401,9 +18173,6 @@ function isFullSourceFile(sourceFile) {
|
|
|
18401
18173
|
function isSourceFileJS(file) {
|
|
18402
18174
|
return isInJSFile(file);
|
|
18403
18175
|
}
|
|
18404
|
-
function isSourceFileNotJS(file) {
|
|
18405
|
-
return !isInJSFile(file);
|
|
18406
|
-
}
|
|
18407
18176
|
function isInJSFile(node) {
|
|
18408
18177
|
return !!node && !!(node.flags & 524288 /* JavaScriptFile */);
|
|
18409
18178
|
}
|
|
@@ -19259,12 +19028,6 @@ function isIdentifierName(node) {
|
|
|
19259
19028
|
}
|
|
19260
19029
|
return false;
|
|
19261
19030
|
}
|
|
19262
|
-
function isAliasSymbolDeclaration(node) {
|
|
19263
|
-
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)) {
|
|
19264
|
-
return true;
|
|
19265
|
-
}
|
|
19266
|
-
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));
|
|
19267
|
-
}
|
|
19268
19031
|
function getAliasDeclarationFromName(node) {
|
|
19269
19032
|
switch (node.parent.kind) {
|
|
19270
19033
|
case 273 /* ImportClause */:
|
|
@@ -19358,17 +19121,10 @@ function isContextualKeyword(token) {
|
|
|
19358
19121
|
function isNonContextualKeyword(token) {
|
|
19359
19122
|
return isKeyword(token) && !isContextualKeyword(token);
|
|
19360
19123
|
}
|
|
19361
|
-
function isFutureReservedKeyword(token) {
|
|
19362
|
-
return 119 /* FirstFutureReservedWord */ <= token && token <= 127 /* LastFutureReservedWord */;
|
|
19363
|
-
}
|
|
19364
19124
|
function isStringANonContextualKeyword(name) {
|
|
19365
19125
|
const token = stringToToken(name);
|
|
19366
19126
|
return token !== void 0 && isNonContextualKeyword(token);
|
|
19367
19127
|
}
|
|
19368
|
-
function isStringAKeyword(name) {
|
|
19369
|
-
const token = stringToToken(name);
|
|
19370
|
-
return token !== void 0 && isKeyword(token);
|
|
19371
|
-
}
|
|
19372
19128
|
function isIdentifierANonContextualKeyword(node) {
|
|
19373
19129
|
const originalKeywordKind = identifierToKeywordKind(node);
|
|
19374
19130
|
return !!originalKeywordKind && !isContextualKeyword(originalKeywordKind);
|
|
@@ -19477,9 +19233,6 @@ function getTextOfIdentifierOrLiteral(node) {
|
|
|
19477
19233
|
function getEscapedTextOfIdentifierOrLiteral(node) {
|
|
19478
19234
|
return isMemberName(node) ? node.escapedText : isJsxNamespacedName(node) ? getEscapedTextOfJsxNamespacedName(node) : escapeLeadingUnderscores(node.text);
|
|
19479
19235
|
}
|
|
19480
|
-
function getPropertyNameForUniqueESSymbol(symbol) {
|
|
19481
|
-
return `__@${getSymbolId(symbol)}@${symbol.escapedName}`;
|
|
19482
|
-
}
|
|
19483
19236
|
function getSymbolNameForPrivateIdentifier(containingClassSymbol, description3) {
|
|
19484
19237
|
return `__#${getSymbolId(containingClassSymbol)}@${description3}`;
|
|
19485
19238
|
}
|
|
@@ -19489,9 +19242,6 @@ function isKnownSymbol(symbol) {
|
|
|
19489
19242
|
function isPrivateIdentifierSymbol(symbol) {
|
|
19490
19243
|
return startsWith(symbol.escapedName, "__#");
|
|
19491
19244
|
}
|
|
19492
|
-
function isESSymbolIdentifier(node) {
|
|
19493
|
-
return node.kind === 80 /* Identifier */ && node.escapedText === "Symbol";
|
|
19494
|
-
}
|
|
19495
19245
|
function isProtoSetter(node) {
|
|
19496
19246
|
return isIdentifier(node) ? idText(node) === "__proto__" : isStringLiteral(node) && node.text === "__proto__";
|
|
19497
19247
|
}
|
|
@@ -19581,9 +19331,6 @@ function nodeStartsNewLexicalEnvironment(node) {
|
|
|
19581
19331
|
function nodeIsSynthesized(range) {
|
|
19582
19332
|
return positionIsSynthesized(range.pos) || positionIsSynthesized(range.end);
|
|
19583
19333
|
}
|
|
19584
|
-
function getOriginalSourceFile(sourceFile) {
|
|
19585
|
-
return getParseTreeNode(sourceFile, isSourceFile) || sourceFile;
|
|
19586
|
-
}
|
|
19587
19334
|
var Associativity = /* @__PURE__ */ ((Associativity2) => {
|
|
19588
19335
|
Associativity2[Associativity2["Left"] = 0] = "Left";
|
|
19589
19336
|
Associativity2[Associativity2["Right"] = 1] = "Right";
|
|
@@ -20191,11 +19938,11 @@ function getOwnEmitOutputFilePath(fileName, host, extension) {
|
|
|
20191
19938
|
return emitOutputFilePathWithoutExtension + extension;
|
|
20192
19939
|
}
|
|
20193
19940
|
function getDeclarationEmitOutputFilePath(fileName, host) {
|
|
20194
|
-
return getDeclarationEmitOutputFilePathWorker(fileName, host.getCompilerOptions(), host
|
|
19941
|
+
return getDeclarationEmitOutputFilePathWorker(fileName, host.getCompilerOptions(), host);
|
|
20195
19942
|
}
|
|
20196
|
-
function getDeclarationEmitOutputFilePathWorker(fileName, options,
|
|
19943
|
+
function getDeclarationEmitOutputFilePathWorker(fileName, options, host) {
|
|
20197
19944
|
const outputDir = options.declarationDir || options.outDir;
|
|
20198
|
-
const path = outputDir ? getSourceFilePathInNewDirWorker(fileName, outputDir,
|
|
19945
|
+
const path = outputDir ? getSourceFilePathInNewDirWorker(fileName, outputDir, host.getCurrentDirectory(), host.getCommonSourceDirectory(), (f) => host.getCanonicalFileName(f)) : fileName;
|
|
20199
19946
|
const declarationExtension = getDeclarationEmitExtensionForPath(path);
|
|
20200
19947
|
return removeFileExtension(path) + declarationExtension;
|
|
20201
19948
|
}
|
|
@@ -20743,9 +20490,6 @@ function tryGetClassImplementingOrExtendingExpressionWithTypeArguments(node) {
|
|
|
20743
20490
|
function isAssignmentExpression(node, excludeCompoundAssignment) {
|
|
20744
20491
|
return isBinaryExpression(node) && (excludeCompoundAssignment ? node.operatorToken.kind === 64 /* EqualsToken */ : isAssignmentOperator(node.operatorToken.kind)) && isLeftHandSideExpression(node.left);
|
|
20745
20492
|
}
|
|
20746
|
-
function isLeftHandSideOfAssignment(node) {
|
|
20747
|
-
return isAssignmentExpression(node.parent) && node.parent.left === node;
|
|
20748
|
-
}
|
|
20749
20493
|
function isDestructuringAssignment(node) {
|
|
20750
20494
|
if (isAssignmentExpression(
|
|
20751
20495
|
node,
|
|
@@ -20999,9 +20743,6 @@ function moveRangePastModifiers(node) {
|
|
|
20999
20743
|
const lastModifier = canHaveModifiers(node) ? lastOrUndefined(node.modifiers) : void 0;
|
|
21000
20744
|
return lastModifier && !positionIsSynthesized(lastModifier.end) ? moveRangePos(node, lastModifier.end) : moveRangePastDecorators(node);
|
|
21001
20745
|
}
|
|
21002
|
-
function isCollapsedRange(range) {
|
|
21003
|
-
return range.pos === range.end;
|
|
21004
|
-
}
|
|
21005
20746
|
function createTokenRange(pos, token) {
|
|
21006
20747
|
return createRange(pos, pos + tokenToString(token).length);
|
|
21007
20748
|
}
|
|
@@ -21243,9 +20984,6 @@ function getClassLikeDeclarationOfSymbol(symbol) {
|
|
|
21243
20984
|
function getObjectFlags(type) {
|
|
21244
20985
|
return type.flags & 3899393 /* ObjectFlagsType */ ? type.objectFlags : 0;
|
|
21245
20986
|
}
|
|
21246
|
-
function forSomeAncestorDirectory(directory, callback) {
|
|
21247
|
-
return !!forEachAncestorDirectory(directory, (d) => callback(d) ? true : void 0);
|
|
21248
|
-
}
|
|
21249
20987
|
function isUMDExportSymbol(symbol) {
|
|
21250
20988
|
return !!symbol && !!symbol.declarations && !!symbol.declarations[0] && isNamespaceExportDeclaration(symbol.declarations[0]);
|
|
21251
20989
|
}
|
|
@@ -22780,14 +22518,6 @@ function setParent(child, parent2) {
|
|
|
22780
22518
|
}
|
|
22781
22519
|
return child;
|
|
22782
22520
|
}
|
|
22783
|
-
function setEachParent(children, parent2) {
|
|
22784
|
-
if (children) {
|
|
22785
|
-
for (const child of children) {
|
|
22786
|
-
setParent(child, parent2);
|
|
22787
|
-
}
|
|
22788
|
-
}
|
|
22789
|
-
return children;
|
|
22790
|
-
}
|
|
22791
22521
|
function setParentRecursive(rootNode, incremental) {
|
|
22792
22522
|
if (!rootNode) return rootNode;
|
|
22793
22523
|
forEachChildRecursively(rootNode, isJSDocNode(rootNode) ? bindParentToChildIgnoringJSDoc : bindParentToChild);
|
|
@@ -22990,10 +22720,6 @@ function getNodeModulePathParts(fullPath) {
|
|
|
22990
22720
|
fileNameIndex = partStart;
|
|
22991
22721
|
return state > 1 /* NodeModules */ ? { topLevelNodeModulesIndex, topLevelPackageNameIndex, packageRootIndex, fileNameIndex } : void 0;
|
|
22992
22722
|
}
|
|
22993
|
-
function getParameterTypeNode(parameter) {
|
|
22994
|
-
var _a;
|
|
22995
|
-
return parameter.kind === 341 /* JSDocParameterTag */ ? (_a = parameter.typeExpression) == null ? void 0 : _a.type : parameter.type;
|
|
22996
|
-
}
|
|
22997
22723
|
function isTypeDeclaration(node) {
|
|
22998
22724
|
switch (node.kind) {
|
|
22999
22725
|
case 168 /* TypeParameter */:
|
|
@@ -30930,17 +30656,6 @@ function createForOfBindingStatement(factory2, node, boundValue) {
|
|
|
30930
30656
|
);
|
|
30931
30657
|
}
|
|
30932
30658
|
}
|
|
30933
|
-
function insertLeadingStatement(factory2, dest, source) {
|
|
30934
|
-
if (isBlock(dest)) {
|
|
30935
|
-
return factory2.updateBlock(dest, setTextRange(factory2.createNodeArray([source, ...dest.statements]), dest.statements));
|
|
30936
|
-
} else {
|
|
30937
|
-
return factory2.createBlock(
|
|
30938
|
-
factory2.createNodeArray([dest, source]),
|
|
30939
|
-
/*multiLine*/
|
|
30940
|
-
true
|
|
30941
|
-
);
|
|
30942
|
-
}
|
|
30943
|
-
}
|
|
30944
30659
|
function createExpressionFromEntityName(factory2, node) {
|
|
30945
30660
|
if (isQualifiedName(node)) {
|
|
30946
30661
|
const left = createExpressionFromEntityName(factory2, node.left);
|
|
@@ -31205,9 +30920,6 @@ function walkUpOuterExpressions(node, kinds = 15 /* All */) {
|
|
|
31205
30920
|
}
|
|
31206
30921
|
return parent2;
|
|
31207
30922
|
}
|
|
31208
|
-
function skipAssertions(node) {
|
|
31209
|
-
return skipOuterExpressions(node, 6 /* Assertions */);
|
|
31210
|
-
}
|
|
31211
30923
|
function startOnNewLine(node) {
|
|
31212
30924
|
return setStartsOnNewLine(
|
|
31213
30925
|
node,
|
|
@@ -31513,10 +31225,6 @@ function isQuestionOrPlusOrMinusToken(node) {
|
|
|
31513
31225
|
function isModuleName(node) {
|
|
31514
31226
|
return isIdentifier(node) || isStringLiteral(node);
|
|
31515
31227
|
}
|
|
31516
|
-
function isLiteralTypeLikeExpression(node) {
|
|
31517
|
-
const kind = node.kind;
|
|
31518
|
-
return kind === 106 /* NullKeyword */ || kind === 112 /* TrueKeyword */ || kind === 97 /* FalseKeyword */ || isLiteralExpression(node) || isPrefixUnaryExpression(node);
|
|
31519
|
-
}
|
|
31520
31228
|
function isExponentiationOperator(kind) {
|
|
31521
31229
|
return kind === 43 /* AsteriskAsteriskToken */;
|
|
31522
31230
|
}
|
|
@@ -31702,10 +31410,6 @@ function isExportOrDefaultModifier(node) {
|
|
|
31702
31410
|
const kind = node.kind;
|
|
31703
31411
|
return isExportOrDefaultKeywordKind(kind);
|
|
31704
31412
|
}
|
|
31705
|
-
function isNonExportDefaultModifier(node) {
|
|
31706
|
-
const kind = node.kind;
|
|
31707
|
-
return isModifierKind(kind) && !isExportOrDefaultKeywordKind(kind);
|
|
31708
|
-
}
|
|
31709
31413
|
function elideNodes(factory2, nodes) {
|
|
31710
31414
|
if (nodes === void 0) return void 0;
|
|
31711
31415
|
if (nodes.length === 0) return nodes;
|
|
@@ -52058,9 +51762,9 @@ function createTypeChecker(host) {
|
|
|
52058
51762
|
}
|
|
52059
51763
|
}
|
|
52060
51764
|
function getDeclarationOfAliasSymbol(symbol) {
|
|
52061
|
-
return symbol.declarations && findLast(symbol.declarations,
|
|
51765
|
+
return symbol.declarations && findLast(symbol.declarations, isAliasSymbolDeclaration);
|
|
52062
51766
|
}
|
|
52063
|
-
function
|
|
51767
|
+
function isAliasSymbolDeclaration(node) {
|
|
52064
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);
|
|
52065
51769
|
}
|
|
52066
51770
|
function isAliasableOrJsExpression(e) {
|
|
@@ -57798,7 +57502,7 @@ function createTypeChecker(host) {
|
|
|
57798
57502
|
return idText(expression.name);
|
|
57799
57503
|
}
|
|
57800
57504
|
}
|
|
57801
|
-
if (
|
|
57505
|
+
if (isAliasSymbolDeclaration(d)) {
|
|
57802
57506
|
const name = getNameOfDeclaration(d);
|
|
57803
57507
|
if (name && isIdentifier(name)) {
|
|
57804
57508
|
return idText(name);
|
|
@@ -74727,7 +74431,7 @@ function createTypeChecker(host) {
|
|
|
74727
74431
|
markAliasSymbolAsReferenced(rootSymbol);
|
|
74728
74432
|
} else if (forDecoratorMetadata && getIsolatedModules(compilerOptions) && getEmitModuleKind(compilerOptions) >= 5 /* ES2015 */ && !symbolIsValue(rootSymbol) && !some(rootSymbol.declarations, isTypeOnlyImportOrExportDeclaration)) {
|
|
74729
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);
|
|
74730
|
-
const aliasDeclaration = find(rootSymbol.declarations || emptyArray,
|
|
74434
|
+
const aliasDeclaration = find(rootSymbol.declarations || emptyArray, isAliasSymbolDeclaration);
|
|
74731
74435
|
if (aliasDeclaration) {
|
|
74732
74436
|
addRelatedInfo(diag2, createDiagnosticForNode(aliasDeclaration, Diagnostics._0_was_imported_here, idText(rootName)));
|
|
74733
74437
|
}
|
|
@@ -90078,7 +89782,7 @@ function createTypeChecker(host) {
|
|
|
90078
89782
|
}
|
|
90079
89783
|
function isReferencedAliasDeclaration(node, checkChildren) {
|
|
90080
89784
|
Debug.assert(canCollectSymbolAliasAccessabilityData);
|
|
90081
|
-
if (
|
|
89785
|
+
if (isAliasSymbolDeclaration(node)) {
|
|
90082
89786
|
const symbol = getSymbolOfDeclaration(node);
|
|
90083
89787
|
const links = symbol && getSymbolLinks(symbol);
|
|
90084
89788
|
if (links == null ? void 0 : links.referenced) {
|
|
@@ -115964,17 +115668,16 @@ function createGetIsolatedDeclarationErrors(resolver) {
|
|
|
115964
115668
|
function getDeclarationDiagnostics(host, resolver, file) {
|
|
115965
115669
|
const compilerOptions = host.getCompilerOptions();
|
|
115966
115670
|
const files = filter(getSourceFilesToEmit(host, file), isSourceFileNotJson);
|
|
115967
|
-
|
|
115671
|
+
return contains(files, file) ? transformNodes(
|
|
115968
115672
|
resolver,
|
|
115969
115673
|
host,
|
|
115970
115674
|
factory,
|
|
115971
115675
|
compilerOptions,
|
|
115972
|
-
|
|
115676
|
+
[file],
|
|
115973
115677
|
[transformDeclarations],
|
|
115974
115678
|
/*allowDtsFiles*/
|
|
115975
115679
|
false
|
|
115976
|
-
);
|
|
115977
|
-
return result.diagnostics;
|
|
115680
|
+
).diagnostics : void 0;
|
|
115978
115681
|
}
|
|
115979
115682
|
var declarationEmitNodeBuilderFlags = 1024 /* MultilineObjectLiterals */ | 2048 /* WriteClassExpressionAsTypeLiteral */ | 4096 /* UseTypeOfFunction */ | 8 /* UseStructuralFallback */ | 524288 /* AllowEmptyTuple */ | 1 /* AllowUnresolvedNames */ | 4 /* GenerateNamesForShadowedTypeParams */ | 1 /* NoTruncation */;
|
|
115980
115683
|
function transformDeclarations(context) {
|
|
@@ -124331,8 +124034,8 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
|
|
|
124331
124034
|
let filesWithReferencesProcessed;
|
|
124332
124035
|
let fileReasonsToChain;
|
|
124333
124036
|
let reasonToRelatedInfo;
|
|
124334
|
-
|
|
124335
|
-
|
|
124037
|
+
let cachedBindAndCheckDiagnosticsForFile;
|
|
124038
|
+
let cachedDeclarationDiagnosticsForFile;
|
|
124336
124039
|
let fileProcessingDiagnostics;
|
|
124337
124040
|
let automaticTypeDirectiveNames;
|
|
124338
124041
|
let automaticTypeDirectiveResolutions;
|
|
@@ -125412,8 +125115,7 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
|
|
|
125412
125115
|
);
|
|
125413
125116
|
}
|
|
125414
125117
|
function getCachedSemanticDiagnostics(sourceFile) {
|
|
125415
|
-
|
|
125416
|
-
return sourceFile ? (_a2 = cachedBindAndCheckDiagnosticsForFile.perFile) == null ? void 0 : _a2.get(sourceFile.path) : cachedBindAndCheckDiagnosticsForFile.allDiagnostics;
|
|
125118
|
+
return cachedBindAndCheckDiagnosticsForFile == null ? void 0 : cachedBindAndCheckDiagnosticsForFile.get(sourceFile.path);
|
|
125417
125119
|
}
|
|
125418
125120
|
function getBindAndCheckDiagnostics(sourceFile, cancellationToken) {
|
|
125419
125121
|
return getBindAndCheckDiagnosticsForFile(
|
|
@@ -125435,12 +125137,7 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
|
|
|
125435
125137
|
return getDiagnosticsWithPrecedingDirectives(sourceFile, sourceFile.commentDirectives, programDiagnosticsInFile).diagnostics;
|
|
125436
125138
|
}
|
|
125437
125139
|
function getDeclarationDiagnostics2(sourceFile, cancellationToken) {
|
|
125438
|
-
|
|
125439
|
-
if (!sourceFile || options2.outFile) {
|
|
125440
|
-
return getDeclarationDiagnosticsWorker(sourceFile, cancellationToken);
|
|
125441
|
-
} else {
|
|
125442
|
-
return getDiagnosticsHelper(sourceFile, getDeclarationDiagnosticsForFile, cancellationToken);
|
|
125443
|
-
}
|
|
125140
|
+
return getDiagnosticsHelper(sourceFile, getDeclarationDiagnosticsForFile, cancellationToken);
|
|
125444
125141
|
}
|
|
125445
125142
|
function getSyntacticDiagnosticsForFile(sourceFile) {
|
|
125446
125143
|
if (isSourceFileJS(sourceFile)) {
|
|
@@ -125471,7 +125168,14 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
|
|
|
125471
125168
|
if (nodesToCheck) {
|
|
125472
125169
|
return getBindAndCheckDiagnosticsForFileNoCache(sourceFile, cancellationToken, nodesToCheck);
|
|
125473
125170
|
}
|
|
125474
|
-
|
|
125171
|
+
let result = cachedBindAndCheckDiagnosticsForFile == null ? void 0 : cachedBindAndCheckDiagnosticsForFile.get(sourceFile.path);
|
|
125172
|
+
if (!result) {
|
|
125173
|
+
(cachedBindAndCheckDiagnosticsForFile ?? (cachedBindAndCheckDiagnosticsForFile = /* @__PURE__ */ new Map())).set(
|
|
125174
|
+
sourceFile.path,
|
|
125175
|
+
result = getBindAndCheckDiagnosticsForFileNoCache(sourceFile, cancellationToken)
|
|
125176
|
+
);
|
|
125177
|
+
}
|
|
125178
|
+
return result;
|
|
125475
125179
|
}
|
|
125476
125180
|
function getBindAndCheckDiagnosticsForFileNoCache(sourceFile, cancellationToken, nodesToCheck) {
|
|
125477
125181
|
return runWithCancellationToken(() => {
|
|
@@ -125759,7 +125463,14 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
|
|
|
125759
125463
|
});
|
|
125760
125464
|
}
|
|
125761
125465
|
function getDeclarationDiagnosticsWorker(sourceFile, cancellationToken) {
|
|
125762
|
-
|
|
125466
|
+
let result = cachedDeclarationDiagnosticsForFile == null ? void 0 : cachedDeclarationDiagnosticsForFile.get(sourceFile.path);
|
|
125467
|
+
if (!result) {
|
|
125468
|
+
(cachedDeclarationDiagnosticsForFile ?? (cachedDeclarationDiagnosticsForFile = /* @__PURE__ */ new Map())).set(
|
|
125469
|
+
sourceFile.path,
|
|
125470
|
+
result = getDeclarationDiagnosticsForFileNoCache(sourceFile, cancellationToken)
|
|
125471
|
+
);
|
|
125472
|
+
}
|
|
125473
|
+
return result;
|
|
125763
125474
|
}
|
|
125764
125475
|
function getDeclarationDiagnosticsForFileNoCache(sourceFile, cancellationToken) {
|
|
125765
125476
|
return runWithCancellationToken(() => {
|
|
@@ -125767,22 +125478,8 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
|
|
|
125767
125478
|
return getDeclarationDiagnostics(getEmitHost(noop), resolver, sourceFile) || emptyArray;
|
|
125768
125479
|
});
|
|
125769
125480
|
}
|
|
125770
|
-
function getAndCacheDiagnostics(sourceFile, cancellationToken, cache, getDiagnostics2) {
|
|
125771
|
-
var _a2;
|
|
125772
|
-
const cachedResult = sourceFile ? (_a2 = cache.perFile) == null ? void 0 : _a2.get(sourceFile.path) : cache.allDiagnostics;
|
|
125773
|
-
if (cachedResult) {
|
|
125774
|
-
return cachedResult;
|
|
125775
|
-
}
|
|
125776
|
-
const result = getDiagnostics2(sourceFile, cancellationToken);
|
|
125777
|
-
if (sourceFile) {
|
|
125778
|
-
(cache.perFile || (cache.perFile = /* @__PURE__ */ new Map())).set(sourceFile.path, result);
|
|
125779
|
-
} else {
|
|
125780
|
-
cache.allDiagnostics = result;
|
|
125781
|
-
}
|
|
125782
|
-
return result;
|
|
125783
|
-
}
|
|
125784
125481
|
function getDeclarationDiagnosticsForFile(sourceFile, cancellationToken) {
|
|
125785
|
-
return sourceFile.isDeclarationFile ?
|
|
125482
|
+
return sourceFile.isDeclarationFile ? emptyArray : getDeclarationDiagnosticsWorker(sourceFile, cancellationToken);
|
|
125786
125483
|
}
|
|
125787
125484
|
function getOptionsDiagnostics() {
|
|
125788
125485
|
return sortAndDeduplicateDiagnostics(concatenate(
|
|
@@ -126730,7 +126427,8 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
|
|
|
126730
126427
|
if (options.outDir || // there is --outDir specified
|
|
126731
126428
|
options.rootDir || // there is --rootDir specified
|
|
126732
126429
|
options.sourceRoot || // there is --sourceRoot specified
|
|
126733
|
-
options.mapRoot
|
|
126430
|
+
options.mapRoot || // there is --mapRoot specified
|
|
126431
|
+
getEmitDeclarations(options) && options.declarationDir) {
|
|
126734
126432
|
const dir = getCommonSourceDirectory2();
|
|
126735
126433
|
if (options.outDir && dir === "" && files.some((file) => getRootLength(file.fileName) > 1)) {
|
|
126736
126434
|
createDiagnosticForOptionName(Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files, "outDir");
|
|
@@ -126743,14 +126441,6 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
|
|
|
126743
126441
|
if (!getEmitDeclarations(options)) {
|
|
126744
126442
|
createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2, "emitDeclarationOnly", "declaration", "composite");
|
|
126745
126443
|
}
|
|
126746
|
-
if (options.noEmit) {
|
|
126747
|
-
createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, "emitDeclarationOnly", "noEmit");
|
|
126748
|
-
}
|
|
126749
|
-
}
|
|
126750
|
-
if (options.noCheck) {
|
|
126751
|
-
if (options.noEmit) {
|
|
126752
|
-
createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, "noCheck", "noEmit");
|
|
126753
|
-
}
|
|
126754
126444
|
}
|
|
126755
126445
|
if (options.emitDecoratorMetadata && !options.experimentalDecorators) {
|
|
126756
126446
|
createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1, "emitDecoratorMetadata", "experimentalDecorators");
|
|
@@ -127487,7 +127177,6 @@ var emitSkippedWithNoDiagnostics = { diagnostics: emptyArray, sourceMaps: void 0
|
|
|
127487
127177
|
function handleNoEmitOptions(program, sourceFile, writeFile2, cancellationToken) {
|
|
127488
127178
|
const options = program.getCompilerOptions();
|
|
127489
127179
|
if (options.noEmit) {
|
|
127490
|
-
program.getSemanticDiagnostics(sourceFile, cancellationToken);
|
|
127491
127180
|
return sourceFile ? emitSkippedWithNoDiagnostics : program.emitBuildInfo(writeFile2, cancellationToken);
|
|
127492
127181
|
}
|
|
127493
127182
|
if (!options.noEmitOnError) return void 0;
|
|
@@ -127972,11 +127661,14 @@ var BuilderFileEmit = /* @__PURE__ */ ((BuilderFileEmit2) => {
|
|
|
127972
127661
|
BuilderFileEmit2[BuilderFileEmit2["Js"] = 1] = "Js";
|
|
127973
127662
|
BuilderFileEmit2[BuilderFileEmit2["JsMap"] = 2] = "JsMap";
|
|
127974
127663
|
BuilderFileEmit2[BuilderFileEmit2["JsInlineMap"] = 4] = "JsInlineMap";
|
|
127975
|
-
BuilderFileEmit2[BuilderFileEmit2["
|
|
127976
|
-
BuilderFileEmit2[BuilderFileEmit2["
|
|
127664
|
+
BuilderFileEmit2[BuilderFileEmit2["DtsErrors"] = 8] = "DtsErrors";
|
|
127665
|
+
BuilderFileEmit2[BuilderFileEmit2["DtsEmit"] = 16] = "DtsEmit";
|
|
127666
|
+
BuilderFileEmit2[BuilderFileEmit2["DtsMap"] = 32] = "DtsMap";
|
|
127667
|
+
BuilderFileEmit2[BuilderFileEmit2["Dts"] = 24] = "Dts";
|
|
127977
127668
|
BuilderFileEmit2[BuilderFileEmit2["AllJs"] = 7] = "AllJs";
|
|
127978
|
-
BuilderFileEmit2[BuilderFileEmit2["
|
|
127979
|
-
BuilderFileEmit2[BuilderFileEmit2["
|
|
127669
|
+
BuilderFileEmit2[BuilderFileEmit2["AllDtsEmit"] = 48] = "AllDtsEmit";
|
|
127670
|
+
BuilderFileEmit2[BuilderFileEmit2["AllDts"] = 56] = "AllDts";
|
|
127671
|
+
BuilderFileEmit2[BuilderFileEmit2["All"] = 63] = "All";
|
|
127980
127672
|
return BuilderFileEmit2;
|
|
127981
127673
|
})(BuilderFileEmit || {});
|
|
127982
127674
|
function isBuilderProgramStateWithDefinedProgram(state) {
|
|
@@ -127990,9 +127682,9 @@ function getBuilderFileEmit(options) {
|
|
|
127990
127682
|
let result = 1 /* Js */;
|
|
127991
127683
|
if (options.sourceMap) result = result | 2 /* JsMap */;
|
|
127992
127684
|
if (options.inlineSourceMap) result = result | 4 /* JsInlineMap */;
|
|
127993
|
-
if (getEmitDeclarations(options)) result = result |
|
|
127994
|
-
if (options.declarationMap) result = result |
|
|
127995
|
-
if (options.emitDeclarationOnly) result = result &
|
|
127685
|
+
if (getEmitDeclarations(options)) result = result | 24 /* Dts */;
|
|
127686
|
+
if (options.declarationMap) result = result | 32 /* DtsMap */;
|
|
127687
|
+
if (options.emitDeclarationOnly) result = result & 56 /* AllDts */;
|
|
127996
127688
|
return result;
|
|
127997
127689
|
}
|
|
127998
127690
|
function getPendingEmitKind(optionsOrEmitKind, oldOptionsOrEmitKind) {
|
|
@@ -128003,7 +127695,8 @@ function getPendingEmitKind(optionsOrEmitKind, oldOptionsOrEmitKind) {
|
|
|
128003
127695
|
const diff = oldEmitKind ^ emitKind;
|
|
128004
127696
|
let result = 0 /* None */;
|
|
128005
127697
|
if (diff & 7 /* AllJs */) result = emitKind & 7 /* AllJs */;
|
|
128006
|
-
if (diff &
|
|
127698
|
+
if (diff & 8 /* DtsErrors */) result = result | emitKind & 8 /* DtsErrors */;
|
|
127699
|
+
if (diff & 48 /* AllDtsEmit */) result = result | emitKind & 48 /* AllDtsEmit */;
|
|
128007
127700
|
return result;
|
|
128008
127701
|
}
|
|
128009
127702
|
function hasSameKeys(map1, map2) {
|
|
@@ -128257,25 +127950,34 @@ function getNextAffectedFile(state, cancellationToken, host) {
|
|
|
128257
127950
|
if (!state.seenAffectedFiles) state.seenAffectedFiles = /* @__PURE__ */ new Set();
|
|
128258
127951
|
}
|
|
128259
127952
|
}
|
|
128260
|
-
function clearAffectedFilesPendingEmit(state, emitOnlyDtsFiles) {
|
|
127953
|
+
function clearAffectedFilesPendingEmit(state, emitOnlyDtsFiles, isForDtsErrors) {
|
|
128261
127954
|
var _a, _b;
|
|
128262
127955
|
if (!((_a = state.affectedFilesPendingEmit) == null ? void 0 : _a.size) && !state.programEmitPending) return;
|
|
128263
|
-
if (!emitOnlyDtsFiles) {
|
|
127956
|
+
if (!emitOnlyDtsFiles && !isForDtsErrors) {
|
|
128264
127957
|
state.affectedFilesPendingEmit = void 0;
|
|
128265
127958
|
state.programEmitPending = void 0;
|
|
128266
127959
|
}
|
|
128267
127960
|
(_b = state.affectedFilesPendingEmit) == null ? void 0 : _b.forEach((emitKind, path) => {
|
|
128268
|
-
const pending = emitKind & 7 /* AllJs
|
|
127961
|
+
const pending = !isForDtsErrors ? emitKind & 7 /* AllJs */ : emitKind & (7 /* AllJs */ | 48 /* AllDtsEmit */);
|
|
128269
127962
|
if (!pending) state.affectedFilesPendingEmit.delete(path);
|
|
128270
127963
|
else state.affectedFilesPendingEmit.set(path, pending);
|
|
128271
127964
|
});
|
|
128272
127965
|
if (state.programEmitPending) {
|
|
128273
|
-
const pending = state.programEmitPending & 7 /* AllJs
|
|
127966
|
+
const pending = !isForDtsErrors ? state.programEmitPending & 7 /* AllJs */ : state.programEmitPending & (7 /* AllJs */ | 48 /* AllDtsEmit */);
|
|
128274
127967
|
if (!pending) state.programEmitPending = void 0;
|
|
128275
127968
|
else state.programEmitPending = pending;
|
|
128276
127969
|
}
|
|
128277
127970
|
}
|
|
128278
|
-
function
|
|
127971
|
+
function getPendingEmitKindWithSeen(optionsOrEmitKind, seenOldOptionsOrEmitKind, emitOnlyDtsFiles, isForDtsErrors) {
|
|
127972
|
+
let pendingKind = getPendingEmitKind(optionsOrEmitKind, seenOldOptionsOrEmitKind);
|
|
127973
|
+
if (emitOnlyDtsFiles) pendingKind = pendingKind & 56 /* AllDts */;
|
|
127974
|
+
if (isForDtsErrors) pendingKind = pendingKind & 8 /* DtsErrors */;
|
|
127975
|
+
return pendingKind;
|
|
127976
|
+
}
|
|
127977
|
+
function getBuilderFileEmitAllDts(isForDtsErrors) {
|
|
127978
|
+
return !isForDtsErrors ? 56 /* AllDts */ : 8 /* DtsErrors */;
|
|
127979
|
+
}
|
|
127980
|
+
function getNextAffectedFilePendingEmit(state, emitOnlyDtsFiles, isForDtsErrors) {
|
|
128279
127981
|
var _a;
|
|
128280
127982
|
if (!((_a = state.affectedFilesPendingEmit) == null ? void 0 : _a.size)) return void 0;
|
|
128281
127983
|
return forEachEntry(state.affectedFilesPendingEmit, (emitKind, path) => {
|
|
@@ -128286,12 +127988,16 @@ function getNextAffectedFilePendingEmit(state, emitOnlyDtsFiles) {
|
|
|
128286
127988
|
return void 0;
|
|
128287
127989
|
}
|
|
128288
127990
|
const seenKind = (_a2 = state.seenEmittedFiles) == null ? void 0 : _a2.get(affectedFile.resolvedPath);
|
|
128289
|
-
|
|
128290
|
-
|
|
127991
|
+
const pendingKind = getPendingEmitKindWithSeen(
|
|
127992
|
+
emitKind,
|
|
127993
|
+
seenKind,
|
|
127994
|
+
emitOnlyDtsFiles,
|
|
127995
|
+
isForDtsErrors
|
|
127996
|
+
);
|
|
128291
127997
|
if (pendingKind) return { affectedFile, emitKind: pendingKind };
|
|
128292
127998
|
});
|
|
128293
127999
|
}
|
|
128294
|
-
function getNextPendingEmitDiagnosticsFile(state) {
|
|
128000
|
+
function getNextPendingEmitDiagnosticsFile(state, isForDtsErrors) {
|
|
128295
128001
|
var _a;
|
|
128296
128002
|
if (!((_a = state.emitDiagnosticsPerFile) == null ? void 0 : _a.size)) return void 0;
|
|
128297
128003
|
return forEachEntry(state.emitDiagnosticsPerFile, (diagnostics, path) => {
|
|
@@ -128302,7 +128008,7 @@ function getNextPendingEmitDiagnosticsFile(state) {
|
|
|
128302
128008
|
return void 0;
|
|
128303
128009
|
}
|
|
128304
128010
|
const seenKind = ((_a2 = state.seenEmittedFiles) == null ? void 0 : _a2.get(affectedFile.resolvedPath)) || 0 /* None */;
|
|
128305
|
-
if (!(seenKind &
|
|
128011
|
+
if (!(seenKind & getBuilderFileEmitAllDts(isForDtsErrors))) return { affectedFile, diagnostics, seenKind };
|
|
128306
128012
|
});
|
|
128307
128013
|
}
|
|
128308
128014
|
function removeDiagnosticsOfLibraryFiles(state) {
|
|
@@ -128357,7 +128063,7 @@ function handleDtsMayChangeOf(state, path, invalidateJsFiles, cancellationToken,
|
|
|
128357
128063
|
addToAffectedFilesPendingEmit(
|
|
128358
128064
|
state,
|
|
128359
128065
|
path,
|
|
128360
|
-
state.compilerOptions.declarationMap ?
|
|
128066
|
+
state.compilerOptions.declarationMap ? 56 /* AllDts */ : 24 /* Dts */
|
|
128361
128067
|
);
|
|
128362
128068
|
}
|
|
128363
128069
|
}
|
|
@@ -128557,8 +128263,9 @@ function getBuildInfo2(state) {
|
|
|
128557
128263
|
root,
|
|
128558
128264
|
resolvedRoot: toResolvedRoot(),
|
|
128559
128265
|
options: toIncrementalBuildInfoCompilerOptions(state.compilerOptions),
|
|
128560
|
-
semanticDiagnosticsPerFile: toIncrementalBuildInfoDiagnostics(),
|
|
128266
|
+
semanticDiagnosticsPerFile: !state.changedFilesSet.size ? toIncrementalBuildInfoDiagnostics() : void 0,
|
|
128561
128267
|
emitDiagnosticsPerFile: toIncrementalBuildInfoEmitDiagnostics(),
|
|
128268
|
+
changeFileSet: toChangeFileSet(),
|
|
128562
128269
|
outSignature: state.outSignature,
|
|
128563
128270
|
latestChangedDtsFile,
|
|
128564
128271
|
pendingEmit: !state.programEmitPending ? void 0 : (
|
|
@@ -128642,7 +128349,7 @@ function getBuildInfo2(state) {
|
|
|
128642
128349
|
affectedFilesPendingEmit,
|
|
128643
128350
|
pendingEmit === fullEmitForOptions ? fileId : (
|
|
128644
128351
|
// Pending full emit per options
|
|
128645
|
-
pendingEmit ===
|
|
128352
|
+
pendingEmit === 24 /* Dts */ ? [fileId] : (
|
|
128646
128353
|
// Pending on Dts only
|
|
128647
128354
|
[fileId, pendingEmit]
|
|
128648
128355
|
)
|
|
@@ -128662,6 +128369,7 @@ function getBuildInfo2(state) {
|
|
|
128662
128369
|
referencedMap,
|
|
128663
128370
|
semanticDiagnosticsPerFile,
|
|
128664
128371
|
emitDiagnosticsPerFile: toIncrementalBuildInfoEmitDiagnostics(),
|
|
128372
|
+
changeFileSet: toChangeFileSet(),
|
|
128665
128373
|
affectedFilesPendingEmit,
|
|
128666
128374
|
emitSignatures,
|
|
128667
128375
|
latestChangedDtsFile,
|
|
@@ -128750,7 +128458,7 @@ function getBuildInfo2(state) {
|
|
|
128750
128458
|
state.fileInfos.forEach((_value, key) => {
|
|
128751
128459
|
const value = state.semanticDiagnosticsPerFile.get(key);
|
|
128752
128460
|
if (!value) {
|
|
128753
|
-
result = append(result, toFileId(key));
|
|
128461
|
+
if (!state.changedFilesSet.has(key)) result = append(result, toFileId(key));
|
|
128754
128462
|
} else if (value.length) {
|
|
128755
128463
|
result = append(result, [
|
|
128756
128464
|
toFileId(key),
|
|
@@ -128817,6 +128525,15 @@ function getBuildInfo2(state) {
|
|
|
128817
128525
|
return result;
|
|
128818
128526
|
}) || array;
|
|
128819
128527
|
}
|
|
128528
|
+
function toChangeFileSet() {
|
|
128529
|
+
let changeFileSet;
|
|
128530
|
+
if (state.changedFilesSet.size) {
|
|
128531
|
+
for (const path of arrayFrom(state.changedFilesSet.keys()).sort(compareStringsCaseSensitive)) {
|
|
128532
|
+
changeFileSet = append(changeFileSet, toFileId(path));
|
|
128533
|
+
}
|
|
128534
|
+
}
|
|
128535
|
+
return changeFileSet;
|
|
128536
|
+
}
|
|
128820
128537
|
}
|
|
128821
128538
|
var BuilderProgramKind = /* @__PURE__ */ ((BuilderProgramKind2) => {
|
|
128822
128539
|
BuilderProgramKind2[BuilderProgramKind2["SemanticDiagnosticsBuilderProgram"] = 0] = "SemanticDiagnosticsBuilderProgram";
|
|
@@ -128900,6 +128617,7 @@ function createBuilderProgram(kind, { newProgram, host, oldProgram, configFilePa
|
|
|
128900
128617
|
sourceFile
|
|
128901
128618
|
);
|
|
128902
128619
|
builderProgram.getSemanticDiagnostics = getSemanticDiagnostics;
|
|
128620
|
+
builderProgram.getDeclarationDiagnostics = getDeclarationDiagnostics2;
|
|
128903
128621
|
builderProgram.emit = emit;
|
|
128904
128622
|
builderProgram.releaseProgram = () => releaseCache(state);
|
|
128905
128623
|
if (kind === 0 /* SemanticDiagnosticsBuilderProgram */) {
|
|
@@ -128924,21 +128642,31 @@ function createBuilderProgram(kind, { newProgram, host, oldProgram, configFilePa
|
|
|
128924
128642
|
}
|
|
128925
128643
|
return emitSkippedWithNoDiagnostics;
|
|
128926
128644
|
}
|
|
128927
|
-
function
|
|
128645
|
+
function emitNextAffectedFileOrDtsErrors(writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers, isForDtsErrors) {
|
|
128928
128646
|
var _a, _b, _c, _d;
|
|
128929
128647
|
Debug.assert(isBuilderProgramStateWithDefinedProgram(state));
|
|
128930
128648
|
let affected = getNextAffectedFile(state, cancellationToken, host);
|
|
128931
128649
|
const programEmitKind = getBuilderFileEmit(state.compilerOptions);
|
|
128932
|
-
let emitKind = emitOnlyDtsFiles ? programEmitKind &
|
|
128650
|
+
let emitKind = !isForDtsErrors ? emitOnlyDtsFiles ? programEmitKind & 56 /* AllDts */ : programEmitKind : 8 /* DtsErrors */;
|
|
128933
128651
|
if (!affected) {
|
|
128934
128652
|
if (!state.compilerOptions.outFile) {
|
|
128935
|
-
const pendingAffectedFile = getNextAffectedFilePendingEmit(
|
|
128653
|
+
const pendingAffectedFile = getNextAffectedFilePendingEmit(
|
|
128654
|
+
state,
|
|
128655
|
+
emitOnlyDtsFiles,
|
|
128656
|
+
isForDtsErrors
|
|
128657
|
+
);
|
|
128936
128658
|
if (pendingAffectedFile) {
|
|
128937
128659
|
({ affectedFile: affected, emitKind } = pendingAffectedFile);
|
|
128938
128660
|
} else {
|
|
128939
|
-
const pendingForDiagnostics = getNextPendingEmitDiagnosticsFile(
|
|
128661
|
+
const pendingForDiagnostics = getNextPendingEmitDiagnosticsFile(
|
|
128662
|
+
state,
|
|
128663
|
+
isForDtsErrors
|
|
128664
|
+
);
|
|
128940
128665
|
if (pendingForDiagnostics) {
|
|
128941
|
-
(state.seenEmittedFiles ?? (state.seenEmittedFiles = /* @__PURE__ */ new Map())).set(
|
|
128666
|
+
(state.seenEmittedFiles ?? (state.seenEmittedFiles = /* @__PURE__ */ new Map())).set(
|
|
128667
|
+
pendingForDiagnostics.affectedFile.resolvedPath,
|
|
128668
|
+
pendingForDiagnostics.seenKind | getBuilderFileEmitAllDts(isForDtsErrors)
|
|
128669
|
+
);
|
|
128942
128670
|
return {
|
|
128943
128671
|
result: { emitSkipped: true, diagnostics: pendingForDiagnostics.diagnostics },
|
|
128944
128672
|
affected: pendingForDiagnostics.affectedFile
|
|
@@ -128947,14 +128675,18 @@ function createBuilderProgram(kind, { newProgram, host, oldProgram, configFilePa
|
|
|
128947
128675
|
}
|
|
128948
128676
|
} else {
|
|
128949
128677
|
if (state.programEmitPending) {
|
|
128950
|
-
emitKind =
|
|
128951
|
-
|
|
128678
|
+
emitKind = getPendingEmitKindWithSeen(
|
|
128679
|
+
state.programEmitPending,
|
|
128680
|
+
state.seenProgramEmit,
|
|
128681
|
+
emitOnlyDtsFiles,
|
|
128682
|
+
isForDtsErrors
|
|
128683
|
+
);
|
|
128952
128684
|
if (emitKind) affected = state.program;
|
|
128953
128685
|
}
|
|
128954
128686
|
if (!affected && ((_a = state.emitDiagnosticsPerFile) == null ? void 0 : _a.size)) {
|
|
128955
128687
|
const seenKind = state.seenProgramEmit || 0 /* None */;
|
|
128956
|
-
if (!(seenKind &
|
|
128957
|
-
state.seenProgramEmit =
|
|
128688
|
+
if (!(seenKind & getBuilderFileEmitAllDts(isForDtsErrors))) {
|
|
128689
|
+
state.seenProgramEmit = getBuilderFileEmitAllDts(isForDtsErrors) | seenKind;
|
|
128958
128690
|
const diagnostics = [];
|
|
128959
128691
|
state.emitDiagnosticsPerFile.forEach((d) => addRange(diagnostics, d));
|
|
128960
128692
|
return {
|
|
@@ -128965,7 +128697,7 @@ function createBuilderProgram(kind, { newProgram, host, oldProgram, configFilePa
|
|
|
128965
128697
|
}
|
|
128966
128698
|
}
|
|
128967
128699
|
if (!affected) {
|
|
128968
|
-
if (!getBuildInfoEmitPending(state)) return void 0;
|
|
128700
|
+
if (isForDtsErrors || !getBuildInfoEmitPending(state)) return void 0;
|
|
128969
128701
|
const affected2 = state.program;
|
|
128970
128702
|
const result2 = affected2.emitBuildInfo(
|
|
128971
128703
|
writeFile2 || maybeBind(host, host.writeFile),
|
|
@@ -128977,8 +128709,8 @@ function createBuilderProgram(kind, { newProgram, host, oldProgram, configFilePa
|
|
|
128977
128709
|
}
|
|
128978
128710
|
let emitOnly;
|
|
128979
128711
|
if (emitKind & 7 /* AllJs */) emitOnly = 0 /* Js */;
|
|
128980
|
-
if (emitKind &
|
|
128981
|
-
const result = state.program.emit(
|
|
128712
|
+
if (emitKind & 56 /* AllDts */) emitOnly = emitOnly === void 0 ? 1 /* Dts */ : void 0;
|
|
128713
|
+
const result = !isForDtsErrors ? state.program.emit(
|
|
128982
128714
|
affected === state.program ? void 0 : affected,
|
|
128983
128715
|
getWriteFileCallback(writeFile2, customTransformers),
|
|
128984
128716
|
cancellationToken,
|
|
@@ -128988,7 +128720,13 @@ function createBuilderProgram(kind, { newProgram, host, oldProgram, configFilePa
|
|
|
128988
128720
|
void 0,
|
|
128989
128721
|
/*skipBuildInfo*/
|
|
128990
128722
|
true
|
|
128991
|
-
)
|
|
128723
|
+
) : {
|
|
128724
|
+
emitSkipped: true,
|
|
128725
|
+
diagnostics: state.program.getDeclarationDiagnostics(
|
|
128726
|
+
affected === state.program ? void 0 : affected,
|
|
128727
|
+
cancellationToken
|
|
128728
|
+
)
|
|
128729
|
+
};
|
|
128992
128730
|
if (affected !== state.program) {
|
|
128993
128731
|
const affectedSourceFile = affected;
|
|
128994
128732
|
state.seenAffectedFiles.add(affectedSourceFile.resolvedPath);
|
|
@@ -129005,18 +128743,31 @@ function createBuilderProgram(kind, { newProgram, host, oldProgram, configFilePa
|
|
|
129005
128743
|
state.changedFilesSet.clear();
|
|
129006
128744
|
state.programEmitPending = state.changedFilesSet.size ? getPendingEmitKind(programEmitKind, emitKind) : state.programEmitPending ? getPendingEmitKind(state.programEmitPending, emitKind) : void 0;
|
|
129007
128745
|
state.seenProgramEmit = emitKind | (state.seenProgramEmit || 0 /* None */);
|
|
129008
|
-
|
|
129009
|
-
result.diagnostics.forEach((d) => {
|
|
129010
|
-
if (!d.file) return;
|
|
129011
|
-
let diagnostics = emitDiagnosticsPerFile == null ? void 0 : emitDiagnosticsPerFile.get(d.file.resolvedPath);
|
|
129012
|
-
if (!diagnostics) (emitDiagnosticsPerFile ?? (emitDiagnosticsPerFile = /* @__PURE__ */ new Map())).set(d.file.resolvedPath, diagnostics = []);
|
|
129013
|
-
diagnostics.push(d);
|
|
129014
|
-
});
|
|
129015
|
-
if (emitDiagnosticsPerFile) state.emitDiagnosticsPerFile = emitDiagnosticsPerFile;
|
|
128746
|
+
setEmitDiagnosticsPerFile(result.diagnostics);
|
|
129016
128747
|
state.buildInfoEmitPending = true;
|
|
129017
128748
|
}
|
|
129018
128749
|
return { result, affected };
|
|
129019
128750
|
}
|
|
128751
|
+
function setEmitDiagnosticsPerFile(diagnostics) {
|
|
128752
|
+
let emitDiagnosticsPerFile;
|
|
128753
|
+
diagnostics.forEach((d) => {
|
|
128754
|
+
if (!d.file) return;
|
|
128755
|
+
let diagnostics2 = emitDiagnosticsPerFile == null ? void 0 : emitDiagnosticsPerFile.get(d.file.resolvedPath);
|
|
128756
|
+
if (!diagnostics2) (emitDiagnosticsPerFile ?? (emitDiagnosticsPerFile = /* @__PURE__ */ new Map())).set(d.file.resolvedPath, diagnostics2 = []);
|
|
128757
|
+
diagnostics2.push(d);
|
|
128758
|
+
});
|
|
128759
|
+
if (emitDiagnosticsPerFile) state.emitDiagnosticsPerFile = emitDiagnosticsPerFile;
|
|
128760
|
+
}
|
|
128761
|
+
function emitNextAffectedFile(writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers) {
|
|
128762
|
+
return emitNextAffectedFileOrDtsErrors(
|
|
128763
|
+
writeFile2,
|
|
128764
|
+
cancellationToken,
|
|
128765
|
+
emitOnlyDtsFiles,
|
|
128766
|
+
customTransformers,
|
|
128767
|
+
/*isForDtsErrors*/
|
|
128768
|
+
false
|
|
128769
|
+
);
|
|
128770
|
+
}
|
|
129020
128771
|
function getWriteFileCallback(writeFile2, customTransformers) {
|
|
129021
128772
|
Debug.assert(isBuilderProgramStateWithDefinedProgram(state));
|
|
129022
128773
|
if (!getEmitDeclarations(state.compilerOptions)) return writeFile2 || maybeBind(host, host.writeFile);
|
|
@@ -129116,16 +128867,69 @@ function createBuilderProgram(kind, { newProgram, host, oldProgram, configFilePa
|
|
|
129116
128867
|
sourceMaps
|
|
129117
128868
|
};
|
|
129118
128869
|
} else {
|
|
129119
|
-
clearAffectedFilesPendingEmit(
|
|
128870
|
+
clearAffectedFilesPendingEmit(
|
|
128871
|
+
state,
|
|
128872
|
+
emitOnlyDtsFiles,
|
|
128873
|
+
/*isForDtsErrors*/
|
|
128874
|
+
false
|
|
128875
|
+
);
|
|
129120
128876
|
}
|
|
129121
128877
|
}
|
|
129122
|
-
|
|
128878
|
+
const emitResult = state.program.emit(
|
|
129123
128879
|
targetSourceFile,
|
|
129124
128880
|
getWriteFileCallback(writeFile2, customTransformers),
|
|
129125
128881
|
cancellationToken,
|
|
129126
128882
|
emitOnlyDtsFiles,
|
|
129127
128883
|
customTransformers
|
|
129128
128884
|
);
|
|
128885
|
+
handleNonEmitBuilderWithEmitOrDtsErrors(
|
|
128886
|
+
targetSourceFile,
|
|
128887
|
+
emitOnlyDtsFiles,
|
|
128888
|
+
/*isForDtsErrors*/
|
|
128889
|
+
false,
|
|
128890
|
+
emitResult.diagnostics
|
|
128891
|
+
);
|
|
128892
|
+
return emitResult;
|
|
128893
|
+
}
|
|
128894
|
+
function handleNonEmitBuilderWithEmitOrDtsErrors(targetSourceFile, emitOnlyDtsFiles, isForDtsErrors, diagnostics) {
|
|
128895
|
+
if (!targetSourceFile && kind !== 1 /* EmitAndSemanticDiagnosticsBuilderProgram */) {
|
|
128896
|
+
clearAffectedFilesPendingEmit(state, emitOnlyDtsFiles, isForDtsErrors);
|
|
128897
|
+
setEmitDiagnosticsPerFile(diagnostics);
|
|
128898
|
+
}
|
|
128899
|
+
}
|
|
128900
|
+
function getDeclarationDiagnostics2(sourceFile, cancellationToken) {
|
|
128901
|
+
var _a;
|
|
128902
|
+
Debug.assert(isBuilderProgramStateWithDefinedProgram(state));
|
|
128903
|
+
if (kind === 1 /* EmitAndSemanticDiagnosticsBuilderProgram */) {
|
|
128904
|
+
assertSourceFileOkWithoutNextAffectedCall(state, sourceFile);
|
|
128905
|
+
let affectedEmitResult;
|
|
128906
|
+
let diagnostics;
|
|
128907
|
+
while (affectedEmitResult = emitNextAffectedFileOrDtsErrors(
|
|
128908
|
+
/*writeFile*/
|
|
128909
|
+
void 0,
|
|
128910
|
+
cancellationToken,
|
|
128911
|
+
/*emitOnlyDtsFiles*/
|
|
128912
|
+
void 0,
|
|
128913
|
+
/*customTransformers*/
|
|
128914
|
+
void 0,
|
|
128915
|
+
/*isForDtsErrors*/
|
|
128916
|
+
true
|
|
128917
|
+
)) {
|
|
128918
|
+
if (!sourceFile) diagnostics = addRange(diagnostics, affectedEmitResult.result.diagnostics);
|
|
128919
|
+
}
|
|
128920
|
+
return (!sourceFile ? diagnostics : (_a = state.emitDiagnosticsPerFile) == null ? void 0 : _a.get(sourceFile.resolvedPath)) || emptyArray;
|
|
128921
|
+
} else {
|
|
128922
|
+
const result = state.program.getDeclarationDiagnostics(sourceFile, cancellationToken);
|
|
128923
|
+
handleNonEmitBuilderWithEmitOrDtsErrors(
|
|
128924
|
+
sourceFile,
|
|
128925
|
+
/*emitOnlyDtsFiles*/
|
|
128926
|
+
void 0,
|
|
128927
|
+
/*isForDtsErrors*/
|
|
128928
|
+
true,
|
|
128929
|
+
result
|
|
128930
|
+
);
|
|
128931
|
+
return result;
|
|
128932
|
+
}
|
|
129129
128933
|
}
|
|
129130
128934
|
function getSemanticDiagnosticsOfNextAffectedFile(cancellationToken, ignoreSourceFile) {
|
|
129131
128935
|
Debug.assert(isBuilderProgramStateWithDefinedProgram(state));
|
|
@@ -129203,7 +129007,7 @@ function toBuilderStateFileInfoForMultiEmit(fileInfo) {
|
|
|
129203
129007
|
return isString(fileInfo) ? { version: fileInfo, signature: fileInfo, affectsGlobalScope: void 0, impliedFormat: void 0 } : isString(fileInfo.signature) ? fileInfo : { version: fileInfo.version, signature: fileInfo.signature === false ? void 0 : fileInfo.version, affectsGlobalScope: fileInfo.affectsGlobalScope, impliedFormat: fileInfo.impliedFormat };
|
|
129204
129008
|
}
|
|
129205
129009
|
function toBuilderFileEmit(value, fullEmitForOptions) {
|
|
129206
|
-
return isNumber(value) ? fullEmitForOptions : value[1] ||
|
|
129010
|
+
return isNumber(value) ? fullEmitForOptions : value[1] || 24 /* Dts */;
|
|
129207
129011
|
}
|
|
129208
129012
|
function toProgramEmitPending(value, options) {
|
|
129209
129013
|
return !value ? getBuilderFileEmit(options || {}) : value;
|
|
@@ -129217,6 +129021,7 @@ function createBuilderProgramUsingIncrementalBuildInfo(buildInfo, buildInfoPath,
|
|
|
129217
129021
|
let filePathsSetList;
|
|
129218
129022
|
const latestChangedDtsFile = buildInfo.latestChangedDtsFile ? toAbsolutePath(buildInfo.latestChangedDtsFile) : void 0;
|
|
129219
129023
|
const fileInfos = /* @__PURE__ */ new Map();
|
|
129024
|
+
const changedFilesSet = new Set(map(buildInfo.changeFileSet, toFilePath));
|
|
129220
129025
|
if (isIncrementalBundleEmitBuildInfo(buildInfo)) {
|
|
129221
129026
|
buildInfo.fileInfos.forEach((fileInfo, index) => {
|
|
129222
129027
|
const path = toFilePath(index + 1);
|
|
@@ -129228,6 +129033,7 @@ function createBuilderProgramUsingIncrementalBuildInfo(buildInfo, buildInfoPath,
|
|
|
129228
129033
|
semanticDiagnosticsPerFile: toPerFileSemanticDiagnostics(buildInfo.semanticDiagnosticsPerFile),
|
|
129229
129034
|
emitDiagnosticsPerFile: toPerFileEmitDiagnostics(buildInfo.emitDiagnosticsPerFile),
|
|
129230
129035
|
hasReusableDiagnostic: true,
|
|
129036
|
+
changedFilesSet,
|
|
129231
129037
|
latestChangedDtsFile,
|
|
129232
129038
|
outSignature: buildInfo.outSignature,
|
|
129233
129039
|
programEmitPending: buildInfo.pendingEmit === void 0 ? void 0 : toProgramEmitPending(buildInfo.pendingEmit, buildInfo.options),
|
|
@@ -129264,6 +129070,7 @@ function createBuilderProgramUsingIncrementalBuildInfo(buildInfo, buildInfoPath,
|
|
|
129264
129070
|
semanticDiagnosticsPerFile: toPerFileSemanticDiagnostics(buildInfo.semanticDiagnosticsPerFile),
|
|
129265
129071
|
emitDiagnosticsPerFile: toPerFileEmitDiagnostics(buildInfo.emitDiagnosticsPerFile),
|
|
129266
129072
|
hasReusableDiagnostic: true,
|
|
129073
|
+
changedFilesSet,
|
|
129267
129074
|
affectedFilesPendingEmit: buildInfo.affectedFilesPendingEmit && arrayToMap(buildInfo.affectedFilesPendingEmit, (value) => toFilePath(isNumber(value) ? value : value[0]), (value) => toBuilderFileEmit(value, fullEmitForOptions)),
|
|
129268
129075
|
latestChangedDtsFile,
|
|
129269
129076
|
emitSignatures: (emitSignatures == null ? void 0 : emitSignatures.size) ? emitSignatures : void 0,
|
|
@@ -129316,7 +129123,7 @@ function createBuilderProgramUsingIncrementalBuildInfo(buildInfo, buildInfoPath,
|
|
|
129316
129123
|
const semanticDiagnostics = new Map(
|
|
129317
129124
|
mapDefinedIterator(
|
|
129318
129125
|
fileInfos.keys(),
|
|
129319
|
-
(key) => [key, emptyArray]
|
|
129126
|
+
(key) => !changedFilesSet.has(key) ? [key, emptyArray] : void 0
|
|
129320
129127
|
)
|
|
129321
129128
|
);
|
|
129322
129129
|
diagnostics == null ? void 0 : diagnostics.forEach((value) => {
|
|
@@ -129485,7 +129292,7 @@ function canWatchAffectedPackageJsonOrNodeModulesOfAtTypes(fileOrDirPath) {
|
|
|
129485
129292
|
function canWatchAffectingLocation(filePath) {
|
|
129486
129293
|
return canWatchAffectedPackageJsonOrNodeModulesOfAtTypes(filePath);
|
|
129487
129294
|
}
|
|
129488
|
-
function getDirectoryToWatchFailedLookupLocation(failedLookupLocation, failedLookupLocationPath, rootDir, rootPath, rootPathComponents, getCurrentDirectory) {
|
|
129295
|
+
function getDirectoryToWatchFailedLookupLocation(failedLookupLocation, failedLookupLocationPath, rootDir, rootPath, rootPathComponents, getCurrentDirectory, preferNonRecursiveWatch) {
|
|
129489
129296
|
const failedLookupPathComponents = getPathComponents(failedLookupLocationPath);
|
|
129490
129297
|
failedLookupLocation = isRootedDiskPath(failedLookupLocation) ? normalizePath(failedLookupLocation) : getNormalizedAbsolutePath(failedLookupLocation, getCurrentDirectory());
|
|
129491
129298
|
const failedLookupComponents = getPathComponents(failedLookupLocation);
|
|
@@ -129517,10 +129324,11 @@ function getDirectoryToWatchFailedLookupLocation(failedLookupLocation, failedLoo
|
|
|
129517
129324
|
perceivedOsRootLength,
|
|
129518
129325
|
nodeModulesIndex,
|
|
129519
129326
|
rootPathComponents,
|
|
129520
|
-
lastNodeModulesIndex
|
|
129327
|
+
lastNodeModulesIndex,
|
|
129328
|
+
preferNonRecursiveWatch
|
|
129521
129329
|
);
|
|
129522
129330
|
}
|
|
129523
|
-
function getDirectoryToWatchFromFailedLookupLocationDirectory(dirComponents, dirPathComponents, dirPathComponentsLength, perceivedOsRootLength, nodeModulesIndex, rootPathComponents, lastNodeModulesIndex) {
|
|
129331
|
+
function getDirectoryToWatchFromFailedLookupLocationDirectory(dirComponents, dirPathComponents, dirPathComponentsLength, perceivedOsRootLength, nodeModulesIndex, rootPathComponents, lastNodeModulesIndex, preferNonRecursiveWatch) {
|
|
129524
129332
|
if (nodeModulesIndex !== -1) {
|
|
129525
129333
|
return getDirectoryOfFailedLookupWatch(
|
|
129526
129334
|
dirComponents,
|
|
@@ -129531,11 +129339,13 @@ function getDirectoryToWatchFromFailedLookupLocationDirectory(dirComponents, dir
|
|
|
129531
129339
|
}
|
|
129532
129340
|
let nonRecursive = true;
|
|
129533
129341
|
let length2 = dirPathComponentsLength;
|
|
129534
|
-
|
|
129535
|
-
|
|
129536
|
-
|
|
129537
|
-
|
|
129538
|
-
|
|
129342
|
+
if (!preferNonRecursiveWatch) {
|
|
129343
|
+
for (let i = 0; i < dirPathComponentsLength; i++) {
|
|
129344
|
+
if (dirPathComponents[i] !== rootPathComponents[i]) {
|
|
129345
|
+
nonRecursive = false;
|
|
129346
|
+
length2 = Math.max(i + 1, perceivedOsRootLength + 1);
|
|
129347
|
+
break;
|
|
129348
|
+
}
|
|
129539
129349
|
}
|
|
129540
129350
|
}
|
|
129541
129351
|
return getDirectoryOfFailedLookupWatch(
|
|
@@ -129563,7 +129373,7 @@ function getDirectoryOfFailedLookupWatch(dirComponents, dirPathComponents, lengt
|
|
|
129563
129373
|
packageDirPath: packageDirLength !== void 0 ? getPathFromPathComponents(dirPathComponents, packageDirLength) : void 0
|
|
129564
129374
|
};
|
|
129565
129375
|
}
|
|
129566
|
-
function getDirectoryToWatchFailedLookupLocationFromTypeRoot(typeRoot, typeRootPath, rootPath, rootPathComponents, getCurrentDirectory, filterCustomPath) {
|
|
129376
|
+
function getDirectoryToWatchFailedLookupLocationFromTypeRoot(typeRoot, typeRootPath, rootPath, rootPathComponents, getCurrentDirectory, preferNonRecursiveWatch, filterCustomPath) {
|
|
129567
129377
|
const typeRootPathComponents = getPathComponents(typeRootPath);
|
|
129568
129378
|
if (isInDirectoryPath(rootPathComponents, typeRootPathComponents)) {
|
|
129569
129379
|
return rootPath;
|
|
@@ -129576,7 +129386,8 @@ function getDirectoryToWatchFailedLookupLocationFromTypeRoot(typeRoot, typeRootP
|
|
|
129576
129386
|
perceivedOsRootLengthForWatching(typeRootPathComponents, typeRootPathComponents.length),
|
|
129577
129387
|
typeRootPathComponents.indexOf("node_modules"),
|
|
129578
129388
|
rootPathComponents,
|
|
129579
|
-
typeRootPathComponents.lastIndexOf("node_modules")
|
|
129389
|
+
typeRootPathComponents.lastIndexOf("node_modules"),
|
|
129390
|
+
preferNonRecursiveWatch
|
|
129580
129391
|
);
|
|
129581
129392
|
return toWatch && filterCustomPath(toWatch.dirPath) ? toWatch.dirPath : void 0;
|
|
129582
129393
|
}
|
|
@@ -129584,9 +129395,6 @@ function getRootDirectoryOfResolutionCache(rootDirForResolution, getCurrentDirec
|
|
|
129584
129395
|
const normalized = getNormalizedAbsolutePath(rootDirForResolution, getCurrentDirectory());
|
|
129585
129396
|
return !isDiskPathRoot(normalized) ? removeTrailingDirectorySeparator(normalized) : normalized;
|
|
129586
129397
|
}
|
|
129587
|
-
function getRootPathSplitLength(rootPath) {
|
|
129588
|
-
return rootPath.split(directorySeparator).length - (hasTrailingDirectorySeparator(rootPath) ? 1 : 0);
|
|
129589
|
-
}
|
|
129590
129398
|
function getModuleResolutionHost(resolutionHost) {
|
|
129591
129399
|
var _a;
|
|
129592
129400
|
return ((_a = resolutionHost.getCompilerHost) == null ? void 0 : _a.call(resolutionHost)) || resolutionHost;
|
|
@@ -130088,7 +129896,8 @@ function createResolutionCache(resolutionHost, rootDirForResolution, logChangesW
|
|
|
130088
129896
|
rootDir,
|
|
130089
129897
|
rootPath,
|
|
130090
129898
|
rootPathComponents,
|
|
130091
|
-
getCurrentDirectory
|
|
129899
|
+
getCurrentDirectory,
|
|
129900
|
+
resolutionHost.preferNonRecursiveWatch
|
|
130092
129901
|
);
|
|
130093
129902
|
if (toWatch) {
|
|
130094
129903
|
const { dir, dirPath, nonRecursive, packageDir, packageDirPath } = toWatch;
|
|
@@ -130287,7 +130096,8 @@ function createResolutionCache(resolutionHost, rootDirForResolution, logChangesW
|
|
|
130287
130096
|
rootDir,
|
|
130288
130097
|
rootPath,
|
|
130289
130098
|
rootPathComponents,
|
|
130290
|
-
getCurrentDirectory
|
|
130099
|
+
getCurrentDirectory,
|
|
130100
|
+
resolutionHost.preferNonRecursiveWatch
|
|
130291
130101
|
);
|
|
130292
130102
|
if (toWatch) {
|
|
130293
130103
|
const { dirPath, packageDirPath } = toWatch;
|
|
@@ -130515,6 +130325,7 @@ function createResolutionCache(resolutionHost, rootDirForResolution, logChangesW
|
|
|
130515
130325
|
rootPath,
|
|
130516
130326
|
rootPathComponents,
|
|
130517
130327
|
getCurrentDirectory,
|
|
130328
|
+
resolutionHost.preferNonRecursiveWatch,
|
|
130518
130329
|
(dirPath2) => directoryWatchesOfFailedLookups.has(dirPath2) || dirPathToSymlinkPackageRefCount.has(dirPath2)
|
|
130519
130330
|
);
|
|
130520
130331
|
if (dirPath) {
|
|
@@ -130908,7 +130719,7 @@ function toFileName(file, fileNameConvertor) {
|
|
|
130908
130719
|
return fileNameConvertor ? fileNameConvertor(fileName) : fileName;
|
|
130909
130720
|
}
|
|
130910
130721
|
function emitFilesAndReportErrors(program, reportDiagnostic, write, reportSummary, writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers) {
|
|
130911
|
-
const
|
|
130722
|
+
const options = program.getCompilerOptions();
|
|
130912
130723
|
const allDiagnostics = program.getConfigFileParsingDiagnostics().slice();
|
|
130913
130724
|
const configFileParsingDiagnosticsLength = allDiagnostics.length;
|
|
130914
130725
|
addRange(allDiagnostics, program.getSyntacticDiagnostics(
|
|
@@ -130918,7 +130729,7 @@ function emitFilesAndReportErrors(program, reportDiagnostic, write, reportSummar
|
|
|
130918
130729
|
));
|
|
130919
130730
|
if (allDiagnostics.length === configFileParsingDiagnosticsLength) {
|
|
130920
130731
|
addRange(allDiagnostics, program.getOptionsDiagnostics(cancellationToken));
|
|
130921
|
-
if (!
|
|
130732
|
+
if (!options.listFilesOnly) {
|
|
130922
130733
|
addRange(allDiagnostics, program.getGlobalDiagnostics(cancellationToken));
|
|
130923
130734
|
if (allDiagnostics.length === configFileParsingDiagnosticsLength) {
|
|
130924
130735
|
addRange(allDiagnostics, program.getSemanticDiagnostics(
|
|
@@ -130927,9 +130738,16 @@ function emitFilesAndReportErrors(program, reportDiagnostic, write, reportSummar
|
|
|
130927
130738
|
cancellationToken
|
|
130928
130739
|
));
|
|
130929
130740
|
}
|
|
130741
|
+
if (options.noEmit && getEmitDeclarations(options) && allDiagnostics.length === configFileParsingDiagnosticsLength) {
|
|
130742
|
+
addRange(allDiagnostics, program.getDeclarationDiagnostics(
|
|
130743
|
+
/*sourceFile*/
|
|
130744
|
+
void 0,
|
|
130745
|
+
cancellationToken
|
|
130746
|
+
));
|
|
130747
|
+
}
|
|
130930
130748
|
}
|
|
130931
130749
|
}
|
|
130932
|
-
const emitResult =
|
|
130750
|
+
const emitResult = options.listFilesOnly ? { emitSkipped: true, diagnostics: emptyArray } : program.emit(
|
|
130933
130751
|
/*targetSourceFile*/
|
|
130934
130752
|
void 0,
|
|
130935
130753
|
writeFile2,
|
|
@@ -130983,7 +130801,8 @@ function createWatchHost(system = sys, reportWatchStatus2) {
|
|
|
130983
130801
|
watchFile: maybeBind(system, system.watchFile) || returnNoopFileWatcher,
|
|
130984
130802
|
watchDirectory: maybeBind(system, system.watchDirectory) || returnNoopFileWatcher,
|
|
130985
130803
|
setTimeout: maybeBind(system, system.setTimeout) || noop,
|
|
130986
|
-
clearTimeout: maybeBind(system, system.clearTimeout) || noop
|
|
130804
|
+
clearTimeout: maybeBind(system, system.clearTimeout) || noop,
|
|
130805
|
+
preferNonRecursiveWatch: system.preferNonRecursiveWatch
|
|
130987
130806
|
};
|
|
130988
130807
|
}
|
|
130989
130808
|
var WatchType = {
|
|
@@ -131314,6 +131133,7 @@ function createWatchProgram(host) {
|
|
|
131314
131133
|
compilerHost.toPath = toPath3;
|
|
131315
131134
|
compilerHost.getCompilationSettings = () => compilerOptions;
|
|
131316
131135
|
compilerHost.useSourceOfProjectReferenceRedirect = maybeBind(host, host.useSourceOfProjectReferenceRedirect);
|
|
131136
|
+
compilerHost.preferNonRecursiveWatch = host.preferNonRecursiveWatch;
|
|
131317
131137
|
compilerHost.watchDirectoryOfFailedLookupLocation = (dir, cb, flags) => watchDirectory(dir, cb, flags, watchOptions, WatchType.FailedLookupLocations);
|
|
131318
131138
|
compilerHost.watchAffectingFileLocation = (file, cb) => watchFile2(file, cb, 2e3 /* High */, watchOptions, WatchType.AffectingFileLocation);
|
|
131319
131139
|
compilerHost.watchTypeRootsDirectory = (dir, cb, flags) => watchDirectory(dir, cb, flags, watchOptions, WatchType.TypeRoots);
|
|
@@ -132796,7 +132616,7 @@ function checkConfigFileUpToDateStatus(state, configFile, oldestOutputFileTime,
|
|
|
132796
132616
|
}
|
|
132797
132617
|
}
|
|
132798
132618
|
function getUpToDateStatusWorker(state, project, resolvedPath) {
|
|
132799
|
-
var _a, _b, _c;
|
|
132619
|
+
var _a, _b, _c, _d, _e;
|
|
132800
132620
|
if (!project.fileNames.length && !canJsonReportNoInputFiles(project.raw)) {
|
|
132801
132621
|
return {
|
|
132802
132622
|
type: 15 /* ContainerOnly */
|
|
@@ -132858,19 +132678,25 @@ function getUpToDateStatusWorker(state, project, resolvedPath) {
|
|
|
132858
132678
|
};
|
|
132859
132679
|
}
|
|
132860
132680
|
if (incrementalBuildInfo) {
|
|
132861
|
-
if (!project.options.noCheck && (((_a = incrementalBuildInfo.
|
|
132681
|
+
if (!project.options.noCheck && (((_a = incrementalBuildInfo.changeFileSet) == null ? void 0 : _a.length) || ((_b = incrementalBuildInfo.semanticDiagnosticsPerFile) == null ? void 0 : _b.length) || getEmitDeclarations(project.options) && ((_c = incrementalBuildInfo.emitDiagnosticsPerFile) == null ? void 0 : _c.length))) {
|
|
132862
132682
|
return {
|
|
132863
132683
|
type: 8 /* OutOfDateBuildInfoWithErrors */,
|
|
132864
132684
|
buildInfoFile: buildInfoPath
|
|
132865
132685
|
};
|
|
132866
132686
|
}
|
|
132867
|
-
if (!project.options.noEmit && (((
|
|
132687
|
+
if (!project.options.noEmit && (((_d = incrementalBuildInfo.changeFileSet) == null ? void 0 : _d.length) || ((_e = incrementalBuildInfo.affectedFilesPendingEmit) == null ? void 0 : _e.length) || incrementalBuildInfo.pendingEmit !== void 0)) {
|
|
132868
132688
|
return {
|
|
132869
132689
|
type: 7 /* OutOfDateBuildInfoWithPendingEmit */,
|
|
132870
132690
|
buildInfoFile: buildInfoPath
|
|
132871
132691
|
};
|
|
132872
132692
|
}
|
|
132873
|
-
if (!project.options.noEmit
|
|
132693
|
+
if ((!project.options.noEmit || project.options.noEmit && getEmitDeclarations(project.options)) && getPendingEmitKindWithSeen(
|
|
132694
|
+
project.options,
|
|
132695
|
+
incrementalBuildInfo.options || {},
|
|
132696
|
+
/*emitOnlyDtsFiles*/
|
|
132697
|
+
void 0,
|
|
132698
|
+
!!project.options.noEmit
|
|
132699
|
+
)) {
|
|
132874
132700
|
return {
|
|
132875
132701
|
type: 9 /* OutOfDateOptions */,
|
|
132876
132702
|
buildInfoFile: buildInfoPath
|
|
@@ -135165,7 +134991,6 @@ __export(ts_JsTyping_exports, {
|
|
|
135165
134991
|
nodeCoreModuleList: () => nodeCoreModuleList,
|
|
135166
134992
|
nodeCoreModules: () => nodeCoreModules,
|
|
135167
134993
|
nonRelativeModuleNameForTypingCache: () => nonRelativeModuleNameForTypingCache,
|
|
135168
|
-
prefixedNodeCoreModuleList: () => prefixedNodeCoreModuleList,
|
|
135169
134994
|
renderPackageNameValidationFailure: () => renderPackageNameValidationFailure,
|
|
135170
134995
|
validatePackageName: () => validatePackageName
|
|
135171
134996
|
});
|
|
@@ -137725,13 +137550,6 @@ function signatureToDisplayParts(typechecker, signature, enclosingDeclaration, f
|
|
|
137725
137550
|
);
|
|
137726
137551
|
});
|
|
137727
137552
|
}
|
|
137728
|
-
function nodeToDisplayParts(node, enclosingDeclaration) {
|
|
137729
|
-
const file = enclosingDeclaration.getSourceFile();
|
|
137730
|
-
return mapToDisplayParts((writer) => {
|
|
137731
|
-
const printer = createPrinterWithRemoveCommentsOmitTrailingSemicolon();
|
|
137732
|
-
printer.writeNode(4 /* Unspecified */, node, file, writer);
|
|
137733
|
-
});
|
|
137734
|
-
}
|
|
137735
137553
|
function isImportOrExportSpecifierName(location) {
|
|
137736
137554
|
return !!location.parent && isImportOrExportSpecifier(location.parent) && location.parent.propertyName === location;
|
|
137737
137555
|
}
|
|
@@ -138464,16 +138282,6 @@ function stringContainsAt(haystack, needle, startIndex) {
|
|
|
138464
138282
|
function startsWithUnderscore(name) {
|
|
138465
138283
|
return name.charCodeAt(0) === 95 /* _ */;
|
|
138466
138284
|
}
|
|
138467
|
-
function isGlobalDeclaration(declaration) {
|
|
138468
|
-
return !isNonGlobalDeclaration(declaration);
|
|
138469
|
-
}
|
|
138470
|
-
function isNonGlobalDeclaration(declaration) {
|
|
138471
|
-
const sourceFile = declaration.getSourceFile();
|
|
138472
|
-
if (!sourceFile.externalModuleIndicator && !sourceFile.commonJsModuleIndicator) {
|
|
138473
|
-
return false;
|
|
138474
|
-
}
|
|
138475
|
-
return isInJSFile(declaration) || !findAncestor(declaration, (d) => isModuleDeclaration(d) && isGlobalScopeAugmentation(d));
|
|
138476
|
-
}
|
|
138477
138285
|
function isDeprecatedDeclaration(decl) {
|
|
138478
138286
|
return !!(getCombinedNodeFlagsAlwaysIncludeJSDoc(decl) & 65536 /* Deprecated */);
|
|
138479
138287
|
}
|
|
@@ -141470,7 +141278,7 @@ function getSourceMapper(host) {
|
|
|
141470
141278
|
}
|
|
141471
141279
|
const options = program.getCompilerOptions();
|
|
141472
141280
|
const outPath = options.outFile;
|
|
141473
|
-
const declarationPath = outPath ? removeFileExtension(outPath) + ".d.ts" /* Dts */ : getDeclarationEmitOutputFilePathWorker(info.fileName, program.getCompilerOptions(),
|
|
141281
|
+
const declarationPath = outPath ? removeFileExtension(outPath) + ".d.ts" /* Dts */ : getDeclarationEmitOutputFilePathWorker(info.fileName, program.getCompilerOptions(), program);
|
|
141474
141282
|
if (declarationPath === void 0) return void 0;
|
|
141475
141283
|
const newLoc = getDocumentPositionMapper2(declarationPath, info.fileName).getGeneratedPosition(info);
|
|
141476
141284
|
return newLoc === info ? void 0 : newLoc;
|
|
@@ -142810,7 +142618,6 @@ function cleanText(text) {
|
|
|
142810
142618
|
// src/services/_namespaces/ts.refactor.ts
|
|
142811
142619
|
var ts_refactor_exports = {};
|
|
142812
142620
|
__export(ts_refactor_exports, {
|
|
142813
|
-
addExportToChanges: () => addExportToChanges,
|
|
142814
142621
|
addExportsInOldFile: () => addExportsInOldFile,
|
|
142815
142622
|
addImportsForMovedSymbols: () => addImportsForMovedSymbols,
|
|
142816
142623
|
addNewFileToTsconfig: () => addNewFileToTsconfig,
|
|
@@ -142822,13 +142629,8 @@ __export(ts_refactor_exports, {
|
|
|
142822
142629
|
convertStringOrTemplateLiteral: () => ts_refactor_convertStringOrTemplateLiteral_exports,
|
|
142823
142630
|
convertToOptionalChainExpression: () => ts_refactor_convertToOptionalChainExpression_exports,
|
|
142824
142631
|
createNewFileName: () => createNewFileName,
|
|
142825
|
-
deleteMovedStatements: () => deleteMovedStatements,
|
|
142826
|
-
deleteUnusedImports: () => deleteUnusedImports,
|
|
142827
|
-
deleteUnusedOldImports: () => deleteUnusedOldImports,
|
|
142828
142632
|
doChangeNamedToNamespaceOrDefault: () => doChangeNamedToNamespaceOrDefault,
|
|
142829
142633
|
extractSymbol: () => ts_refactor_extractSymbol_exports,
|
|
142830
|
-
filterImport: () => filterImport,
|
|
142831
|
-
forEachImportInStatement: () => forEachImportInStatement,
|
|
142832
142634
|
generateGetAccessorAndSetAccessor: () => ts_refactor_generateGetAccessorAndSetAccessor_exports,
|
|
142833
142635
|
getApplicableRefactors: () => getApplicableRefactors,
|
|
142834
142636
|
getEditsForRefactor: () => getEditsForRefactor,
|
|
@@ -142836,16 +142638,11 @@ __export(ts_refactor_exports, {
|
|
|
142836
142638
|
getIdentifierForNode: () => getIdentifierForNode,
|
|
142837
142639
|
getNewStatementsAndRemoveFromOldFile: () => getNewStatementsAndRemoveFromOldFile,
|
|
142838
142640
|
getStatementsToMove: () => getStatementsToMove,
|
|
142839
|
-
getTopLevelDeclarationStatement: () => getTopLevelDeclarationStatement,
|
|
142840
142641
|
getUsageInfo: () => getUsageInfo,
|
|
142841
142642
|
inferFunctionReturnType: () => ts_refactor_inferFunctionReturnType_exports,
|
|
142842
142643
|
isRefactorErrorInfo: () => isRefactorErrorInfo,
|
|
142843
|
-
isTopLevelDeclaration: () => isTopLevelDeclaration,
|
|
142844
|
-
moduleSpecifierFromImport: () => moduleSpecifierFromImport,
|
|
142845
|
-
nameOfTopLevelDeclaration: () => nameOfTopLevelDeclaration,
|
|
142846
142644
|
refactorKindBeginsWith: () => refactorKindBeginsWith,
|
|
142847
|
-
registerRefactor: () => registerRefactor
|
|
142848
|
-
updateImportsInOtherFiles: () => updateImportsInOtherFiles
|
|
142645
|
+
registerRefactor: () => registerRefactor
|
|
142849
142646
|
});
|
|
142850
142647
|
|
|
142851
142648
|
// src/services/refactorProvider.ts
|
|
@@ -151507,19 +151304,16 @@ __export(ts_codefix_exports, {
|
|
|
151507
151304
|
createFileTextChanges: () => createFileTextChanges,
|
|
151508
151305
|
createImportAdder: () => createImportAdder,
|
|
151509
151306
|
createImportSpecifierResolver: () => createImportSpecifierResolver,
|
|
151510
|
-
createJsonPropertyAssignment: () => createJsonPropertyAssignment,
|
|
151511
151307
|
createMissingMemberNodes: () => createMissingMemberNodes,
|
|
151512
151308
|
createSignatureDeclarationFromCallExpression: () => createSignatureDeclarationFromCallExpression,
|
|
151513
151309
|
createSignatureDeclarationFromSignature: () => createSignatureDeclarationFromSignature,
|
|
151514
151310
|
createStubbedBody: () => createStubbedBody,
|
|
151515
151311
|
eachDiagnostic: () => eachDiagnostic,
|
|
151516
151312
|
findAncestorMatchingSpan: () => findAncestorMatchingSpan,
|
|
151517
|
-
findJsonProperty: () => findJsonProperty,
|
|
151518
151313
|
generateAccessorFromProperty: () => generateAccessorFromProperty,
|
|
151519
151314
|
getAccessorConvertiblePropertyAtPosition: () => getAccessorConvertiblePropertyAtPosition,
|
|
151520
151315
|
getAllFixes: () => getAllFixes,
|
|
151521
151316
|
getAllSupers: () => getAllSupers,
|
|
151522
|
-
getArgumentTypesAndTypeParameters: () => getArgumentTypesAndTypeParameters,
|
|
151523
151317
|
getFixes: () => getFixes,
|
|
151524
151318
|
getImportCompletionAction: () => getImportCompletionAction,
|
|
151525
151319
|
getImportKind: () => getImportKind,
|
|
@@ -167594,11 +167388,9 @@ __export(ts_FindAllReferences_exports, {
|
|
|
167594
167388
|
getImplementationsAtPosition: () => getImplementationsAtPosition,
|
|
167595
167389
|
getImportOrExportSymbol: () => getImportOrExportSymbol,
|
|
167596
167390
|
getReferenceEntriesForNode: () => getReferenceEntriesForNode,
|
|
167597
|
-
getTextSpanOfEntry: () => getTextSpanOfEntry,
|
|
167598
167391
|
isContextWithStartAndEndNode: () => isContextWithStartAndEndNode,
|
|
167599
167392
|
isDeclarationOfSymbol: () => isDeclarationOfSymbol,
|
|
167600
167393
|
isWriteAccessForReference: () => isWriteAccessForReference,
|
|
167601
|
-
nodeEntry: () => nodeEntry,
|
|
167602
167394
|
toContextSpan: () => toContextSpan,
|
|
167603
167395
|
toHighlightSpan: () => toHighlightSpan,
|
|
167604
167396
|
toReferenceEntry: () => toReferenceEntry,
|
|
@@ -170020,7 +169812,6 @@ var Core;
|
|
|
170020
169812
|
var ts_GoToDefinition_exports = {};
|
|
170021
169813
|
__export(ts_GoToDefinition_exports, {
|
|
170022
169814
|
createDefinitionInfo: () => createDefinitionInfo,
|
|
170023
|
-
findReferenceInPosition: () => findReferenceInPosition,
|
|
170024
169815
|
getDefinitionAndBoundSpan: () => getDefinitionAndBoundSpan,
|
|
170025
169816
|
getDefinitionAtPosition: () => getDefinitionAtPosition,
|
|
170026
169817
|
getReferenceAtPosition: () => getReferenceAtPosition,
|
|
@@ -171937,7 +171728,6 @@ var ts_OrganizeImports_exports = {};
|
|
|
171937
171728
|
__export(ts_OrganizeImports_exports, {
|
|
171938
171729
|
compareImportsOrRequireStatements: () => compareImportsOrRequireStatements,
|
|
171939
171730
|
compareModuleSpecifiers: () => compareModuleSpecifiers2,
|
|
171940
|
-
getDetectionLists: () => getDetectionLists,
|
|
171941
171731
|
getImportDeclarationInsertionIndex: () => getImportDeclarationInsertionIndex,
|
|
171942
171732
|
getImportSpecifierInsertionIndex: () => getImportSpecifierInsertionIndex,
|
|
171943
171733
|
getNamedImportSpecifierComparerWithDetection: () => getNamedImportSpecifierComparerWithDetection,
|
|
@@ -178694,7 +178484,6 @@ __export(ts_exports2, {
|
|
|
178694
178484
|
GoToDefinition: () => ts_GoToDefinition_exports,
|
|
178695
178485
|
HighlightSpanKind: () => HighlightSpanKind,
|
|
178696
178486
|
IdentifierNameMap: () => IdentifierNameMap,
|
|
178697
|
-
IdentifierNameMultiMap: () => IdentifierNameMultiMap,
|
|
178698
178487
|
ImportKind: () => ImportKind,
|
|
178699
178488
|
ImportsNotUsedAsValues: () => ImportsNotUsedAsValues,
|
|
178700
178489
|
IndentStyle: () => IndentStyle,
|
|
@@ -178781,7 +178570,6 @@ __export(ts_exports2, {
|
|
|
178781
178570
|
SymbolFlags: () => SymbolFlags,
|
|
178782
178571
|
SymbolFormatFlags: () => SymbolFormatFlags,
|
|
178783
178572
|
SyntaxKind: () => SyntaxKind,
|
|
178784
|
-
SyntheticSymbolKind: () => SyntheticSymbolKind,
|
|
178785
178573
|
Ternary: () => Ternary,
|
|
178786
178574
|
ThrottledCancellationToken: () => ThrottledCancellationToken,
|
|
178787
178575
|
TokenClass: () => TokenClass,
|
|
@@ -178804,7 +178592,6 @@ __export(ts_exports2, {
|
|
|
178804
178592
|
WatchLogLevel: () => WatchLogLevel,
|
|
178805
178593
|
WatchType: () => WatchType,
|
|
178806
178594
|
accessPrivateIdentifier: () => accessPrivateIdentifier,
|
|
178807
|
-
addDisposableResourceHelper: () => addDisposableResourceHelper,
|
|
178808
178595
|
addEmitFlags: () => addEmitFlags,
|
|
178809
178596
|
addEmitHelper: () => addEmitHelper,
|
|
178810
178597
|
addEmitHelpers: () => addEmitHelpers,
|
|
@@ -178827,7 +178614,6 @@ __export(ts_exports2, {
|
|
|
178827
178614
|
arrayFrom: () => arrayFrom,
|
|
178828
178615
|
arrayIsEqualTo: () => arrayIsEqualTo,
|
|
178829
178616
|
arrayIsHomogeneous: () => arrayIsHomogeneous,
|
|
178830
|
-
arrayIsSorted: () => arrayIsSorted,
|
|
178831
178617
|
arrayOf: () => arrayOf,
|
|
178832
178618
|
arrayReverseIterator: () => arrayReverseIterator,
|
|
178833
178619
|
arrayToMap: () => arrayToMap,
|
|
@@ -178835,14 +178621,8 @@ __export(ts_exports2, {
|
|
|
178835
178621
|
arrayToNumericMap: () => arrayToNumericMap,
|
|
178836
178622
|
assertType: () => assertType,
|
|
178837
178623
|
assign: () => assign,
|
|
178838
|
-
assignHelper: () => assignHelper,
|
|
178839
|
-
asyncDelegator: () => asyncDelegator,
|
|
178840
|
-
asyncGeneratorHelper: () => asyncGeneratorHelper,
|
|
178841
178624
|
asyncSuperHelper: () => asyncSuperHelper,
|
|
178842
|
-
asyncValues: () => asyncValues,
|
|
178843
178625
|
attachFileToDiagnostics: () => attachFileToDiagnostics,
|
|
178844
|
-
awaitHelper: () => awaitHelper,
|
|
178845
|
-
awaiterHelper: () => awaiterHelper,
|
|
178846
178626
|
base64decode: () => base64decode,
|
|
178847
178627
|
base64encode: () => base64encode,
|
|
178848
178628
|
binarySearch: () => binarySearch,
|
|
@@ -178891,9 +178671,6 @@ __export(ts_exports2, {
|
|
|
178891
178671
|
classHasDeclaredOrExplicitlyAssignedName: () => classHasDeclaredOrExplicitlyAssignedName,
|
|
178892
178672
|
classHasExplicitlyAssignedName: () => classHasExplicitlyAssignedName,
|
|
178893
178673
|
classOrConstructorParameterIsDecorated: () => classOrConstructorParameterIsDecorated,
|
|
178894
|
-
classPrivateFieldGetHelper: () => classPrivateFieldGetHelper,
|
|
178895
|
-
classPrivateFieldInHelper: () => classPrivateFieldInHelper,
|
|
178896
|
-
classPrivateFieldSetHelper: () => classPrivateFieldSetHelper,
|
|
178897
178674
|
classicNameResolver: () => classicNameResolver,
|
|
178898
178675
|
classifier: () => ts_classifier_exports,
|
|
178899
178676
|
cleanExtendedConfigCache: () => cleanExtendedConfigCache,
|
|
@@ -178901,7 +178678,6 @@ __export(ts_exports2, {
|
|
|
178901
178678
|
clearMap: () => clearMap,
|
|
178902
178679
|
clearSharedExtendedConfigFileWatcher: () => clearSharedExtendedConfigFileWatcher,
|
|
178903
178680
|
climbPastPropertyAccess: () => climbPastPropertyAccess,
|
|
178904
|
-
climbPastPropertyOrElementAccess: () => climbPastPropertyOrElementAccess,
|
|
178905
178681
|
clone: () => clone,
|
|
178906
178682
|
cloneCompilerOptions: () => cloneCompilerOptions,
|
|
178907
178683
|
closeFileWatcher: () => closeFileWatcher,
|
|
@@ -178914,12 +178690,10 @@ __export(ts_exports2, {
|
|
|
178914
178690
|
commandLineOptionOfCustomType: () => commandLineOptionOfCustomType,
|
|
178915
178691
|
commentPragmas: () => commentPragmas,
|
|
178916
178692
|
commonOptionsWithBuild: () => commonOptionsWithBuild,
|
|
178917
|
-
commonPackageFolders: () => commonPackageFolders,
|
|
178918
178693
|
compact: () => compact,
|
|
178919
178694
|
compareBooleans: () => compareBooleans,
|
|
178920
178695
|
compareDataObjects: () => compareDataObjects,
|
|
178921
178696
|
compareDiagnostics: () => compareDiagnostics,
|
|
178922
|
-
compareDiagnosticsSkipRelatedInformation: () => compareDiagnosticsSkipRelatedInformation,
|
|
178923
178697
|
compareEmitHelpers: () => compareEmitHelpers,
|
|
178924
178698
|
compareNumberOfDirectorySeparators: () => compareNumberOfDirectorySeparators,
|
|
178925
178699
|
comparePaths: () => comparePaths,
|
|
@@ -178933,26 +178707,21 @@ __export(ts_exports2, {
|
|
|
178933
178707
|
compareStringsCaseSensitiveUI: () => compareStringsCaseSensitiveUI,
|
|
178934
178708
|
compareTextSpans: () => compareTextSpans,
|
|
178935
178709
|
compareValues: () => compareValues,
|
|
178936
|
-
compileOnSaveCommandLineOption: () => compileOnSaveCommandLineOption,
|
|
178937
178710
|
compilerOptionsAffectDeclarationPath: () => compilerOptionsAffectDeclarationPath,
|
|
178938
178711
|
compilerOptionsAffectEmit: () => compilerOptionsAffectEmit,
|
|
178939
178712
|
compilerOptionsAffectSemanticDiagnostics: () => compilerOptionsAffectSemanticDiagnostics,
|
|
178940
178713
|
compilerOptionsDidYouMeanDiagnostics: () => compilerOptionsDidYouMeanDiagnostics,
|
|
178941
178714
|
compilerOptionsIndicateEsModules: () => compilerOptionsIndicateEsModules,
|
|
178942
|
-
compose: () => compose,
|
|
178943
178715
|
computeCommonSourceDirectoryOfFilenames: () => computeCommonSourceDirectoryOfFilenames,
|
|
178944
178716
|
computeLineAndCharacterOfPosition: () => computeLineAndCharacterOfPosition,
|
|
178945
178717
|
computeLineOfPosition: () => computeLineOfPosition,
|
|
178946
178718
|
computeLineStarts: () => computeLineStarts,
|
|
178947
178719
|
computePositionOfLineAndCharacter: () => computePositionOfLineAndCharacter,
|
|
178948
|
-
computeSignature: () => computeSignature,
|
|
178949
178720
|
computeSignatureWithDiagnostics: () => computeSignatureWithDiagnostics,
|
|
178950
178721
|
computeSuggestionDiagnostics: () => computeSuggestionDiagnostics,
|
|
178951
178722
|
computedOptions: () => computedOptions,
|
|
178952
178723
|
concatenate: () => concatenate,
|
|
178953
178724
|
concatenateDiagnosticMessageChains: () => concatenateDiagnosticMessageChains,
|
|
178954
|
-
configDirTemplateSubstitutionOptions: () => configDirTemplateSubstitutionOptions,
|
|
178955
|
-
configDirTemplateSubstitutionWatchOptions: () => configDirTemplateSubstitutionWatchOptions,
|
|
178956
178725
|
consumesNodeCoreModules: () => consumesNodeCoreModules,
|
|
178957
178726
|
contains: () => contains,
|
|
178958
178727
|
containsIgnoredPath: () => containsIgnoredPath,
|
|
@@ -178983,15 +178752,11 @@ __export(ts_exports2, {
|
|
|
178983
178752
|
createAccessorPropertySetRedirector: () => createAccessorPropertySetRedirector,
|
|
178984
178753
|
createBaseNodeFactory: () => createBaseNodeFactory,
|
|
178985
178754
|
createBinaryExpressionTrampoline: () => createBinaryExpressionTrampoline,
|
|
178986
|
-
createBindingHelper: () => createBindingHelper,
|
|
178987
178755
|
createBuilderProgram: () => createBuilderProgram,
|
|
178988
178756
|
createBuilderProgramUsingIncrementalBuildInfo: () => createBuilderProgramUsingIncrementalBuildInfo,
|
|
178989
178757
|
createBuilderStatusReporter: () => createBuilderStatusReporter,
|
|
178990
|
-
createCacheWithRedirects: () => createCacheWithRedirects,
|
|
178991
178758
|
createCacheableExportInfoMap: () => createCacheableExportInfoMap,
|
|
178992
178759
|
createCachedDirectoryStructureHost: () => createCachedDirectoryStructureHost,
|
|
178993
|
-
createClassNamedEvaluationHelperBlock: () => createClassNamedEvaluationHelperBlock,
|
|
178994
|
-
createClassThisAssignmentBlock: () => createClassThisAssignmentBlock,
|
|
178995
178760
|
createClassifier: () => createClassifier,
|
|
178996
178761
|
createCommentDirectivesMap: () => createCommentDirectivesMap,
|
|
178997
178762
|
createCompilerDiagnostic: () => createCompilerDiagnostic,
|
|
@@ -179113,10 +178878,7 @@ __export(ts_exports2, {
|
|
|
179113
178878
|
declarationNameToString: () => declarationNameToString,
|
|
179114
178879
|
decodeMappings: () => decodeMappings,
|
|
179115
178880
|
decodedTextSpanIntersectsWith: () => decodedTextSpanIntersectsWith,
|
|
179116
|
-
decorateHelper: () => decorateHelper,
|
|
179117
178881
|
deduplicate: () => deduplicate,
|
|
179118
|
-
defaultIncludeSpec: () => defaultIncludeSpec,
|
|
179119
|
-
defaultInitCompilerOptions: () => defaultInitCompilerOptions,
|
|
179120
178882
|
defaultMaximumTruncationLength: () => defaultMaximumTruncationLength,
|
|
179121
178883
|
diagnosticCategoryName: () => diagnosticCategoryName,
|
|
179122
178884
|
diagnosticToString: () => diagnosticToString,
|
|
@@ -179126,27 +178888,22 @@ __export(ts_exports2, {
|
|
|
179126
178888
|
displayPart: () => displayPart,
|
|
179127
178889
|
displayPartsToString: () => displayPartsToString,
|
|
179128
178890
|
disposeEmitNodes: () => disposeEmitNodes,
|
|
179129
|
-
disposeResourcesHelper: () => disposeResourcesHelper,
|
|
179130
178891
|
documentSpansEqual: () => documentSpansEqual,
|
|
179131
178892
|
dumpTracingLegend: () => dumpTracingLegend,
|
|
179132
178893
|
elementAt: () => elementAt,
|
|
179133
178894
|
elideNodes: () => elideNodes,
|
|
179134
|
-
emitComments: () => emitComments,
|
|
179135
178895
|
emitDetachedComments: () => emitDetachedComments,
|
|
179136
178896
|
emitFiles: () => emitFiles,
|
|
179137
178897
|
emitFilesAndReportErrors: () => emitFilesAndReportErrors,
|
|
179138
178898
|
emitFilesAndReportErrorsAndGetExitStatus: () => emitFilesAndReportErrorsAndGetExitStatus,
|
|
179139
178899
|
emitModuleKindIsNonNodeESM: () => emitModuleKindIsNonNodeESM,
|
|
179140
178900
|
emitNewLineBeforeLeadingCommentOfPosition: () => emitNewLineBeforeLeadingCommentOfPosition,
|
|
179141
|
-
emitNewLineBeforeLeadingComments: () => emitNewLineBeforeLeadingComments,
|
|
179142
|
-
emitNewLineBeforeLeadingCommentsOfPosition: () => emitNewLineBeforeLeadingCommentsOfPosition,
|
|
179143
178901
|
emitResolverSkipsTypeChecking: () => emitResolverSkipsTypeChecking,
|
|
179144
178902
|
emitSkippedWithNoDiagnostics: () => emitSkippedWithNoDiagnostics,
|
|
179145
178903
|
emptyArray: () => emptyArray,
|
|
179146
178904
|
emptyFileSystemEntries: () => emptyFileSystemEntries,
|
|
179147
178905
|
emptyMap: () => emptyMap,
|
|
179148
178906
|
emptyOptions: () => emptyOptions,
|
|
179149
|
-
emptySet: () => emptySet,
|
|
179150
178907
|
endsWith: () => endsWith,
|
|
179151
178908
|
ensurePathIsNonModuleName: () => ensurePathIsNonModuleName,
|
|
179152
178909
|
ensureScriptKind: () => ensureScriptKind,
|
|
@@ -179157,7 +178914,6 @@ __export(ts_exports2, {
|
|
|
179157
178914
|
equateStringsCaseInsensitive: () => equateStringsCaseInsensitive,
|
|
179158
178915
|
equateStringsCaseSensitive: () => equateStringsCaseSensitive,
|
|
179159
178916
|
equateValues: () => equateValues,
|
|
179160
|
-
esDecorateHelper: () => esDecorateHelper,
|
|
179161
178917
|
escapeJsxAttributeString: () => escapeJsxAttributeString,
|
|
179162
178918
|
escapeLeadingUnderscores: () => escapeLeadingUnderscores,
|
|
179163
178919
|
escapeNonAsciiString: () => escapeNonAsciiString,
|
|
@@ -179171,10 +178927,8 @@ __export(ts_exports2, {
|
|
|
179171
178927
|
explainFiles: () => explainFiles,
|
|
179172
178928
|
explainIfFileIsRedirectAndImpliedFormat: () => explainIfFileIsRedirectAndImpliedFormat,
|
|
179173
178929
|
exportAssignmentIsAlias: () => exportAssignmentIsAlias,
|
|
179174
|
-
exportStarHelper: () => exportStarHelper,
|
|
179175
178930
|
expressionResultIsUnused: () => expressionResultIsUnused,
|
|
179176
178931
|
extend: () => extend,
|
|
179177
|
-
extendsHelper: () => extendsHelper,
|
|
179178
178932
|
extensionFromPath: () => extensionFromPath,
|
|
179179
178933
|
extensionIsTS: () => extensionIsTS,
|
|
179180
178934
|
extensionsNotSupportingExtensionlessResolution: () => extensionsNotSupportingExtensionlessResolution,
|
|
@@ -179201,7 +178955,6 @@ __export(ts_exports2, {
|
|
|
179201
178955
|
findLast: () => findLast,
|
|
179202
178956
|
findLastIndex: () => findLastIndex,
|
|
179203
178957
|
findListItemInfo: () => findListItemInfo,
|
|
179204
|
-
findMap: () => findMap,
|
|
179205
178958
|
findModifier: () => findModifier,
|
|
179206
178959
|
findNextToken: () => findNextToken,
|
|
179207
178960
|
findPackageJson: () => findPackageJson,
|
|
@@ -179249,7 +179002,6 @@ __export(ts_exports2, {
|
|
|
179249
179002
|
forEachTsConfigPropArray: () => forEachTsConfigPropArray,
|
|
179250
179003
|
forEachUnique: () => forEachUnique,
|
|
179251
179004
|
forEachYieldExpression: () => forEachYieldExpression,
|
|
179252
|
-
forSomeAncestorDirectory: () => forSomeAncestorDirectory,
|
|
179253
179005
|
formatColorAndReset: () => formatColorAndReset,
|
|
179254
179006
|
formatDiagnostic: () => formatDiagnostic,
|
|
179255
179007
|
formatDiagnostics: () => formatDiagnostics,
|
|
@@ -179260,11 +179012,8 @@ __export(ts_exports2, {
|
|
|
179260
179012
|
formatMessage: () => formatMessage,
|
|
179261
179013
|
formatStringFromArgs: () => formatStringFromArgs,
|
|
179262
179014
|
formatting: () => ts_formatting_exports,
|
|
179263
|
-
fullTripleSlashAMDReferencePathRegEx: () => fullTripleSlashAMDReferencePathRegEx,
|
|
179264
|
-
fullTripleSlashReferencePathRegEx: () => fullTripleSlashReferencePathRegEx,
|
|
179265
179015
|
generateDjb2Hash: () => generateDjb2Hash,
|
|
179266
179016
|
generateTSConfig: () => generateTSConfig,
|
|
179267
|
-
generatorHelper: () => generatorHelper,
|
|
179268
179017
|
getAdjustedReferenceLocation: () => getAdjustedReferenceLocation,
|
|
179269
179018
|
getAdjustedRenameLocation: () => getAdjustedRenameLocation,
|
|
179270
179019
|
getAliasDeclarationFromName: () => getAliasDeclarationFromName,
|
|
@@ -179283,7 +179032,6 @@ __export(ts_exports2, {
|
|
|
179283
179032
|
getAreDeclarationMapsEnabled: () => getAreDeclarationMapsEnabled,
|
|
179284
179033
|
getAssignedExpandoInitializer: () => getAssignedExpandoInitializer,
|
|
179285
179034
|
getAssignedName: () => getAssignedName,
|
|
179286
|
-
getAssignedNameOfIdentifier: () => getAssignedNameOfIdentifier,
|
|
179287
179035
|
getAssignmentDeclarationKind: () => getAssignmentDeclarationKind,
|
|
179288
179036
|
getAssignmentDeclarationPropertyAccessKind: () => getAssignmentDeclarationPropertyAccessKind,
|
|
179289
179037
|
getAssignmentTargetKind: () => getAssignmentTargetKind,
|
|
@@ -179324,7 +179072,6 @@ __export(ts_exports2, {
|
|
|
179324
179072
|
getContainingObjectLiteralElement: () => getContainingObjectLiteralElement,
|
|
179325
179073
|
getContextualTypeFromParent: () => getContextualTypeFromParent,
|
|
179326
179074
|
getContextualTypeFromParentOrAncestorTypeNode: () => getContextualTypeFromParentOrAncestorTypeNode,
|
|
179327
|
-
getCurrentTime: () => getCurrentTime,
|
|
179328
179075
|
getDeclarationDiagnostics: () => getDeclarationDiagnostics,
|
|
179329
179076
|
getDeclarationEmitExtensionForPath: () => getDeclarationEmitExtensionForPath,
|
|
179330
179077
|
getDeclarationEmitOutputFilePath: () => getDeclarationEmitOutputFilePath,
|
|
@@ -179426,7 +179173,6 @@ __export(ts_exports2, {
|
|
|
179426
179173
|
getImpliedNodeFormatForFileWorker: () => getImpliedNodeFormatForFileWorker,
|
|
179427
179174
|
getImportNeedsImportDefaultHelper: () => getImportNeedsImportDefaultHelper,
|
|
179428
179175
|
getImportNeedsImportStarHelper: () => getImportNeedsImportStarHelper,
|
|
179429
|
-
getIndentSize: () => getIndentSize,
|
|
179430
179176
|
getIndentString: () => getIndentString,
|
|
179431
179177
|
getInferredLibraryNameResolveFrom: () => getInferredLibraryNameResolveFrom,
|
|
179432
179178
|
getInitializedVariables: () => getInitializedVariables,
|
|
@@ -179464,7 +179210,6 @@ __export(ts_exports2, {
|
|
|
179464
179210
|
getJSDocSatisfiesExpressionType: () => getJSDocSatisfiesExpressionType,
|
|
179465
179211
|
getJSDocSatisfiesTag: () => getJSDocSatisfiesTag,
|
|
179466
179212
|
getJSDocTags: () => getJSDocTags,
|
|
179467
|
-
getJSDocTagsNoCache: () => getJSDocTagsNoCache,
|
|
179468
179213
|
getJSDocTemplateTag: () => getJSDocTemplateTag,
|
|
179469
179214
|
getJSDocThisTag: () => getJSDocThisTag,
|
|
179470
179215
|
getJSDocType: () => getJSDocType,
|
|
@@ -179488,7 +179233,6 @@ __export(ts_exports2, {
|
|
|
179488
179233
|
getLineAndCharacterOfPosition: () => getLineAndCharacterOfPosition,
|
|
179489
179234
|
getLineInfo: () => getLineInfo,
|
|
179490
179235
|
getLineOfLocalPosition: () => getLineOfLocalPosition,
|
|
179491
|
-
getLineOfLocalPositionFromLineMap: () => getLineOfLocalPositionFromLineMap,
|
|
179492
179236
|
getLineStartPositionForPosition: () => getLineStartPositionForPosition,
|
|
179493
179237
|
getLineStarts: () => getLineStarts,
|
|
179494
179238
|
getLinesBetweenPositionAndNextNonWhitespaceCharacter: () => getLinesBetweenPositionAndNextNonWhitespaceCharacter,
|
|
@@ -179552,45 +179296,37 @@ __export(ts_exports2, {
|
|
|
179552
179296
|
getNormalizedAbsolutePathWithoutRoot: () => getNormalizedAbsolutePathWithoutRoot,
|
|
179553
179297
|
getNormalizedPathComponents: () => getNormalizedPathComponents,
|
|
179554
179298
|
getObjectFlags: () => getObjectFlags,
|
|
179555
|
-
getOperator: () => getOperator,
|
|
179556
179299
|
getOperatorAssociativity: () => getOperatorAssociativity,
|
|
179557
179300
|
getOperatorPrecedence: () => getOperatorPrecedence,
|
|
179558
179301
|
getOptionFromName: () => getOptionFromName,
|
|
179559
179302
|
getOptionsForLibraryResolution: () => getOptionsForLibraryResolution,
|
|
179560
179303
|
getOptionsNameMap: () => getOptionsNameMap,
|
|
179561
179304
|
getOrCreateEmitNode: () => getOrCreateEmitNode,
|
|
179562
|
-
getOrCreateExternalHelpersModuleNameIfNeeded: () => getOrCreateExternalHelpersModuleNameIfNeeded,
|
|
179563
179305
|
getOrUpdate: () => getOrUpdate,
|
|
179564
179306
|
getOriginalNode: () => getOriginalNode,
|
|
179565
179307
|
getOriginalNodeId: () => getOriginalNodeId,
|
|
179566
|
-
getOriginalSourceFile: () => getOriginalSourceFile,
|
|
179567
179308
|
getOutputDeclarationFileName: () => getOutputDeclarationFileName,
|
|
179568
179309
|
getOutputDeclarationFileNameWorker: () => getOutputDeclarationFileNameWorker,
|
|
179569
179310
|
getOutputExtension: () => getOutputExtension,
|
|
179570
179311
|
getOutputFileNames: () => getOutputFileNames,
|
|
179571
179312
|
getOutputJSFileNameWorker: () => getOutputJSFileNameWorker,
|
|
179572
179313
|
getOutputPathsFor: () => getOutputPathsFor,
|
|
179573
|
-
getOutputPathsForBundle: () => getOutputPathsForBundle,
|
|
179574
179314
|
getOwnEmitOutputFilePath: () => getOwnEmitOutputFilePath,
|
|
179575
179315
|
getOwnKeys: () => getOwnKeys,
|
|
179576
179316
|
getOwnValues: () => getOwnValues,
|
|
179577
|
-
getPackageJsonInfo: () => getPackageJsonInfo,
|
|
179578
179317
|
getPackageJsonTypesVersionsPaths: () => getPackageJsonTypesVersionsPaths,
|
|
179579
|
-
getPackageJsonsVisibleToFile: () => getPackageJsonsVisibleToFile,
|
|
179580
179318
|
getPackageNameFromTypesPackageName: () => getPackageNameFromTypesPackageName,
|
|
179581
179319
|
getPackageScopeForPath: () => getPackageScopeForPath,
|
|
179582
179320
|
getParameterSymbolFromJSDoc: () => getParameterSymbolFromJSDoc,
|
|
179583
|
-
getParameterTypeNode: () => getParameterTypeNode,
|
|
179584
179321
|
getParentNodeInSpan: () => getParentNodeInSpan,
|
|
179585
179322
|
getParseTreeNode: () => getParseTreeNode,
|
|
179586
179323
|
getParsedCommandLineOfConfigFile: () => getParsedCommandLineOfConfigFile,
|
|
179587
179324
|
getPathComponents: () => getPathComponents,
|
|
179588
|
-
getPathComponentsRelativeTo: () => getPathComponentsRelativeTo,
|
|
179589
179325
|
getPathFromPathComponents: () => getPathFromPathComponents,
|
|
179590
179326
|
getPathUpdater: () => getPathUpdater,
|
|
179591
179327
|
getPathsBasePath: () => getPathsBasePath,
|
|
179592
179328
|
getPatternFromSpec: () => getPatternFromSpec,
|
|
179593
|
-
|
|
179329
|
+
getPendingEmitKindWithSeen: () => getPendingEmitKindWithSeen,
|
|
179594
179330
|
getPositionOfLineAndCharacter: () => getPositionOfLineAndCharacter,
|
|
179595
179331
|
getPossibleGenericSignatures: () => getPossibleGenericSignatures,
|
|
179596
179332
|
getPossibleOriginalInputExtensionForExtension: () => getPossibleOriginalInputExtensionForExtension,
|
|
@@ -179603,7 +179339,6 @@ __export(ts_exports2, {
|
|
|
179603
179339
|
getPropertyArrayElementValue: () => getPropertyArrayElementValue,
|
|
179604
179340
|
getPropertyAssignmentAliasLikeExpression: () => getPropertyAssignmentAliasLikeExpression,
|
|
179605
179341
|
getPropertyNameForPropertyNameNode: () => getPropertyNameForPropertyNameNode,
|
|
179606
|
-
getPropertyNameForUniqueESSymbol: () => getPropertyNameForUniqueESSymbol,
|
|
179607
179342
|
getPropertyNameFromType: () => getPropertyNameFromType,
|
|
179608
179343
|
getPropertyNameOfBindingOrAssignmentElement: () => getPropertyNameOfBindingOrAssignmentElement,
|
|
179609
179344
|
getPropertySymbolFromBindingElement: () => getPropertySymbolFromBindingElement,
|
|
@@ -179635,7 +179370,6 @@ __export(ts_exports2, {
|
|
|
179635
179370
|
getRootDeclaration: () => getRootDeclaration,
|
|
179636
179371
|
getRootDirectoryOfResolutionCache: () => getRootDirectoryOfResolutionCache,
|
|
179637
179372
|
getRootLength: () => getRootLength,
|
|
179638
|
-
getRootPathSplitLength: () => getRootPathSplitLength,
|
|
179639
179373
|
getScriptKind: () => getScriptKind,
|
|
179640
179374
|
getScriptKindFromFileName: () => getScriptKindFromFileName,
|
|
179641
179375
|
getScriptTargetFeatures: () => getScriptTargetFeatures,
|
|
@@ -179647,14 +179381,12 @@ __export(ts_exports2, {
|
|
|
179647
179381
|
getSetAccessorValueParameter: () => getSetAccessorValueParameter,
|
|
179648
179382
|
getSetExternalModuleIndicator: () => getSetExternalModuleIndicator,
|
|
179649
179383
|
getShebang: () => getShebang,
|
|
179650
|
-
getSingleInitializerOfVariableStatementOrPropertyDeclaration: () => getSingleInitializerOfVariableStatementOrPropertyDeclaration,
|
|
179651
179384
|
getSingleVariableOfVariableStatement: () => getSingleVariableOfVariableStatement,
|
|
179652
179385
|
getSnapshotText: () => getSnapshotText,
|
|
179653
179386
|
getSnippetElement: () => getSnippetElement,
|
|
179654
179387
|
getSourceFileOfModule: () => getSourceFileOfModule,
|
|
179655
179388
|
getSourceFileOfNode: () => getSourceFileOfNode,
|
|
179656
179389
|
getSourceFilePathInNewDir: () => getSourceFilePathInNewDir,
|
|
179657
|
-
getSourceFilePathInNewDirWorker: () => getSourceFilePathInNewDirWorker,
|
|
179658
179390
|
getSourceFileVersionAsHashFromText: () => getSourceFileVersionAsHashFromText,
|
|
179659
179391
|
getSourceFilesToEmit: () => getSourceFilesToEmit,
|
|
179660
179392
|
getSourceMapRange: () => getSourceMapRange,
|
|
@@ -179677,7 +179409,6 @@ __export(ts_exports2, {
|
|
|
179677
179409
|
getSwitchedType: () => getSwitchedType,
|
|
179678
179410
|
getSymbolId: () => getSymbolId,
|
|
179679
179411
|
getSymbolNameForPrivateIdentifier: () => getSymbolNameForPrivateIdentifier,
|
|
179680
|
-
getSymbolParentOrFail: () => getSymbolParentOrFail,
|
|
179681
179412
|
getSymbolTarget: () => getSymbolTarget,
|
|
179682
179413
|
getSyntacticClassifications: () => getSyntacticClassifications,
|
|
179683
179414
|
getSyntacticModifierFlags: () => getSyntacticModifierFlags,
|
|
@@ -179708,7 +179439,6 @@ __export(ts_exports2, {
|
|
|
179708
179439
|
getTouchingToken: () => getTouchingToken,
|
|
179709
179440
|
getTrailingCommentRanges: () => getTrailingCommentRanges,
|
|
179710
179441
|
getTrailingSemicolonDeferringWriter: () => getTrailingSemicolonDeferringWriter,
|
|
179711
|
-
getTransformFlagsSubtreeExclusions: () => getTransformFlagsSubtreeExclusions,
|
|
179712
179442
|
getTransformers: () => getTransformers,
|
|
179713
179443
|
getTsBuildInfoEmitOutputFilePath: () => getTsBuildInfoEmitOutputFilePath,
|
|
179714
179444
|
getTsConfigObjectLiteralExpression: () => getTsConfigObjectLiteralExpression,
|
|
@@ -179736,7 +179466,6 @@ __export(ts_exports2, {
|
|
|
179736
179466
|
hasAccessorModifier: () => hasAccessorModifier,
|
|
179737
179467
|
hasAmbientModifier: () => hasAmbientModifier,
|
|
179738
179468
|
hasChangesInResolutions: () => hasChangesInResolutions,
|
|
179739
|
-
hasChildOfKind: () => hasChildOfKind,
|
|
179740
179469
|
hasContextSensitiveParameters: () => hasContextSensitiveParameters,
|
|
179741
179470
|
hasDecorators: () => hasDecorators,
|
|
179742
179471
|
hasDocComment: () => hasDocComment,
|
|
@@ -179772,7 +179501,6 @@ __export(ts_exports2, {
|
|
|
179772
179501
|
hasType: () => hasType,
|
|
179773
179502
|
hasTypeArguments: () => hasTypeArguments,
|
|
179774
179503
|
hasZeroOrOneAsteriskCharacter: () => hasZeroOrOneAsteriskCharacter,
|
|
179775
|
-
helperString: () => helperString,
|
|
179776
179504
|
hostGetCanonicalFileName: () => hostGetCanonicalFileName,
|
|
179777
179505
|
hostUsesCaseSensitiveFileNames: () => hostUsesCaseSensitiveFileNames,
|
|
179778
179506
|
idText: () => idText,
|
|
@@ -179782,9 +179510,7 @@ __export(ts_exports2, {
|
|
|
179782
179510
|
identitySourceMapConsumer: () => identitySourceMapConsumer,
|
|
179783
179511
|
ignoreSourceNewlines: () => ignoreSourceNewlines,
|
|
179784
179512
|
ignoredPaths: () => ignoredPaths,
|
|
179785
|
-
importDefaultHelper: () => importDefaultHelper,
|
|
179786
179513
|
importFromModuleSpecifier: () => importFromModuleSpecifier,
|
|
179787
|
-
importStarHelper: () => importStarHelper,
|
|
179788
179514
|
indexOfAnyCharCode: () => indexOfAnyCharCode,
|
|
179789
179515
|
indexOfNode: () => indexOfNode,
|
|
179790
179516
|
indicesOf: () => indicesOf,
|
|
@@ -179792,7 +179518,6 @@ __export(ts_exports2, {
|
|
|
179792
179518
|
injectClassNamedEvaluationHelperBlockIfMissing: () => injectClassNamedEvaluationHelperBlockIfMissing,
|
|
179793
179519
|
injectClassThisAssignmentIfMissing: () => injectClassThisAssignmentIfMissing,
|
|
179794
179520
|
insertImports: () => insertImports,
|
|
179795
|
-
insertLeadingStatement: () => insertLeadingStatement,
|
|
179796
179521
|
insertSorted: () => insertSorted,
|
|
179797
179522
|
insertStatementAfterCustomPrologue: () => insertStatementAfterCustomPrologue,
|
|
179798
179523
|
insertStatementAfterStandardPrologue: () => insertStatementAfterStandardPrologue,
|
|
@@ -179808,11 +179533,9 @@ __export(ts_exports2, {
|
|
|
179808
179533
|
isAccessibilityModifier: () => isAccessibilityModifier,
|
|
179809
179534
|
isAccessor: () => isAccessor,
|
|
179810
179535
|
isAccessorModifier: () => isAccessorModifier,
|
|
179811
|
-
isAliasSymbolDeclaration: () => isAliasSymbolDeclaration,
|
|
179812
179536
|
isAliasableExpression: () => isAliasableExpression,
|
|
179813
179537
|
isAmbientModule: () => isAmbientModule,
|
|
179814
179538
|
isAmbientPropertyDeclaration: () => isAmbientPropertyDeclaration,
|
|
179815
|
-
isAnonymousFunctionDefinition: () => isAnonymousFunctionDefinition,
|
|
179816
179539
|
isAnyDirectorySeparator: () => isAnyDirectorySeparator,
|
|
179817
179540
|
isAnyImportOrBareOrAccessedRequire: () => isAnyImportOrBareOrAccessedRequire,
|
|
179818
179541
|
isAnyImportOrReExport: () => isAnyImportOrReExport,
|
|
@@ -179888,7 +179611,6 @@ __export(ts_exports2, {
|
|
|
179888
179611
|
isCatchClauseVariableDeclaration: () => isCatchClauseVariableDeclaration,
|
|
179889
179612
|
isCatchClauseVariableDeclarationOrBindingElement: () => isCatchClauseVariableDeclarationOrBindingElement,
|
|
179890
179613
|
isCheckJsEnabledForFile: () => isCheckJsEnabledForFile,
|
|
179891
|
-
isChildOfNodeWithKind: () => isChildOfNodeWithKind,
|
|
179892
179614
|
isCircularBuildOrder: () => isCircularBuildOrder,
|
|
179893
179615
|
isClassDeclaration: () => isClassDeclaration,
|
|
179894
179616
|
isClassElement: () => isClassElement,
|
|
@@ -179900,7 +179622,6 @@ __export(ts_exports2, {
|
|
|
179900
179622
|
isClassOrTypeElement: () => isClassOrTypeElement,
|
|
179901
179623
|
isClassStaticBlockDeclaration: () => isClassStaticBlockDeclaration,
|
|
179902
179624
|
isClassThisAssignmentBlock: () => isClassThisAssignmentBlock,
|
|
179903
|
-
isCollapsedRange: () => isCollapsedRange,
|
|
179904
179625
|
isColonToken: () => isColonToken,
|
|
179905
179626
|
isCommaExpression: () => isCommaExpression,
|
|
179906
179627
|
isCommaListExpression: () => isCommaListExpression,
|
|
@@ -179943,16 +179664,13 @@ __export(ts_exports2, {
|
|
|
179943
179664
|
isDeleteTarget: () => isDeleteTarget,
|
|
179944
179665
|
isDeprecatedDeclaration: () => isDeprecatedDeclaration,
|
|
179945
179666
|
isDestructuringAssignment: () => isDestructuringAssignment,
|
|
179946
|
-
isDiagnosticWithLocation: () => isDiagnosticWithLocation,
|
|
179947
179667
|
isDiskPathRoot: () => isDiskPathRoot,
|
|
179948
179668
|
isDoStatement: () => isDoStatement,
|
|
179949
179669
|
isDocumentRegistryEntry: () => isDocumentRegistryEntry,
|
|
179950
179670
|
isDotDotDotToken: () => isDotDotDotToken,
|
|
179951
179671
|
isDottedName: () => isDottedName,
|
|
179952
179672
|
isDynamicName: () => isDynamicName,
|
|
179953
|
-
isESSymbolIdentifier: () => isESSymbolIdentifier,
|
|
179954
179673
|
isEffectiveExternalModule: () => isEffectiveExternalModule,
|
|
179955
|
-
isEffectiveModuleDeclaration: () => isEffectiveModuleDeclaration,
|
|
179956
179674
|
isEffectiveStrictModeSourceFile: () => isEffectiveStrictModeSourceFile,
|
|
179957
179675
|
isElementAccessChain: () => isElementAccessChain,
|
|
179958
179676
|
isElementAccessExpression: () => isElementAccessExpression,
|
|
@@ -180022,13 +179740,11 @@ __export(ts_exports2, {
|
|
|
180022
179740
|
isFunctionOrModuleBlock: () => isFunctionOrModuleBlock,
|
|
180023
179741
|
isFunctionSymbol: () => isFunctionSymbol,
|
|
180024
179742
|
isFunctionTypeNode: () => isFunctionTypeNode,
|
|
180025
|
-
isFutureReservedKeyword: () => isFutureReservedKeyword,
|
|
180026
179743
|
isGeneratedIdentifier: () => isGeneratedIdentifier,
|
|
180027
179744
|
isGeneratedPrivateIdentifier: () => isGeneratedPrivateIdentifier,
|
|
180028
179745
|
isGetAccessor: () => isGetAccessor,
|
|
180029
179746
|
isGetAccessorDeclaration: () => isGetAccessorDeclaration,
|
|
180030
179747
|
isGetOrSetAccessorDeclaration: () => isGetOrSetAccessorDeclaration,
|
|
180031
|
-
isGlobalDeclaration: () => isGlobalDeclaration,
|
|
180032
179748
|
isGlobalScopeAugmentation: () => isGlobalScopeAugmentation,
|
|
180033
179749
|
isGlobalSourceFile: () => isGlobalSourceFile,
|
|
180034
179750
|
isGrammarError: () => isGrammarError,
|
|
@@ -180184,7 +179900,6 @@ __export(ts_exports2, {
|
|
|
180184
179900
|
isLabeledStatement: () => isLabeledStatement,
|
|
180185
179901
|
isLateVisibilityPaintedStatement: () => isLateVisibilityPaintedStatement,
|
|
180186
179902
|
isLeftHandSideExpression: () => isLeftHandSideExpression,
|
|
180187
|
-
isLeftHandSideOfAssignment: () => isLeftHandSideOfAssignment,
|
|
180188
179903
|
isLet: () => isLet,
|
|
180189
179904
|
isLineBreak: () => isLineBreak,
|
|
180190
179905
|
isLiteralComputedPropertyDeclarationName: () => isLiteralComputedPropertyDeclarationName,
|
|
@@ -180192,10 +179907,7 @@ __export(ts_exports2, {
|
|
|
180192
179907
|
isLiteralExpressionOfObject: () => isLiteralExpressionOfObject,
|
|
180193
179908
|
isLiteralImportTypeNode: () => isLiteralImportTypeNode,
|
|
180194
179909
|
isLiteralKind: () => isLiteralKind,
|
|
180195
|
-
isLiteralLikeAccess: () => isLiteralLikeAccess,
|
|
180196
|
-
isLiteralLikeElementAccess: () => isLiteralLikeElementAccess,
|
|
180197
179910
|
isLiteralNameOfPropertyDeclarationOrIndexAccess: () => isLiteralNameOfPropertyDeclarationOrIndexAccess,
|
|
180198
|
-
isLiteralTypeLikeExpression: () => isLiteralTypeLikeExpression,
|
|
180199
179911
|
isLiteralTypeLiteral: () => isLiteralTypeLiteral,
|
|
180200
179912
|
isLiteralTypeNode: () => isLiteralTypeNode,
|
|
180201
179913
|
isLocalName: () => isLocalName,
|
|
@@ -180230,7 +179942,6 @@ __export(ts_exports2, {
|
|
|
180230
179942
|
isModuleWithStringLiteralName: () => isModuleWithStringLiteralName,
|
|
180231
179943
|
isNameOfFunctionDeclaration: () => isNameOfFunctionDeclaration,
|
|
180232
179944
|
isNameOfModuleDeclaration: () => isNameOfModuleDeclaration,
|
|
180233
|
-
isNamedClassElement: () => isNamedClassElement,
|
|
180234
179945
|
isNamedDeclaration: () => isNamedDeclaration,
|
|
180235
179946
|
isNamedEvaluation: () => isNamedEvaluation,
|
|
180236
179947
|
isNamedEvaluationSource: () => isNamedEvaluationSource,
|
|
@@ -180248,7 +179959,6 @@ __export(ts_exports2, {
|
|
|
180248
179959
|
isNewExpression: () => isNewExpression,
|
|
180249
179960
|
isNewExpressionTarget: () => isNewExpressionTarget,
|
|
180250
179961
|
isNoSubstitutionTemplateLiteral: () => isNoSubstitutionTemplateLiteral,
|
|
180251
|
-
isNode: () => isNode,
|
|
180252
179962
|
isNodeArray: () => isNodeArray,
|
|
180253
179963
|
isNodeArrayMultiLine: () => isNodeArrayMultiLine,
|
|
180254
179964
|
isNodeDescendantOf: () => isNodeDescendantOf,
|
|
@@ -180257,15 +179967,11 @@ __export(ts_exports2, {
|
|
|
180257
179967
|
isNodeModulesDirectory: () => isNodeModulesDirectory,
|
|
180258
179968
|
isNodeWithPossibleHoistedDeclaration: () => isNodeWithPossibleHoistedDeclaration,
|
|
180259
179969
|
isNonContextualKeyword: () => isNonContextualKeyword,
|
|
180260
|
-
isNonExportDefaultModifier: () => isNonExportDefaultModifier,
|
|
180261
179970
|
isNonGlobalAmbientModule: () => isNonGlobalAmbientModule,
|
|
180262
|
-
isNonGlobalDeclaration: () => isNonGlobalDeclaration,
|
|
180263
|
-
isNonIncrementalBuildInfo: () => isNonIncrementalBuildInfo,
|
|
180264
179971
|
isNonNullAccess: () => isNonNullAccess,
|
|
180265
179972
|
isNonNullChain: () => isNonNullChain,
|
|
180266
179973
|
isNonNullExpression: () => isNonNullExpression,
|
|
180267
179974
|
isNonStaticMethodOrAccessorWithPrivateName: () => isNonStaticMethodOrAccessorWithPrivateName,
|
|
180268
|
-
isNotEmittedOrPartiallyEmittedNode: () => isNotEmittedOrPartiallyEmittedNode,
|
|
180269
179975
|
isNotEmittedStatement: () => isNotEmittedStatement,
|
|
180270
179976
|
isNullishCoalesce: () => isNullishCoalesce,
|
|
180271
179977
|
isNumber: () => isNumber,
|
|
@@ -180281,7 +179987,6 @@ __export(ts_exports2, {
|
|
|
180281
179987
|
isObjectLiteralMethod: () => isObjectLiteralMethod,
|
|
180282
179988
|
isObjectLiteralOrClassExpressionMethodOrAccessor: () => isObjectLiteralOrClassExpressionMethodOrAccessor,
|
|
180283
179989
|
isObjectTypeDeclaration: () => isObjectTypeDeclaration,
|
|
180284
|
-
isOctalDigit: () => isOctalDigit,
|
|
180285
179990
|
isOmittedExpression: () => isOmittedExpression,
|
|
180286
179991
|
isOptionalChain: () => isOptionalChain,
|
|
180287
179992
|
isOptionalChainRoot: () => isOptionalChainRoot,
|
|
@@ -180327,7 +180032,6 @@ __export(ts_exports2, {
|
|
|
180327
180032
|
isPropertyName: () => isPropertyName,
|
|
180328
180033
|
isPropertyNameLiteral: () => isPropertyNameLiteral,
|
|
180329
180034
|
isPropertySignature: () => isPropertySignature,
|
|
180330
|
-
isProtoSetter: () => isProtoSetter,
|
|
180331
180035
|
isPrototypeAccess: () => isPrototypeAccess,
|
|
180332
180036
|
isPrototypePropertyAssignment: () => isPrototypePropertyAssignment,
|
|
180333
180037
|
isPunctuation: () => isPunctuation,
|
|
@@ -180337,7 +180041,6 @@ __export(ts_exports2, {
|
|
|
180337
180041
|
isQuestionOrExclamationToken: () => isQuestionOrExclamationToken,
|
|
180338
180042
|
isQuestionOrPlusOrMinusToken: () => isQuestionOrPlusOrMinusToken,
|
|
180339
180043
|
isQuestionToken: () => isQuestionToken,
|
|
180340
|
-
isRawSourceMap: () => isRawSourceMap,
|
|
180341
180044
|
isReadonlyKeyword: () => isReadonlyKeyword,
|
|
180342
180045
|
isReadonlyKeywordOrPlusOrMinusToken: () => isReadonlyKeywordOrPlusOrMinusToken,
|
|
180343
180046
|
isRecognizedTripleSlashComment: () => isRecognizedTripleSlashComment,
|
|
@@ -180359,25 +180062,21 @@ __export(ts_exports2, {
|
|
|
180359
180062
|
isRootedDiskPath: () => isRootedDiskPath,
|
|
180360
180063
|
isSameEntityName: () => isSameEntityName,
|
|
180361
180064
|
isSatisfiesExpression: () => isSatisfiesExpression,
|
|
180362
|
-
isScopeMarker: () => isScopeMarker,
|
|
180363
180065
|
isSemicolonClassElement: () => isSemicolonClassElement,
|
|
180364
180066
|
isSetAccessor: () => isSetAccessor,
|
|
180365
180067
|
isSetAccessorDeclaration: () => isSetAccessorDeclaration,
|
|
180366
|
-
isShebangTrivia: () => isShebangTrivia,
|
|
180367
180068
|
isShiftOperatorOrHigher: () => isShiftOperatorOrHigher,
|
|
180368
180069
|
isShorthandAmbientModuleSymbol: () => isShorthandAmbientModuleSymbol,
|
|
180369
180070
|
isShorthandPropertyAssignment: () => isShorthandPropertyAssignment,
|
|
180370
180071
|
isSignedNumericLiteral: () => isSignedNumericLiteral,
|
|
180371
180072
|
isSimpleCopiableExpression: () => isSimpleCopiableExpression,
|
|
180372
180073
|
isSimpleInlineableExpression: () => isSimpleInlineableExpression,
|
|
180373
|
-
isSimpleParameter: () => isSimpleParameter,
|
|
180374
180074
|
isSimpleParameterList: () => isSimpleParameterList,
|
|
180375
180075
|
isSingleOrDoubleQuote: () => isSingleOrDoubleQuote,
|
|
180376
180076
|
isSourceElement: () => isSourceElement,
|
|
180377
180077
|
isSourceFile: () => isSourceFile,
|
|
180378
180078
|
isSourceFileFromLibrary: () => isSourceFileFromLibrary,
|
|
180379
180079
|
isSourceFileJS: () => isSourceFileJS,
|
|
180380
|
-
isSourceFileNotJS: () => isSourceFileNotJS,
|
|
180381
180080
|
isSourceFileNotJson: () => isSourceFileNotJson,
|
|
180382
180081
|
isSourceMapping: () => isSourceMapping,
|
|
180383
180082
|
isSpecialPropertyDeclaration: () => isSpecialPropertyDeclaration,
|
|
@@ -180390,7 +180089,6 @@ __export(ts_exports2, {
|
|
|
180390
180089
|
isStatic: () => isStatic,
|
|
180391
180090
|
isStaticModifier: () => isStaticModifier,
|
|
180392
180091
|
isString: () => isString,
|
|
180393
|
-
isStringAKeyword: () => isStringAKeyword,
|
|
180394
180092
|
isStringANonContextualKeyword: () => isStringANonContextualKeyword,
|
|
180395
180093
|
isStringAndEmptyAnonymousObjectIntersection: () => isStringAndEmptyAnonymousObjectIntersection,
|
|
180396
180094
|
isStringDoubleQuoted: () => isStringDoubleQuoted,
|
|
@@ -180403,7 +180101,6 @@ __export(ts_exports2, {
|
|
|
180403
180101
|
isStringTextContainingNode: () => isStringTextContainingNode,
|
|
180404
180102
|
isSuperCall: () => isSuperCall,
|
|
180405
180103
|
isSuperKeyword: () => isSuperKeyword,
|
|
180406
|
-
isSuperOrSuperProperty: () => isSuperOrSuperProperty,
|
|
180407
180104
|
isSuperProperty: () => isSuperProperty,
|
|
180408
180105
|
isSupportedSourceFileName: () => isSupportedSourceFileName,
|
|
180409
180106
|
isSwitchStatement: () => isSwitchStatement,
|
|
@@ -180449,7 +180146,6 @@ __export(ts_exports2, {
|
|
|
180449
180146
|
isTypeDeclaration: () => isTypeDeclaration,
|
|
180450
180147
|
isTypeElement: () => isTypeElement,
|
|
180451
180148
|
isTypeKeyword: () => isTypeKeyword,
|
|
180452
|
-
isTypeKeywordToken: () => isTypeKeywordToken,
|
|
180453
180149
|
isTypeKeywordTokenOrIdentifier: () => isTypeKeywordTokenOrIdentifier,
|
|
180454
180150
|
isTypeLiteralNode: () => isTypeLiteralNode,
|
|
180455
180151
|
isTypeNode: () => isTypeNode,
|
|
@@ -180504,9 +180200,6 @@ __export(ts_exports2, {
|
|
|
180504
180200
|
libMap: () => libMap,
|
|
180505
180201
|
libs: () => libs,
|
|
180506
180202
|
lineBreakPart: () => lineBreakPart,
|
|
180507
|
-
linkNamePart: () => linkNamePart,
|
|
180508
|
-
linkPart: () => linkPart,
|
|
180509
|
-
linkTextPart: () => linkTextPart,
|
|
180510
180203
|
loadModuleFromGlobalCache: () => loadModuleFromGlobalCache,
|
|
180511
180204
|
loadWithModeAwareCache: () => loadWithModeAwareCache,
|
|
180512
180205
|
makeIdentifierFromModuleName: () => makeIdentifierFromModuleName,
|
|
@@ -180529,10 +180222,7 @@ __export(ts_exports2, {
|
|
|
180529
180222
|
maybeBind: () => maybeBind,
|
|
180530
180223
|
maybeSetLocalizedDiagnosticMessages: () => maybeSetLocalizedDiagnosticMessages,
|
|
180531
180224
|
memoize: () => memoize,
|
|
180532
|
-
memoizeCached: () => memoizeCached,
|
|
180533
180225
|
memoizeOne: () => memoizeOne,
|
|
180534
|
-
memoizeWeak: () => memoizeWeak,
|
|
180535
|
-
metadataHelper: () => metadataHelper,
|
|
180536
180226
|
min: () => min,
|
|
180537
180227
|
minAndMax: () => minAndMax,
|
|
180538
180228
|
missingFileModifiedTime: () => missingFileModifiedTime,
|
|
@@ -180580,7 +180270,6 @@ __export(ts_exports2, {
|
|
|
180580
180270
|
nodePosToString: () => nodePosToString,
|
|
180581
180271
|
nodeSeenTracker: () => nodeSeenTracker,
|
|
180582
180272
|
nodeStartsNewLexicalEnvironment: () => nodeStartsNewLexicalEnvironment,
|
|
180583
|
-
nodeToDisplayParts: () => nodeToDisplayParts,
|
|
180584
180273
|
noop: () => noop,
|
|
180585
180274
|
noopFileWatcher: () => noopFileWatcher,
|
|
180586
180275
|
normalizePath: () => normalizePath,
|
|
@@ -180600,13 +180289,11 @@ __export(ts_exports2, {
|
|
|
180600
180289
|
optionsForBuild: () => optionsForBuild,
|
|
180601
180290
|
optionsForWatch: () => optionsForWatch,
|
|
180602
180291
|
optionsHaveChanges: () => optionsHaveChanges,
|
|
180603
|
-
optionsHaveModuleResolutionChanges: () => optionsHaveModuleResolutionChanges,
|
|
180604
180292
|
or: () => or,
|
|
180605
180293
|
orderedRemoveItem: () => orderedRemoveItem,
|
|
180606
180294
|
orderedRemoveItemAt: () => orderedRemoveItemAt,
|
|
180607
180295
|
packageIdToPackageName: () => packageIdToPackageName,
|
|
180608
180296
|
packageIdToString: () => packageIdToString,
|
|
180609
|
-
paramHelper: () => paramHelper,
|
|
180610
180297
|
parameterIsThisKeyword: () => parameterIsThisKeyword,
|
|
180611
180298
|
parameterNamePart: () => parameterNamePart,
|
|
180612
180299
|
parseBaseNodeFactory: () => parseBaseNodeFactory,
|
|
@@ -180639,7 +180326,6 @@ __export(ts_exports2, {
|
|
|
180639
180326
|
patternText: () => patternText,
|
|
180640
180327
|
performIncrementalCompilation: () => performIncrementalCompilation,
|
|
180641
180328
|
performance: () => ts_performance_exports,
|
|
180642
|
-
plainJSErrors: () => plainJSErrors,
|
|
180643
180329
|
positionBelongsToNode: () => positionBelongsToNode,
|
|
180644
180330
|
positionIsASICandidate: () => positionIsASICandidate,
|
|
180645
180331
|
positionIsSynthesized: () => positionIsSynthesized,
|
|
@@ -180652,7 +180338,6 @@ __export(ts_exports2, {
|
|
|
180652
180338
|
programContainsEsModules: () => programContainsEsModules,
|
|
180653
180339
|
programContainsModules: () => programContainsModules,
|
|
180654
180340
|
projectReferenceIsEqualTo: () => projectReferenceIsEqualTo,
|
|
180655
|
-
propKeyHelper: () => propKeyHelper,
|
|
180656
180341
|
propertyNamePart: () => propertyNamePart,
|
|
180657
180342
|
pseudoBigIntToString: () => pseudoBigIntToString,
|
|
180658
180343
|
punctuationPart: () => punctuationPart,
|
|
@@ -180675,7 +180360,6 @@ __export(ts_exports2, {
|
|
|
180675
180360
|
rangeStartPositionsAreOnSameLine: () => rangeStartPositionsAreOnSameLine,
|
|
180676
180361
|
readBuilderProgram: () => readBuilderProgram,
|
|
180677
180362
|
readConfigFile: () => readConfigFile,
|
|
180678
|
-
readHelper: () => readHelper,
|
|
180679
180363
|
readJson: () => readJson,
|
|
180680
180364
|
readJsonConfigFile: () => readJsonConfigFile,
|
|
180681
180365
|
readJsonOrUndefined: () => readJsonOrUndefined,
|
|
@@ -180694,7 +180378,6 @@ __export(ts_exports2, {
|
|
|
180694
180378
|
removeFileExtension: () => removeFileExtension,
|
|
180695
180379
|
removeIgnoredPath: () => removeIgnoredPath,
|
|
180696
180380
|
removeMinAndVersionNumbers: () => removeMinAndVersionNumbers,
|
|
180697
|
-
removeOptionality: () => removeOptionality,
|
|
180698
180381
|
removePrefix: () => removePrefix,
|
|
180699
180382
|
removeSuffix: () => removeSuffix,
|
|
180700
180383
|
removeTrailingDirectorySeparator: () => removeTrailingDirectorySeparator,
|
|
@@ -180713,20 +180396,16 @@ __export(ts_exports2, {
|
|
|
180713
180396
|
resolveTripleslashReference: () => resolveTripleslashReference,
|
|
180714
180397
|
resolveTypeReferenceDirective: () => resolveTypeReferenceDirective,
|
|
180715
180398
|
resolvingEmptyArray: () => resolvingEmptyArray,
|
|
180716
|
-
restHelper: () => restHelper,
|
|
180717
180399
|
returnFalse: () => returnFalse,
|
|
180718
180400
|
returnNoopFileWatcher: () => returnNoopFileWatcher,
|
|
180719
180401
|
returnTrue: () => returnTrue,
|
|
180720
180402
|
returnUndefined: () => returnUndefined,
|
|
180721
180403
|
returnsPromise: () => returnsPromise,
|
|
180722
|
-
runInitializersHelper: () => runInitializersHelper,
|
|
180723
180404
|
sameFlatMap: () => sameFlatMap,
|
|
180724
180405
|
sameMap: () => sameMap,
|
|
180725
180406
|
sameMapping: () => sameMapping,
|
|
180726
|
-
scanShebangTrivia: () => scanShebangTrivia,
|
|
180727
180407
|
scanTokenAtPosition: () => scanTokenAtPosition,
|
|
180728
180408
|
scanner: () => scanner,
|
|
180729
|
-
screenStartingMessageCodes: () => screenStartingMessageCodes,
|
|
180730
180409
|
semanticDiagnosticsOptionDeclarations: () => semanticDiagnosticsOptionDeclarations,
|
|
180731
180410
|
serializeCompilerOptions: () => serializeCompilerOptions,
|
|
180732
180411
|
server: () => ts_server_exports3,
|
|
@@ -180734,16 +180413,13 @@ __export(ts_exports2, {
|
|
|
180734
180413
|
setCommentRange: () => setCommentRange,
|
|
180735
180414
|
setConfigFileInOptions: () => setConfigFileInOptions,
|
|
180736
180415
|
setConstantValue: () => setConstantValue,
|
|
180737
|
-
setEachParent: () => setEachParent,
|
|
180738
180416
|
setEmitFlags: () => setEmitFlags,
|
|
180739
|
-
setFunctionNameHelper: () => setFunctionNameHelper,
|
|
180740
180417
|
setGetSourceFileAsHashVersioned: () => setGetSourceFileAsHashVersioned,
|
|
180741
180418
|
setIdentifierAutoGenerate: () => setIdentifierAutoGenerate,
|
|
180742
180419
|
setIdentifierGeneratedImportReference: () => setIdentifierGeneratedImportReference,
|
|
180743
180420
|
setIdentifierTypeArguments: () => setIdentifierTypeArguments,
|
|
180744
180421
|
setInternalEmitFlags: () => setInternalEmitFlags,
|
|
180745
180422
|
setLocalizedDiagnosticMessages: () => setLocalizedDiagnosticMessages,
|
|
180746
|
-
setModuleDefaultHelper: () => setModuleDefaultHelper,
|
|
180747
180423
|
setNodeChildren: () => setNodeChildren,
|
|
180748
180424
|
setNodeFlags: () => setNodeFlags,
|
|
180749
180425
|
setObjectAllocator: () => setObjectAllocator,
|
|
@@ -180772,7 +180448,6 @@ __export(ts_exports2, {
|
|
|
180772
180448
|
shouldPreserveConstEnums: () => shouldPreserveConstEnums,
|
|
180773
180449
|
shouldUseUriStyleNodeCoreModules: () => shouldUseUriStyleNodeCoreModules,
|
|
180774
180450
|
showModuleSpecifier: () => showModuleSpecifier,
|
|
180775
|
-
signatureHasLiteralTypes: () => signatureHasLiteralTypes,
|
|
180776
180451
|
signatureHasRestParameter: () => signatureHasRestParameter,
|
|
180777
180452
|
signatureToDisplayParts: () => signatureToDisplayParts,
|
|
180778
180453
|
single: () => single,
|
|
@@ -180781,7 +180456,6 @@ __export(ts_exports2, {
|
|
|
180781
180456
|
singleOrMany: () => singleOrMany,
|
|
180782
180457
|
singleOrUndefined: () => singleOrUndefined,
|
|
180783
180458
|
skipAlias: () => skipAlias,
|
|
180784
|
-
skipAssertions: () => skipAssertions,
|
|
180785
180459
|
skipConstraint: () => skipConstraint,
|
|
180786
180460
|
skipOuterExpressions: () => skipOuterExpressions,
|
|
180787
180461
|
skipParentheses: () => skipParentheses,
|
|
@@ -180802,7 +180476,6 @@ __export(ts_exports2, {
|
|
|
180802
180476
|
sourceMapCommentRegExpDontCareLineStart: () => sourceMapCommentRegExpDontCareLineStart,
|
|
180803
180477
|
spacePart: () => spacePart,
|
|
180804
180478
|
spanMap: () => spanMap,
|
|
180805
|
-
spreadArrayHelper: () => spreadArrayHelper,
|
|
180806
180479
|
stableSort: () => stableSort,
|
|
180807
180480
|
startEndContainsRange: () => startEndContainsRange,
|
|
180808
180481
|
startEndOverlapsWithStartEnd: () => startEndOverlapsWithStartEnd,
|
|
@@ -180816,10 +180489,8 @@ __export(ts_exports2, {
|
|
|
180816
180489
|
stringToToken: () => stringToToken,
|
|
180817
180490
|
stripQuotes: () => stripQuotes,
|
|
180818
180491
|
supportedDeclarationExtensions: () => supportedDeclarationExtensions,
|
|
180819
|
-
supportedJSExtensions: () => supportedJSExtensions,
|
|
180820
180492
|
supportedJSExtensionsFlat: () => supportedJSExtensionsFlat,
|
|
180821
180493
|
supportedLocaleDirectories: () => supportedLocaleDirectories,
|
|
180822
|
-
supportedTSExtensions: () => supportedTSExtensions,
|
|
180823
180494
|
supportedTSExtensionsFlat: () => supportedTSExtensionsFlat,
|
|
180824
180495
|
supportedTSImplementationExtensions: () => supportedTSImplementationExtensions,
|
|
180825
180496
|
suppressLeadingAndTrailingTrivia: () => suppressLeadingAndTrailingTrivia,
|
|
@@ -180828,16 +180499,12 @@ __export(ts_exports2, {
|
|
|
180828
180499
|
symbolEscapedNameNoDefault: () => symbolEscapedNameNoDefault,
|
|
180829
180500
|
symbolName: () => symbolName,
|
|
180830
180501
|
symbolNameNoDefault: () => symbolNameNoDefault,
|
|
180831
|
-
symbolPart: () => symbolPart,
|
|
180832
180502
|
symbolToDisplayParts: () => symbolToDisplayParts,
|
|
180833
|
-
syntaxMayBeASICandidate: () => syntaxMayBeASICandidate,
|
|
180834
|
-
syntaxRequiresTrailingSemicolonOrASI: () => syntaxRequiresTrailingSemicolonOrASI,
|
|
180835
180503
|
sys: () => sys,
|
|
180836
180504
|
sysLog: () => sysLog,
|
|
180837
180505
|
tagNamesAreEquivalent: () => tagNamesAreEquivalent,
|
|
180838
180506
|
takeWhile: () => takeWhile,
|
|
180839
180507
|
targetOptionDeclaration: () => targetOptionDeclaration,
|
|
180840
|
-
templateObjectHelper: () => templateObjectHelper,
|
|
180841
180508
|
testFormatSettings: () => testFormatSettings,
|
|
180842
180509
|
textChangeRangeIsUnchanged: () => textChangeRangeIsUnchanged,
|
|
180843
180510
|
textChangeRangeNewSpan: () => textChangeRangeNewSpan,
|
|
@@ -180866,7 +180533,6 @@ __export(ts_exports2, {
|
|
|
180866
180533
|
toBuilderStateFileInfoForMultiEmit: () => toBuilderStateFileInfoForMultiEmit,
|
|
180867
180534
|
toEditorSettings: () => toEditorSettings,
|
|
180868
180535
|
toFileNameLowerCase: () => toFileNameLowerCase,
|
|
180869
|
-
toLowerCase: () => toLowerCase,
|
|
180870
180536
|
toPath: () => toPath,
|
|
180871
180537
|
toProgramEmitPending: () => toProgramEmitPending,
|
|
180872
180538
|
tokenIsIdentifierOrKeyword: () => tokenIsIdentifierOrKeyword,
|
|
@@ -180920,7 +180586,6 @@ __export(ts_exports2, {
|
|
|
180920
180586
|
tryGetPropertyNameOfBindingOrAssignmentElement: () => tryGetPropertyNameOfBindingOrAssignmentElement,
|
|
180921
180587
|
tryGetSourceMappingURL: () => tryGetSourceMappingURL,
|
|
180922
180588
|
tryGetTextOfPropertyName: () => tryGetTextOfPropertyName,
|
|
180923
|
-
tryIOAndConsumeErrors: () => tryIOAndConsumeErrors,
|
|
180924
180589
|
tryParseJson: () => tryParseJson,
|
|
180925
180590
|
tryParsePattern: () => tryParsePattern,
|
|
180926
180591
|
tryParsePatterns: () => tryParsePatterns,
|
|
@@ -180942,7 +180607,6 @@ __export(ts_exports2, {
|
|
|
180942
180607
|
unescapeLeadingUnderscores: () => unescapeLeadingUnderscores,
|
|
180943
180608
|
unmangleScopedPackageName: () => unmangleScopedPackageName,
|
|
180944
180609
|
unorderedRemoveItem: () => unorderedRemoveItem,
|
|
180945
|
-
unorderedRemoveItemAt: () => unorderedRemoveItemAt,
|
|
180946
180610
|
unreachableCodeIsError: () => unreachableCodeIsError,
|
|
180947
180611
|
unsetNodeChildren: () => unsetNodeChildren,
|
|
180948
180612
|
unusedLabelIsError: () => unusedLabelIsError,
|
|
@@ -180955,11 +180619,9 @@ __export(ts_exports2, {
|
|
|
180955
180619
|
updateSharedExtendedConfigFileWatcher: () => updateSharedExtendedConfigFileWatcher,
|
|
180956
180620
|
updateSourceFile: () => updateSourceFile,
|
|
180957
180621
|
updateWatchingWildcardDirectories: () => updateWatchingWildcardDirectories,
|
|
180958
|
-
usesExtensionsOnImports: () => usesExtensionsOnImports,
|
|
180959
180622
|
usingSingleLineStringWriter: () => usingSingleLineStringWriter,
|
|
180960
180623
|
utf16EncodeAsString: () => utf16EncodeAsString,
|
|
180961
180624
|
validateLocaleAndSetLanguage: () => validateLocaleAndSetLanguage,
|
|
180962
|
-
valuesHelper: () => valuesHelper,
|
|
180963
180625
|
version: () => version,
|
|
180964
180626
|
versionMajorMinor: () => versionMajorMinor,
|
|
180965
180627
|
visitArray: () => visitArray,
|
|
@@ -180972,7 +180634,6 @@ __export(ts_exports2, {
|
|
|
180972
180634
|
visitNodes: () => visitNodes2,
|
|
180973
180635
|
visitParameterList: () => visitParameterList,
|
|
180974
180636
|
walkUpBindingElementsAndPatterns: () => walkUpBindingElementsAndPatterns,
|
|
180975
|
-
walkUpLexicalEnvironments: () => walkUpLexicalEnvironments,
|
|
180976
180637
|
walkUpOuterExpressions: () => walkUpOuterExpressions,
|
|
180977
180638
|
walkUpParenthesizedExpressions: () => walkUpParenthesizedExpressions,
|
|
180978
180639
|
walkUpParenthesizedTypes: () => walkUpParenthesizedTypes,
|
|
@@ -181156,7 +180817,6 @@ __export(ts_server_exports3, {
|
|
|
181156
180817
|
createSortedArray: () => createSortedArray2,
|
|
181157
180818
|
emptyArray: () => emptyArray2,
|
|
181158
180819
|
findArgument: () => findArgument,
|
|
181159
|
-
forEachResolvedProjectReferenceProject: () => forEachResolvedProjectReferenceProject,
|
|
181160
180820
|
formatDiagnosticToProtocol: () => formatDiagnosticToProtocol,
|
|
181161
180821
|
formatMessage: () => formatMessage2,
|
|
181162
180822
|
getBaseConfigFileName: () => getBaseConfigFileName,
|
|
@@ -181182,7 +180842,6 @@ __export(ts_server_exports3, {
|
|
|
181182
180842
|
nullCancellationToken: () => nullCancellationToken,
|
|
181183
180843
|
nullTypingsInstaller: () => nullTypingsInstaller,
|
|
181184
180844
|
protocol: () => ts_server_protocol_exports,
|
|
181185
|
-
removeSorted: () => removeSorted,
|
|
181186
180845
|
stringifyIndented: () => stringifyIndented,
|
|
181187
180846
|
toEvent: () => toEvent,
|
|
181188
180847
|
toNormalizedPath: () => toNormalizedPath,
|
|
@@ -181757,19 +181416,6 @@ function getBaseConfigFileName(configFilePath) {
|
|
|
181757
181416
|
const base = getBaseFileName(configFilePath);
|
|
181758
181417
|
return base === "tsconfig.json" || base === "jsconfig.json" ? base : void 0;
|
|
181759
181418
|
}
|
|
181760
|
-
function removeSorted(array, remove, compare) {
|
|
181761
|
-
if (!array || array.length === 0) {
|
|
181762
|
-
return;
|
|
181763
|
-
}
|
|
181764
|
-
if (array[0] === remove) {
|
|
181765
|
-
array.splice(0, 1);
|
|
181766
|
-
return;
|
|
181767
|
-
}
|
|
181768
|
-
const removeIndex = binarySearch(array, remove, identity, compare);
|
|
181769
|
-
if (removeIndex >= 0) {
|
|
181770
|
-
array.splice(removeIndex, 1);
|
|
181771
|
-
}
|
|
181772
|
-
}
|
|
181773
181419
|
|
|
181774
181420
|
// src/server/_namespaces/ts.server.protocol.ts
|
|
181775
181421
|
var ts_server_protocol_exports = {};
|
|
@@ -182680,6 +182326,7 @@ var Project2 = class _Project {
|
|
|
182680
182326
|
this.trace = (s) => host.trace(s);
|
|
182681
182327
|
}
|
|
182682
182328
|
this.realpath = maybeBind(host, host.realpath);
|
|
182329
|
+
this.preferNonRecursiveWatch = this.projectService.canUseWatchEvents || host.preferNonRecursiveWatch;
|
|
182683
182330
|
this.resolutionCache = createResolutionCache(
|
|
182684
182331
|
this,
|
|
182685
182332
|
this.currentDirectory,
|
|
@@ -183645,7 +183292,7 @@ var Project2 = class _Project {
|
|
|
183645
183292
|
this.generatedFilesMap.forEach((watcher, source) => {
|
|
183646
183293
|
const sourceFile = this.program.getSourceFileByPath(source);
|
|
183647
183294
|
if (!sourceFile || sourceFile.resolvedPath !== source || !this.isValidGeneratedFileWatcher(
|
|
183648
|
-
getDeclarationEmitOutputFilePathWorker(sourceFile.fileName, this.compilerOptions, this.
|
|
183295
|
+
getDeclarationEmitOutputFilePathWorker(sourceFile.fileName, this.compilerOptions, this.program),
|
|
183649
183296
|
watcher
|
|
183650
183297
|
)) {
|
|
183651
183298
|
closeFileWatcherOf(watcher);
|
|
@@ -185283,8 +184930,11 @@ function createProjectNameFactoryWithCounter(nameFactory) {
|
|
|
185283
184930
|
function getHostWatcherMap() {
|
|
185284
184931
|
return { idToCallbacks: /* @__PURE__ */ new Map(), pathToId: /* @__PURE__ */ new Map() };
|
|
185285
184932
|
}
|
|
184933
|
+
function getCanUseWatchEvents(service, canUseWatchEvents) {
|
|
184934
|
+
return !!canUseWatchEvents && !!service.eventHandler && !!service.session;
|
|
184935
|
+
}
|
|
185286
184936
|
function createWatchFactoryHostUsingWatchEvents(service, canUseWatchEvents) {
|
|
185287
|
-
if (!
|
|
184937
|
+
if (!getCanUseWatchEvents(service, canUseWatchEvents)) return void 0;
|
|
185288
184938
|
const watchedFiles = getHostWatcherMap();
|
|
185289
184939
|
const watchedDirectories = getHostWatcherMap();
|
|
185290
184940
|
const watchedDirectoriesRecursive = getHostWatcherMap();
|
|
@@ -185505,6 +185155,7 @@ var _ProjectService = class _ProjectService {
|
|
|
185505
185155
|
log,
|
|
185506
185156
|
getDetailWatchInfo
|
|
185507
185157
|
);
|
|
185158
|
+
this.canUseWatchEvents = getCanUseWatchEvents(this, opts.canUseWatchEvents);
|
|
185508
185159
|
(_a = opts.incrementalVerifier) == null ? void 0 : _a.call(opts, this);
|
|
185509
185160
|
}
|
|
185510
185161
|
toPath(fileName) {
|
|
@@ -193087,7 +192738,6 @@ __export(ts_server_exports4, {
|
|
|
193087
192738
|
createSortedArray: () => createSortedArray2,
|
|
193088
192739
|
emptyArray: () => emptyArray2,
|
|
193089
192740
|
findArgument: () => findArgument,
|
|
193090
|
-
forEachResolvedProjectReferenceProject: () => forEachResolvedProjectReferenceProject,
|
|
193091
192741
|
formatDiagnosticToProtocol: () => formatDiagnosticToProtocol,
|
|
193092
192742
|
formatMessage: () => formatMessage2,
|
|
193093
192743
|
getBaseConfigFileName: () => getBaseConfigFileName,
|
|
@@ -193113,7 +192763,6 @@ __export(ts_server_exports4, {
|
|
|
193113
192763
|
nullCancellationToken: () => nullCancellationToken,
|
|
193114
192764
|
nullTypingsInstaller: () => nullTypingsInstaller,
|
|
193115
192765
|
protocol: () => ts_server_protocol_exports,
|
|
193116
|
-
removeSorted: () => removeSorted,
|
|
193117
192766
|
stringifyIndented: () => stringifyIndented,
|
|
193118
192767
|
toEvent: () => toEvent,
|
|
193119
192768
|
toNormalizedPath: () => toNormalizedPath,
|
|
@@ -193191,7 +192840,6 @@ if (typeof console !== "undefined") {
|
|
|
193191
192840
|
GoToDefinition,
|
|
193192
192841
|
HighlightSpanKind,
|
|
193193
192842
|
IdentifierNameMap,
|
|
193194
|
-
IdentifierNameMultiMap,
|
|
193195
192843
|
ImportKind,
|
|
193196
192844
|
ImportsNotUsedAsValues,
|
|
193197
192845
|
IndentStyle,
|
|
@@ -193278,7 +192926,6 @@ if (typeof console !== "undefined") {
|
|
|
193278
192926
|
SymbolFlags,
|
|
193279
192927
|
SymbolFormatFlags,
|
|
193280
192928
|
SyntaxKind,
|
|
193281
|
-
SyntheticSymbolKind,
|
|
193282
192929
|
Ternary,
|
|
193283
192930
|
ThrottledCancellationToken,
|
|
193284
192931
|
TokenClass,
|
|
@@ -193301,7 +192948,6 @@ if (typeof console !== "undefined") {
|
|
|
193301
192948
|
WatchLogLevel,
|
|
193302
192949
|
WatchType,
|
|
193303
192950
|
accessPrivateIdentifier,
|
|
193304
|
-
addDisposableResourceHelper,
|
|
193305
192951
|
addEmitFlags,
|
|
193306
192952
|
addEmitHelper,
|
|
193307
192953
|
addEmitHelpers,
|
|
@@ -193324,7 +192970,6 @@ if (typeof console !== "undefined") {
|
|
|
193324
192970
|
arrayFrom,
|
|
193325
192971
|
arrayIsEqualTo,
|
|
193326
192972
|
arrayIsHomogeneous,
|
|
193327
|
-
arrayIsSorted,
|
|
193328
192973
|
arrayOf,
|
|
193329
192974
|
arrayReverseIterator,
|
|
193330
192975
|
arrayToMap,
|
|
@@ -193332,14 +192977,8 @@ if (typeof console !== "undefined") {
|
|
|
193332
192977
|
arrayToNumericMap,
|
|
193333
192978
|
assertType,
|
|
193334
192979
|
assign,
|
|
193335
|
-
assignHelper,
|
|
193336
|
-
asyncDelegator,
|
|
193337
|
-
asyncGeneratorHelper,
|
|
193338
192980
|
asyncSuperHelper,
|
|
193339
|
-
asyncValues,
|
|
193340
192981
|
attachFileToDiagnostics,
|
|
193341
|
-
awaitHelper,
|
|
193342
|
-
awaiterHelper,
|
|
193343
192982
|
base64decode,
|
|
193344
192983
|
base64encode,
|
|
193345
192984
|
binarySearch,
|
|
@@ -193388,9 +193027,6 @@ if (typeof console !== "undefined") {
|
|
|
193388
193027
|
classHasDeclaredOrExplicitlyAssignedName,
|
|
193389
193028
|
classHasExplicitlyAssignedName,
|
|
193390
193029
|
classOrConstructorParameterIsDecorated,
|
|
193391
|
-
classPrivateFieldGetHelper,
|
|
193392
|
-
classPrivateFieldInHelper,
|
|
193393
|
-
classPrivateFieldSetHelper,
|
|
193394
193030
|
classicNameResolver,
|
|
193395
193031
|
classifier,
|
|
193396
193032
|
cleanExtendedConfigCache,
|
|
@@ -193398,7 +193034,6 @@ if (typeof console !== "undefined") {
|
|
|
193398
193034
|
clearMap,
|
|
193399
193035
|
clearSharedExtendedConfigFileWatcher,
|
|
193400
193036
|
climbPastPropertyAccess,
|
|
193401
|
-
climbPastPropertyOrElementAccess,
|
|
193402
193037
|
clone,
|
|
193403
193038
|
cloneCompilerOptions,
|
|
193404
193039
|
closeFileWatcher,
|
|
@@ -193411,12 +193046,10 @@ if (typeof console !== "undefined") {
|
|
|
193411
193046
|
commandLineOptionOfCustomType,
|
|
193412
193047
|
commentPragmas,
|
|
193413
193048
|
commonOptionsWithBuild,
|
|
193414
|
-
commonPackageFolders,
|
|
193415
193049
|
compact,
|
|
193416
193050
|
compareBooleans,
|
|
193417
193051
|
compareDataObjects,
|
|
193418
193052
|
compareDiagnostics,
|
|
193419
|
-
compareDiagnosticsSkipRelatedInformation,
|
|
193420
193053
|
compareEmitHelpers,
|
|
193421
193054
|
compareNumberOfDirectorySeparators,
|
|
193422
193055
|
comparePaths,
|
|
@@ -193430,26 +193063,21 @@ if (typeof console !== "undefined") {
|
|
|
193430
193063
|
compareStringsCaseSensitiveUI,
|
|
193431
193064
|
compareTextSpans,
|
|
193432
193065
|
compareValues,
|
|
193433
|
-
compileOnSaveCommandLineOption,
|
|
193434
193066
|
compilerOptionsAffectDeclarationPath,
|
|
193435
193067
|
compilerOptionsAffectEmit,
|
|
193436
193068
|
compilerOptionsAffectSemanticDiagnostics,
|
|
193437
193069
|
compilerOptionsDidYouMeanDiagnostics,
|
|
193438
193070
|
compilerOptionsIndicateEsModules,
|
|
193439
|
-
compose,
|
|
193440
193071
|
computeCommonSourceDirectoryOfFilenames,
|
|
193441
193072
|
computeLineAndCharacterOfPosition,
|
|
193442
193073
|
computeLineOfPosition,
|
|
193443
193074
|
computeLineStarts,
|
|
193444
193075
|
computePositionOfLineAndCharacter,
|
|
193445
|
-
computeSignature,
|
|
193446
193076
|
computeSignatureWithDiagnostics,
|
|
193447
193077
|
computeSuggestionDiagnostics,
|
|
193448
193078
|
computedOptions,
|
|
193449
193079
|
concatenate,
|
|
193450
193080
|
concatenateDiagnosticMessageChains,
|
|
193451
|
-
configDirTemplateSubstitutionOptions,
|
|
193452
|
-
configDirTemplateSubstitutionWatchOptions,
|
|
193453
193081
|
consumesNodeCoreModules,
|
|
193454
193082
|
contains,
|
|
193455
193083
|
containsIgnoredPath,
|
|
@@ -193480,15 +193108,11 @@ if (typeof console !== "undefined") {
|
|
|
193480
193108
|
createAccessorPropertySetRedirector,
|
|
193481
193109
|
createBaseNodeFactory,
|
|
193482
193110
|
createBinaryExpressionTrampoline,
|
|
193483
|
-
createBindingHelper,
|
|
193484
193111
|
createBuilderProgram,
|
|
193485
193112
|
createBuilderProgramUsingIncrementalBuildInfo,
|
|
193486
193113
|
createBuilderStatusReporter,
|
|
193487
|
-
createCacheWithRedirects,
|
|
193488
193114
|
createCacheableExportInfoMap,
|
|
193489
193115
|
createCachedDirectoryStructureHost,
|
|
193490
|
-
createClassNamedEvaluationHelperBlock,
|
|
193491
|
-
createClassThisAssignmentBlock,
|
|
193492
193116
|
createClassifier,
|
|
193493
193117
|
createCommentDirectivesMap,
|
|
193494
193118
|
createCompilerDiagnostic,
|
|
@@ -193610,10 +193234,7 @@ if (typeof console !== "undefined") {
|
|
|
193610
193234
|
declarationNameToString,
|
|
193611
193235
|
decodeMappings,
|
|
193612
193236
|
decodedTextSpanIntersectsWith,
|
|
193613
|
-
decorateHelper,
|
|
193614
193237
|
deduplicate,
|
|
193615
|
-
defaultIncludeSpec,
|
|
193616
|
-
defaultInitCompilerOptions,
|
|
193617
193238
|
defaultMaximumTruncationLength,
|
|
193618
193239
|
diagnosticCategoryName,
|
|
193619
193240
|
diagnosticToString,
|
|
@@ -193623,27 +193244,22 @@ if (typeof console !== "undefined") {
|
|
|
193623
193244
|
displayPart,
|
|
193624
193245
|
displayPartsToString,
|
|
193625
193246
|
disposeEmitNodes,
|
|
193626
|
-
disposeResourcesHelper,
|
|
193627
193247
|
documentSpansEqual,
|
|
193628
193248
|
dumpTracingLegend,
|
|
193629
193249
|
elementAt,
|
|
193630
193250
|
elideNodes,
|
|
193631
|
-
emitComments,
|
|
193632
193251
|
emitDetachedComments,
|
|
193633
193252
|
emitFiles,
|
|
193634
193253
|
emitFilesAndReportErrors,
|
|
193635
193254
|
emitFilesAndReportErrorsAndGetExitStatus,
|
|
193636
193255
|
emitModuleKindIsNonNodeESM,
|
|
193637
193256
|
emitNewLineBeforeLeadingCommentOfPosition,
|
|
193638
|
-
emitNewLineBeforeLeadingComments,
|
|
193639
|
-
emitNewLineBeforeLeadingCommentsOfPosition,
|
|
193640
193257
|
emitResolverSkipsTypeChecking,
|
|
193641
193258
|
emitSkippedWithNoDiagnostics,
|
|
193642
193259
|
emptyArray,
|
|
193643
193260
|
emptyFileSystemEntries,
|
|
193644
193261
|
emptyMap,
|
|
193645
193262
|
emptyOptions,
|
|
193646
|
-
emptySet,
|
|
193647
193263
|
endsWith,
|
|
193648
193264
|
ensurePathIsNonModuleName,
|
|
193649
193265
|
ensureScriptKind,
|
|
@@ -193654,7 +193270,6 @@ if (typeof console !== "undefined") {
|
|
|
193654
193270
|
equateStringsCaseInsensitive,
|
|
193655
193271
|
equateStringsCaseSensitive,
|
|
193656
193272
|
equateValues,
|
|
193657
|
-
esDecorateHelper,
|
|
193658
193273
|
escapeJsxAttributeString,
|
|
193659
193274
|
escapeLeadingUnderscores,
|
|
193660
193275
|
escapeNonAsciiString,
|
|
@@ -193668,10 +193283,8 @@ if (typeof console !== "undefined") {
|
|
|
193668
193283
|
explainFiles,
|
|
193669
193284
|
explainIfFileIsRedirectAndImpliedFormat,
|
|
193670
193285
|
exportAssignmentIsAlias,
|
|
193671
|
-
exportStarHelper,
|
|
193672
193286
|
expressionResultIsUnused,
|
|
193673
193287
|
extend,
|
|
193674
|
-
extendsHelper,
|
|
193675
193288
|
extensionFromPath,
|
|
193676
193289
|
extensionIsTS,
|
|
193677
193290
|
extensionsNotSupportingExtensionlessResolution,
|
|
@@ -193698,7 +193311,6 @@ if (typeof console !== "undefined") {
|
|
|
193698
193311
|
findLast,
|
|
193699
193312
|
findLastIndex,
|
|
193700
193313
|
findListItemInfo,
|
|
193701
|
-
findMap,
|
|
193702
193314
|
findModifier,
|
|
193703
193315
|
findNextToken,
|
|
193704
193316
|
findPackageJson,
|
|
@@ -193746,7 +193358,6 @@ if (typeof console !== "undefined") {
|
|
|
193746
193358
|
forEachTsConfigPropArray,
|
|
193747
193359
|
forEachUnique,
|
|
193748
193360
|
forEachYieldExpression,
|
|
193749
|
-
forSomeAncestorDirectory,
|
|
193750
193361
|
formatColorAndReset,
|
|
193751
193362
|
formatDiagnostic,
|
|
193752
193363
|
formatDiagnostics,
|
|
@@ -193757,11 +193368,8 @@ if (typeof console !== "undefined") {
|
|
|
193757
193368
|
formatMessage,
|
|
193758
193369
|
formatStringFromArgs,
|
|
193759
193370
|
formatting,
|
|
193760
|
-
fullTripleSlashAMDReferencePathRegEx,
|
|
193761
|
-
fullTripleSlashReferencePathRegEx,
|
|
193762
193371
|
generateDjb2Hash,
|
|
193763
193372
|
generateTSConfig,
|
|
193764
|
-
generatorHelper,
|
|
193765
193373
|
getAdjustedReferenceLocation,
|
|
193766
193374
|
getAdjustedRenameLocation,
|
|
193767
193375
|
getAliasDeclarationFromName,
|
|
@@ -193780,7 +193388,6 @@ if (typeof console !== "undefined") {
|
|
|
193780
193388
|
getAreDeclarationMapsEnabled,
|
|
193781
193389
|
getAssignedExpandoInitializer,
|
|
193782
193390
|
getAssignedName,
|
|
193783
|
-
getAssignedNameOfIdentifier,
|
|
193784
193391
|
getAssignmentDeclarationKind,
|
|
193785
193392
|
getAssignmentDeclarationPropertyAccessKind,
|
|
193786
193393
|
getAssignmentTargetKind,
|
|
@@ -193821,7 +193428,6 @@ if (typeof console !== "undefined") {
|
|
|
193821
193428
|
getContainingObjectLiteralElement,
|
|
193822
193429
|
getContextualTypeFromParent,
|
|
193823
193430
|
getContextualTypeFromParentOrAncestorTypeNode,
|
|
193824
|
-
getCurrentTime,
|
|
193825
193431
|
getDeclarationDiagnostics,
|
|
193826
193432
|
getDeclarationEmitExtensionForPath,
|
|
193827
193433
|
getDeclarationEmitOutputFilePath,
|
|
@@ -193923,7 +193529,6 @@ if (typeof console !== "undefined") {
|
|
|
193923
193529
|
getImpliedNodeFormatForFileWorker,
|
|
193924
193530
|
getImportNeedsImportDefaultHelper,
|
|
193925
193531
|
getImportNeedsImportStarHelper,
|
|
193926
|
-
getIndentSize,
|
|
193927
193532
|
getIndentString,
|
|
193928
193533
|
getInferredLibraryNameResolveFrom,
|
|
193929
193534
|
getInitializedVariables,
|
|
@@ -193961,7 +193566,6 @@ if (typeof console !== "undefined") {
|
|
|
193961
193566
|
getJSDocSatisfiesExpressionType,
|
|
193962
193567
|
getJSDocSatisfiesTag,
|
|
193963
193568
|
getJSDocTags,
|
|
193964
|
-
getJSDocTagsNoCache,
|
|
193965
193569
|
getJSDocTemplateTag,
|
|
193966
193570
|
getJSDocThisTag,
|
|
193967
193571
|
getJSDocType,
|
|
@@ -193985,7 +193589,6 @@ if (typeof console !== "undefined") {
|
|
|
193985
193589
|
getLineAndCharacterOfPosition,
|
|
193986
193590
|
getLineInfo,
|
|
193987
193591
|
getLineOfLocalPosition,
|
|
193988
|
-
getLineOfLocalPositionFromLineMap,
|
|
193989
193592
|
getLineStartPositionForPosition,
|
|
193990
193593
|
getLineStarts,
|
|
193991
193594
|
getLinesBetweenPositionAndNextNonWhitespaceCharacter,
|
|
@@ -194049,45 +193652,37 @@ if (typeof console !== "undefined") {
|
|
|
194049
193652
|
getNormalizedAbsolutePathWithoutRoot,
|
|
194050
193653
|
getNormalizedPathComponents,
|
|
194051
193654
|
getObjectFlags,
|
|
194052
|
-
getOperator,
|
|
194053
193655
|
getOperatorAssociativity,
|
|
194054
193656
|
getOperatorPrecedence,
|
|
194055
193657
|
getOptionFromName,
|
|
194056
193658
|
getOptionsForLibraryResolution,
|
|
194057
193659
|
getOptionsNameMap,
|
|
194058
193660
|
getOrCreateEmitNode,
|
|
194059
|
-
getOrCreateExternalHelpersModuleNameIfNeeded,
|
|
194060
193661
|
getOrUpdate,
|
|
194061
193662
|
getOriginalNode,
|
|
194062
193663
|
getOriginalNodeId,
|
|
194063
|
-
getOriginalSourceFile,
|
|
194064
193664
|
getOutputDeclarationFileName,
|
|
194065
193665
|
getOutputDeclarationFileNameWorker,
|
|
194066
193666
|
getOutputExtension,
|
|
194067
193667
|
getOutputFileNames,
|
|
194068
193668
|
getOutputJSFileNameWorker,
|
|
194069
193669
|
getOutputPathsFor,
|
|
194070
|
-
getOutputPathsForBundle,
|
|
194071
193670
|
getOwnEmitOutputFilePath,
|
|
194072
193671
|
getOwnKeys,
|
|
194073
193672
|
getOwnValues,
|
|
194074
|
-
getPackageJsonInfo,
|
|
194075
193673
|
getPackageJsonTypesVersionsPaths,
|
|
194076
|
-
getPackageJsonsVisibleToFile,
|
|
194077
193674
|
getPackageNameFromTypesPackageName,
|
|
194078
193675
|
getPackageScopeForPath,
|
|
194079
193676
|
getParameterSymbolFromJSDoc,
|
|
194080
|
-
getParameterTypeNode,
|
|
194081
193677
|
getParentNodeInSpan,
|
|
194082
193678
|
getParseTreeNode,
|
|
194083
193679
|
getParsedCommandLineOfConfigFile,
|
|
194084
193680
|
getPathComponents,
|
|
194085
|
-
getPathComponentsRelativeTo,
|
|
194086
193681
|
getPathFromPathComponents,
|
|
194087
193682
|
getPathUpdater,
|
|
194088
193683
|
getPathsBasePath,
|
|
194089
193684
|
getPatternFromSpec,
|
|
194090
|
-
|
|
193685
|
+
getPendingEmitKindWithSeen,
|
|
194091
193686
|
getPositionOfLineAndCharacter,
|
|
194092
193687
|
getPossibleGenericSignatures,
|
|
194093
193688
|
getPossibleOriginalInputExtensionForExtension,
|
|
@@ -194100,7 +193695,6 @@ if (typeof console !== "undefined") {
|
|
|
194100
193695
|
getPropertyArrayElementValue,
|
|
194101
193696
|
getPropertyAssignmentAliasLikeExpression,
|
|
194102
193697
|
getPropertyNameForPropertyNameNode,
|
|
194103
|
-
getPropertyNameForUniqueESSymbol,
|
|
194104
193698
|
getPropertyNameFromType,
|
|
194105
193699
|
getPropertyNameOfBindingOrAssignmentElement,
|
|
194106
193700
|
getPropertySymbolFromBindingElement,
|
|
@@ -194132,7 +193726,6 @@ if (typeof console !== "undefined") {
|
|
|
194132
193726
|
getRootDeclaration,
|
|
194133
193727
|
getRootDirectoryOfResolutionCache,
|
|
194134
193728
|
getRootLength,
|
|
194135
|
-
getRootPathSplitLength,
|
|
194136
193729
|
getScriptKind,
|
|
194137
193730
|
getScriptKindFromFileName,
|
|
194138
193731
|
getScriptTargetFeatures,
|
|
@@ -194144,14 +193737,12 @@ if (typeof console !== "undefined") {
|
|
|
194144
193737
|
getSetAccessorValueParameter,
|
|
194145
193738
|
getSetExternalModuleIndicator,
|
|
194146
193739
|
getShebang,
|
|
194147
|
-
getSingleInitializerOfVariableStatementOrPropertyDeclaration,
|
|
194148
193740
|
getSingleVariableOfVariableStatement,
|
|
194149
193741
|
getSnapshotText,
|
|
194150
193742
|
getSnippetElement,
|
|
194151
193743
|
getSourceFileOfModule,
|
|
194152
193744
|
getSourceFileOfNode,
|
|
194153
193745
|
getSourceFilePathInNewDir,
|
|
194154
|
-
getSourceFilePathInNewDirWorker,
|
|
194155
193746
|
getSourceFileVersionAsHashFromText,
|
|
194156
193747
|
getSourceFilesToEmit,
|
|
194157
193748
|
getSourceMapRange,
|
|
@@ -194174,7 +193765,6 @@ if (typeof console !== "undefined") {
|
|
|
194174
193765
|
getSwitchedType,
|
|
194175
193766
|
getSymbolId,
|
|
194176
193767
|
getSymbolNameForPrivateIdentifier,
|
|
194177
|
-
getSymbolParentOrFail,
|
|
194178
193768
|
getSymbolTarget,
|
|
194179
193769
|
getSyntacticClassifications,
|
|
194180
193770
|
getSyntacticModifierFlags,
|
|
@@ -194205,7 +193795,6 @@ if (typeof console !== "undefined") {
|
|
|
194205
193795
|
getTouchingToken,
|
|
194206
193796
|
getTrailingCommentRanges,
|
|
194207
193797
|
getTrailingSemicolonDeferringWriter,
|
|
194208
|
-
getTransformFlagsSubtreeExclusions,
|
|
194209
193798
|
getTransformers,
|
|
194210
193799
|
getTsBuildInfoEmitOutputFilePath,
|
|
194211
193800
|
getTsConfigObjectLiteralExpression,
|
|
@@ -194233,7 +193822,6 @@ if (typeof console !== "undefined") {
|
|
|
194233
193822
|
hasAccessorModifier,
|
|
194234
193823
|
hasAmbientModifier,
|
|
194235
193824
|
hasChangesInResolutions,
|
|
194236
|
-
hasChildOfKind,
|
|
194237
193825
|
hasContextSensitiveParameters,
|
|
194238
193826
|
hasDecorators,
|
|
194239
193827
|
hasDocComment,
|
|
@@ -194269,7 +193857,6 @@ if (typeof console !== "undefined") {
|
|
|
194269
193857
|
hasType,
|
|
194270
193858
|
hasTypeArguments,
|
|
194271
193859
|
hasZeroOrOneAsteriskCharacter,
|
|
194272
|
-
helperString,
|
|
194273
193860
|
hostGetCanonicalFileName,
|
|
194274
193861
|
hostUsesCaseSensitiveFileNames,
|
|
194275
193862
|
idText,
|
|
@@ -194279,9 +193866,7 @@ if (typeof console !== "undefined") {
|
|
|
194279
193866
|
identitySourceMapConsumer,
|
|
194280
193867
|
ignoreSourceNewlines,
|
|
194281
193868
|
ignoredPaths,
|
|
194282
|
-
importDefaultHelper,
|
|
194283
193869
|
importFromModuleSpecifier,
|
|
194284
|
-
importStarHelper,
|
|
194285
193870
|
indexOfAnyCharCode,
|
|
194286
193871
|
indexOfNode,
|
|
194287
193872
|
indicesOf,
|
|
@@ -194289,7 +193874,6 @@ if (typeof console !== "undefined") {
|
|
|
194289
193874
|
injectClassNamedEvaluationHelperBlockIfMissing,
|
|
194290
193875
|
injectClassThisAssignmentIfMissing,
|
|
194291
193876
|
insertImports,
|
|
194292
|
-
insertLeadingStatement,
|
|
194293
193877
|
insertSorted,
|
|
194294
193878
|
insertStatementAfterCustomPrologue,
|
|
194295
193879
|
insertStatementAfterStandardPrologue,
|
|
@@ -194305,11 +193889,9 @@ if (typeof console !== "undefined") {
|
|
|
194305
193889
|
isAccessibilityModifier,
|
|
194306
193890
|
isAccessor,
|
|
194307
193891
|
isAccessorModifier,
|
|
194308
|
-
isAliasSymbolDeclaration,
|
|
194309
193892
|
isAliasableExpression,
|
|
194310
193893
|
isAmbientModule,
|
|
194311
193894
|
isAmbientPropertyDeclaration,
|
|
194312
|
-
isAnonymousFunctionDefinition,
|
|
194313
193895
|
isAnyDirectorySeparator,
|
|
194314
193896
|
isAnyImportOrBareOrAccessedRequire,
|
|
194315
193897
|
isAnyImportOrReExport,
|
|
@@ -194385,7 +193967,6 @@ if (typeof console !== "undefined") {
|
|
|
194385
193967
|
isCatchClauseVariableDeclaration,
|
|
194386
193968
|
isCatchClauseVariableDeclarationOrBindingElement,
|
|
194387
193969
|
isCheckJsEnabledForFile,
|
|
194388
|
-
isChildOfNodeWithKind,
|
|
194389
193970
|
isCircularBuildOrder,
|
|
194390
193971
|
isClassDeclaration,
|
|
194391
193972
|
isClassElement,
|
|
@@ -194397,7 +193978,6 @@ if (typeof console !== "undefined") {
|
|
|
194397
193978
|
isClassOrTypeElement,
|
|
194398
193979
|
isClassStaticBlockDeclaration,
|
|
194399
193980
|
isClassThisAssignmentBlock,
|
|
194400
|
-
isCollapsedRange,
|
|
194401
193981
|
isColonToken,
|
|
194402
193982
|
isCommaExpression,
|
|
194403
193983
|
isCommaListExpression,
|
|
@@ -194440,16 +194020,13 @@ if (typeof console !== "undefined") {
|
|
|
194440
194020
|
isDeleteTarget,
|
|
194441
194021
|
isDeprecatedDeclaration,
|
|
194442
194022
|
isDestructuringAssignment,
|
|
194443
|
-
isDiagnosticWithLocation,
|
|
194444
194023
|
isDiskPathRoot,
|
|
194445
194024
|
isDoStatement,
|
|
194446
194025
|
isDocumentRegistryEntry,
|
|
194447
194026
|
isDotDotDotToken,
|
|
194448
194027
|
isDottedName,
|
|
194449
194028
|
isDynamicName,
|
|
194450
|
-
isESSymbolIdentifier,
|
|
194451
194029
|
isEffectiveExternalModule,
|
|
194452
|
-
isEffectiveModuleDeclaration,
|
|
194453
194030
|
isEffectiveStrictModeSourceFile,
|
|
194454
194031
|
isElementAccessChain,
|
|
194455
194032
|
isElementAccessExpression,
|
|
@@ -194519,13 +194096,11 @@ if (typeof console !== "undefined") {
|
|
|
194519
194096
|
isFunctionOrModuleBlock,
|
|
194520
194097
|
isFunctionSymbol,
|
|
194521
194098
|
isFunctionTypeNode,
|
|
194522
|
-
isFutureReservedKeyword,
|
|
194523
194099
|
isGeneratedIdentifier,
|
|
194524
194100
|
isGeneratedPrivateIdentifier,
|
|
194525
194101
|
isGetAccessor,
|
|
194526
194102
|
isGetAccessorDeclaration,
|
|
194527
194103
|
isGetOrSetAccessorDeclaration,
|
|
194528
|
-
isGlobalDeclaration,
|
|
194529
194104
|
isGlobalScopeAugmentation,
|
|
194530
194105
|
isGlobalSourceFile,
|
|
194531
194106
|
isGrammarError,
|
|
@@ -194681,7 +194256,6 @@ if (typeof console !== "undefined") {
|
|
|
194681
194256
|
isLabeledStatement,
|
|
194682
194257
|
isLateVisibilityPaintedStatement,
|
|
194683
194258
|
isLeftHandSideExpression,
|
|
194684
|
-
isLeftHandSideOfAssignment,
|
|
194685
194259
|
isLet,
|
|
194686
194260
|
isLineBreak,
|
|
194687
194261
|
isLiteralComputedPropertyDeclarationName,
|
|
@@ -194689,10 +194263,7 @@ if (typeof console !== "undefined") {
|
|
|
194689
194263
|
isLiteralExpressionOfObject,
|
|
194690
194264
|
isLiteralImportTypeNode,
|
|
194691
194265
|
isLiteralKind,
|
|
194692
|
-
isLiteralLikeAccess,
|
|
194693
|
-
isLiteralLikeElementAccess,
|
|
194694
194266
|
isLiteralNameOfPropertyDeclarationOrIndexAccess,
|
|
194695
|
-
isLiteralTypeLikeExpression,
|
|
194696
194267
|
isLiteralTypeLiteral,
|
|
194697
194268
|
isLiteralTypeNode,
|
|
194698
194269
|
isLocalName,
|
|
@@ -194727,7 +194298,6 @@ if (typeof console !== "undefined") {
|
|
|
194727
194298
|
isModuleWithStringLiteralName,
|
|
194728
194299
|
isNameOfFunctionDeclaration,
|
|
194729
194300
|
isNameOfModuleDeclaration,
|
|
194730
|
-
isNamedClassElement,
|
|
194731
194301
|
isNamedDeclaration,
|
|
194732
194302
|
isNamedEvaluation,
|
|
194733
194303
|
isNamedEvaluationSource,
|
|
@@ -194745,7 +194315,6 @@ if (typeof console !== "undefined") {
|
|
|
194745
194315
|
isNewExpression,
|
|
194746
194316
|
isNewExpressionTarget,
|
|
194747
194317
|
isNoSubstitutionTemplateLiteral,
|
|
194748
|
-
isNode,
|
|
194749
194318
|
isNodeArray,
|
|
194750
194319
|
isNodeArrayMultiLine,
|
|
194751
194320
|
isNodeDescendantOf,
|
|
@@ -194754,15 +194323,11 @@ if (typeof console !== "undefined") {
|
|
|
194754
194323
|
isNodeModulesDirectory,
|
|
194755
194324
|
isNodeWithPossibleHoistedDeclaration,
|
|
194756
194325
|
isNonContextualKeyword,
|
|
194757
|
-
isNonExportDefaultModifier,
|
|
194758
194326
|
isNonGlobalAmbientModule,
|
|
194759
|
-
isNonGlobalDeclaration,
|
|
194760
|
-
isNonIncrementalBuildInfo,
|
|
194761
194327
|
isNonNullAccess,
|
|
194762
194328
|
isNonNullChain,
|
|
194763
194329
|
isNonNullExpression,
|
|
194764
194330
|
isNonStaticMethodOrAccessorWithPrivateName,
|
|
194765
|
-
isNotEmittedOrPartiallyEmittedNode,
|
|
194766
194331
|
isNotEmittedStatement,
|
|
194767
194332
|
isNullishCoalesce,
|
|
194768
194333
|
isNumber,
|
|
@@ -194778,7 +194343,6 @@ if (typeof console !== "undefined") {
|
|
|
194778
194343
|
isObjectLiteralMethod,
|
|
194779
194344
|
isObjectLiteralOrClassExpressionMethodOrAccessor,
|
|
194780
194345
|
isObjectTypeDeclaration,
|
|
194781
|
-
isOctalDigit,
|
|
194782
194346
|
isOmittedExpression,
|
|
194783
194347
|
isOptionalChain,
|
|
194784
194348
|
isOptionalChainRoot,
|
|
@@ -194824,7 +194388,6 @@ if (typeof console !== "undefined") {
|
|
|
194824
194388
|
isPropertyName,
|
|
194825
194389
|
isPropertyNameLiteral,
|
|
194826
194390
|
isPropertySignature,
|
|
194827
|
-
isProtoSetter,
|
|
194828
194391
|
isPrototypeAccess,
|
|
194829
194392
|
isPrototypePropertyAssignment,
|
|
194830
194393
|
isPunctuation,
|
|
@@ -194834,7 +194397,6 @@ if (typeof console !== "undefined") {
|
|
|
194834
194397
|
isQuestionOrExclamationToken,
|
|
194835
194398
|
isQuestionOrPlusOrMinusToken,
|
|
194836
194399
|
isQuestionToken,
|
|
194837
|
-
isRawSourceMap,
|
|
194838
194400
|
isReadonlyKeyword,
|
|
194839
194401
|
isReadonlyKeywordOrPlusOrMinusToken,
|
|
194840
194402
|
isRecognizedTripleSlashComment,
|
|
@@ -194856,25 +194418,21 @@ if (typeof console !== "undefined") {
|
|
|
194856
194418
|
isRootedDiskPath,
|
|
194857
194419
|
isSameEntityName,
|
|
194858
194420
|
isSatisfiesExpression,
|
|
194859
|
-
isScopeMarker,
|
|
194860
194421
|
isSemicolonClassElement,
|
|
194861
194422
|
isSetAccessor,
|
|
194862
194423
|
isSetAccessorDeclaration,
|
|
194863
|
-
isShebangTrivia,
|
|
194864
194424
|
isShiftOperatorOrHigher,
|
|
194865
194425
|
isShorthandAmbientModuleSymbol,
|
|
194866
194426
|
isShorthandPropertyAssignment,
|
|
194867
194427
|
isSignedNumericLiteral,
|
|
194868
194428
|
isSimpleCopiableExpression,
|
|
194869
194429
|
isSimpleInlineableExpression,
|
|
194870
|
-
isSimpleParameter,
|
|
194871
194430
|
isSimpleParameterList,
|
|
194872
194431
|
isSingleOrDoubleQuote,
|
|
194873
194432
|
isSourceElement,
|
|
194874
194433
|
isSourceFile,
|
|
194875
194434
|
isSourceFileFromLibrary,
|
|
194876
194435
|
isSourceFileJS,
|
|
194877
|
-
isSourceFileNotJS,
|
|
194878
194436
|
isSourceFileNotJson,
|
|
194879
194437
|
isSourceMapping,
|
|
194880
194438
|
isSpecialPropertyDeclaration,
|
|
@@ -194887,7 +194445,6 @@ if (typeof console !== "undefined") {
|
|
|
194887
194445
|
isStatic,
|
|
194888
194446
|
isStaticModifier,
|
|
194889
194447
|
isString,
|
|
194890
|
-
isStringAKeyword,
|
|
194891
194448
|
isStringANonContextualKeyword,
|
|
194892
194449
|
isStringAndEmptyAnonymousObjectIntersection,
|
|
194893
194450
|
isStringDoubleQuoted,
|
|
@@ -194900,7 +194457,6 @@ if (typeof console !== "undefined") {
|
|
|
194900
194457
|
isStringTextContainingNode,
|
|
194901
194458
|
isSuperCall,
|
|
194902
194459
|
isSuperKeyword,
|
|
194903
|
-
isSuperOrSuperProperty,
|
|
194904
194460
|
isSuperProperty,
|
|
194905
194461
|
isSupportedSourceFileName,
|
|
194906
194462
|
isSwitchStatement,
|
|
@@ -194946,7 +194502,6 @@ if (typeof console !== "undefined") {
|
|
|
194946
194502
|
isTypeDeclaration,
|
|
194947
194503
|
isTypeElement,
|
|
194948
194504
|
isTypeKeyword,
|
|
194949
|
-
isTypeKeywordToken,
|
|
194950
194505
|
isTypeKeywordTokenOrIdentifier,
|
|
194951
194506
|
isTypeLiteralNode,
|
|
194952
194507
|
isTypeNode,
|
|
@@ -195001,9 +194556,6 @@ if (typeof console !== "undefined") {
|
|
|
195001
194556
|
libMap,
|
|
195002
194557
|
libs,
|
|
195003
194558
|
lineBreakPart,
|
|
195004
|
-
linkNamePart,
|
|
195005
|
-
linkPart,
|
|
195006
|
-
linkTextPart,
|
|
195007
194559
|
loadModuleFromGlobalCache,
|
|
195008
194560
|
loadWithModeAwareCache,
|
|
195009
194561
|
makeIdentifierFromModuleName,
|
|
@@ -195026,10 +194578,7 @@ if (typeof console !== "undefined") {
|
|
|
195026
194578
|
maybeBind,
|
|
195027
194579
|
maybeSetLocalizedDiagnosticMessages,
|
|
195028
194580
|
memoize,
|
|
195029
|
-
memoizeCached,
|
|
195030
194581
|
memoizeOne,
|
|
195031
|
-
memoizeWeak,
|
|
195032
|
-
metadataHelper,
|
|
195033
194582
|
min,
|
|
195034
194583
|
minAndMax,
|
|
195035
194584
|
missingFileModifiedTime,
|
|
@@ -195077,7 +194626,6 @@ if (typeof console !== "undefined") {
|
|
|
195077
194626
|
nodePosToString,
|
|
195078
194627
|
nodeSeenTracker,
|
|
195079
194628
|
nodeStartsNewLexicalEnvironment,
|
|
195080
|
-
nodeToDisplayParts,
|
|
195081
194629
|
noop,
|
|
195082
194630
|
noopFileWatcher,
|
|
195083
194631
|
normalizePath,
|
|
@@ -195097,13 +194645,11 @@ if (typeof console !== "undefined") {
|
|
|
195097
194645
|
optionsForBuild,
|
|
195098
194646
|
optionsForWatch,
|
|
195099
194647
|
optionsHaveChanges,
|
|
195100
|
-
optionsHaveModuleResolutionChanges,
|
|
195101
194648
|
or,
|
|
195102
194649
|
orderedRemoveItem,
|
|
195103
194650
|
orderedRemoveItemAt,
|
|
195104
194651
|
packageIdToPackageName,
|
|
195105
194652
|
packageIdToString,
|
|
195106
|
-
paramHelper,
|
|
195107
194653
|
parameterIsThisKeyword,
|
|
195108
194654
|
parameterNamePart,
|
|
195109
194655
|
parseBaseNodeFactory,
|
|
@@ -195136,7 +194682,6 @@ if (typeof console !== "undefined") {
|
|
|
195136
194682
|
patternText,
|
|
195137
194683
|
performIncrementalCompilation,
|
|
195138
194684
|
performance,
|
|
195139
|
-
plainJSErrors,
|
|
195140
194685
|
positionBelongsToNode,
|
|
195141
194686
|
positionIsASICandidate,
|
|
195142
194687
|
positionIsSynthesized,
|
|
@@ -195149,7 +194694,6 @@ if (typeof console !== "undefined") {
|
|
|
195149
194694
|
programContainsEsModules,
|
|
195150
194695
|
programContainsModules,
|
|
195151
194696
|
projectReferenceIsEqualTo,
|
|
195152
|
-
propKeyHelper,
|
|
195153
194697
|
propertyNamePart,
|
|
195154
194698
|
pseudoBigIntToString,
|
|
195155
194699
|
punctuationPart,
|
|
@@ -195172,7 +194716,6 @@ if (typeof console !== "undefined") {
|
|
|
195172
194716
|
rangeStartPositionsAreOnSameLine,
|
|
195173
194717
|
readBuilderProgram,
|
|
195174
194718
|
readConfigFile,
|
|
195175
|
-
readHelper,
|
|
195176
194719
|
readJson,
|
|
195177
194720
|
readJsonConfigFile,
|
|
195178
194721
|
readJsonOrUndefined,
|
|
@@ -195191,7 +194734,6 @@ if (typeof console !== "undefined") {
|
|
|
195191
194734
|
removeFileExtension,
|
|
195192
194735
|
removeIgnoredPath,
|
|
195193
194736
|
removeMinAndVersionNumbers,
|
|
195194
|
-
removeOptionality,
|
|
195195
194737
|
removePrefix,
|
|
195196
194738
|
removeSuffix,
|
|
195197
194739
|
removeTrailingDirectorySeparator,
|
|
@@ -195210,20 +194752,16 @@ if (typeof console !== "undefined") {
|
|
|
195210
194752
|
resolveTripleslashReference,
|
|
195211
194753
|
resolveTypeReferenceDirective,
|
|
195212
194754
|
resolvingEmptyArray,
|
|
195213
|
-
restHelper,
|
|
195214
194755
|
returnFalse,
|
|
195215
194756
|
returnNoopFileWatcher,
|
|
195216
194757
|
returnTrue,
|
|
195217
194758
|
returnUndefined,
|
|
195218
194759
|
returnsPromise,
|
|
195219
|
-
runInitializersHelper,
|
|
195220
194760
|
sameFlatMap,
|
|
195221
194761
|
sameMap,
|
|
195222
194762
|
sameMapping,
|
|
195223
|
-
scanShebangTrivia,
|
|
195224
194763
|
scanTokenAtPosition,
|
|
195225
194764
|
scanner,
|
|
195226
|
-
screenStartingMessageCodes,
|
|
195227
194765
|
semanticDiagnosticsOptionDeclarations,
|
|
195228
194766
|
serializeCompilerOptions,
|
|
195229
194767
|
server,
|
|
@@ -195231,16 +194769,13 @@ if (typeof console !== "undefined") {
|
|
|
195231
194769
|
setCommentRange,
|
|
195232
194770
|
setConfigFileInOptions,
|
|
195233
194771
|
setConstantValue,
|
|
195234
|
-
setEachParent,
|
|
195235
194772
|
setEmitFlags,
|
|
195236
|
-
setFunctionNameHelper,
|
|
195237
194773
|
setGetSourceFileAsHashVersioned,
|
|
195238
194774
|
setIdentifierAutoGenerate,
|
|
195239
194775
|
setIdentifierGeneratedImportReference,
|
|
195240
194776
|
setIdentifierTypeArguments,
|
|
195241
194777
|
setInternalEmitFlags,
|
|
195242
194778
|
setLocalizedDiagnosticMessages,
|
|
195243
|
-
setModuleDefaultHelper,
|
|
195244
194779
|
setNodeChildren,
|
|
195245
194780
|
setNodeFlags,
|
|
195246
194781
|
setObjectAllocator,
|
|
@@ -195269,7 +194804,6 @@ if (typeof console !== "undefined") {
|
|
|
195269
194804
|
shouldPreserveConstEnums,
|
|
195270
194805
|
shouldUseUriStyleNodeCoreModules,
|
|
195271
194806
|
showModuleSpecifier,
|
|
195272
|
-
signatureHasLiteralTypes,
|
|
195273
194807
|
signatureHasRestParameter,
|
|
195274
194808
|
signatureToDisplayParts,
|
|
195275
194809
|
single,
|
|
@@ -195278,7 +194812,6 @@ if (typeof console !== "undefined") {
|
|
|
195278
194812
|
singleOrMany,
|
|
195279
194813
|
singleOrUndefined,
|
|
195280
194814
|
skipAlias,
|
|
195281
|
-
skipAssertions,
|
|
195282
194815
|
skipConstraint,
|
|
195283
194816
|
skipOuterExpressions,
|
|
195284
194817
|
skipParentheses,
|
|
@@ -195299,7 +194832,6 @@ if (typeof console !== "undefined") {
|
|
|
195299
194832
|
sourceMapCommentRegExpDontCareLineStart,
|
|
195300
194833
|
spacePart,
|
|
195301
194834
|
spanMap,
|
|
195302
|
-
spreadArrayHelper,
|
|
195303
194835
|
stableSort,
|
|
195304
194836
|
startEndContainsRange,
|
|
195305
194837
|
startEndOverlapsWithStartEnd,
|
|
@@ -195313,10 +194845,8 @@ if (typeof console !== "undefined") {
|
|
|
195313
194845
|
stringToToken,
|
|
195314
194846
|
stripQuotes,
|
|
195315
194847
|
supportedDeclarationExtensions,
|
|
195316
|
-
supportedJSExtensions,
|
|
195317
194848
|
supportedJSExtensionsFlat,
|
|
195318
194849
|
supportedLocaleDirectories,
|
|
195319
|
-
supportedTSExtensions,
|
|
195320
194850
|
supportedTSExtensionsFlat,
|
|
195321
194851
|
supportedTSImplementationExtensions,
|
|
195322
194852
|
suppressLeadingAndTrailingTrivia,
|
|
@@ -195325,16 +194855,12 @@ if (typeof console !== "undefined") {
|
|
|
195325
194855
|
symbolEscapedNameNoDefault,
|
|
195326
194856
|
symbolName,
|
|
195327
194857
|
symbolNameNoDefault,
|
|
195328
|
-
symbolPart,
|
|
195329
194858
|
symbolToDisplayParts,
|
|
195330
|
-
syntaxMayBeASICandidate,
|
|
195331
|
-
syntaxRequiresTrailingSemicolonOrASI,
|
|
195332
194859
|
sys,
|
|
195333
194860
|
sysLog,
|
|
195334
194861
|
tagNamesAreEquivalent,
|
|
195335
194862
|
takeWhile,
|
|
195336
194863
|
targetOptionDeclaration,
|
|
195337
|
-
templateObjectHelper,
|
|
195338
194864
|
testFormatSettings,
|
|
195339
194865
|
textChangeRangeIsUnchanged,
|
|
195340
194866
|
textChangeRangeNewSpan,
|
|
@@ -195363,7 +194889,6 @@ if (typeof console !== "undefined") {
|
|
|
195363
194889
|
toBuilderStateFileInfoForMultiEmit,
|
|
195364
194890
|
toEditorSettings,
|
|
195365
194891
|
toFileNameLowerCase,
|
|
195366
|
-
toLowerCase,
|
|
195367
194892
|
toPath,
|
|
195368
194893
|
toProgramEmitPending,
|
|
195369
194894
|
tokenIsIdentifierOrKeyword,
|
|
@@ -195417,7 +194942,6 @@ if (typeof console !== "undefined") {
|
|
|
195417
194942
|
tryGetPropertyNameOfBindingOrAssignmentElement,
|
|
195418
194943
|
tryGetSourceMappingURL,
|
|
195419
194944
|
tryGetTextOfPropertyName,
|
|
195420
|
-
tryIOAndConsumeErrors,
|
|
195421
194945
|
tryParseJson,
|
|
195422
194946
|
tryParsePattern,
|
|
195423
194947
|
tryParsePatterns,
|
|
@@ -195439,7 +194963,6 @@ if (typeof console !== "undefined") {
|
|
|
195439
194963
|
unescapeLeadingUnderscores,
|
|
195440
194964
|
unmangleScopedPackageName,
|
|
195441
194965
|
unorderedRemoveItem,
|
|
195442
|
-
unorderedRemoveItemAt,
|
|
195443
194966
|
unreachableCodeIsError,
|
|
195444
194967
|
unsetNodeChildren,
|
|
195445
194968
|
unusedLabelIsError,
|
|
@@ -195452,11 +194975,9 @@ if (typeof console !== "undefined") {
|
|
|
195452
194975
|
updateSharedExtendedConfigFileWatcher,
|
|
195453
194976
|
updateSourceFile,
|
|
195454
194977
|
updateWatchingWildcardDirectories,
|
|
195455
|
-
usesExtensionsOnImports,
|
|
195456
194978
|
usingSingleLineStringWriter,
|
|
195457
194979
|
utf16EncodeAsString,
|
|
195458
194980
|
validateLocaleAndSetLanguage,
|
|
195459
|
-
valuesHelper,
|
|
195460
194981
|
version,
|
|
195461
194982
|
versionMajorMinor,
|
|
195462
194983
|
visitArray,
|
|
@@ -195469,7 +194990,6 @@ if (typeof console !== "undefined") {
|
|
|
195469
194990
|
visitNodes,
|
|
195470
194991
|
visitParameterList,
|
|
195471
194992
|
walkUpBindingElementsAndPatterns,
|
|
195472
|
-
walkUpLexicalEnvironments,
|
|
195473
194993
|
walkUpOuterExpressions,
|
|
195474
194994
|
walkUpParenthesizedExpressions,
|
|
195475
194995
|
walkUpParenthesizedTypes,
|