diff --git a/src/compiler/program.ts b/src/compiler/program.ts index 31220c68d3cb9..6467dd2afc81a 100755 --- a/src/compiler/program.ts +++ b/src/compiler/program.ts @@ -577,7 +577,6 @@ namespace ts { const packageIdToSourceFile = createMap(); // Maps from a SourceFile's `.path` to the name of the package it was imported with. let sourceFileToPackageName = createMap(); - // See `sourceFileIsRedirectedTo`. let redirectTargetsSet = createMap(); const filesByName = createMap(); diff --git a/src/compiler/types.ts b/src/compiler/types.ts index f0aba4a34d776..987d403e7cd9e 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -2527,7 +2527,7 @@ namespace ts { /** * If two source files are for the same version of the same package, one will redirect to the other. * (See `createRedirectSourceFile` in program.ts.) - * The redirect will have this set. The other will not have anything set, but see Program#sourceFileIsRedirectedTo. + * The redirect will have this set. The redirected-to source file will be in `redirectTargetsSet`. */ /* @internal */ redirectInfo?: RedirectInfo | undefined;