From a004571d3ebb7da6a7d0915465829dee9874e495 Mon Sep 17 00:00:00 2001 From: Andy Date: Wed, 11 Apr 2018 07:56:42 -0700 Subject: [PATCH] Update outdated comments (#23320) --- src/compiler/program.ts | 1 - src/compiler/types.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/compiler/program.ts b/src/compiler/program.ts index 31220c68d3c..6467dd2afc8 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 f0aba4a34d7..987d403e7cd 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;