Skip to content

Commit a004571

Browse files
author
Andy
authored
Update outdated comments (#23320)
1 parent 9ceb113 commit a004571

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/compiler/program.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,6 @@ namespace ts {
577577
const packageIdToSourceFile = createMap<SourceFile>();
578578
// Maps from a SourceFile's `.path` to the name of the package it was imported with.
579579
let sourceFileToPackageName = createMap<string>();
580-
// See `sourceFileIsRedirectedTo`.
581580
let redirectTargetsSet = createMap<true>();
582581

583582
const filesByName = createMap<SourceFile | undefined>();

src/compiler/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2527,7 +2527,7 @@ namespace ts {
25272527
/**
25282528
* If two source files are for the same version of the same package, one will redirect to the other.
25292529
* (See `createRedirectSourceFile` in program.ts.)
2530-
* The redirect will have this set. The other will not have anything set, but see Program#sourceFileIsRedirectedTo.
2530+
* The redirect will have this set. The redirected-to source file will be in `redirectTargetsSet`.
25312531
*/
25322532
/* @internal */ redirectInfo?: RedirectInfo | undefined;
25332533

0 commit comments

Comments
 (0)