From b2db2295eeef1e0721920ca7b2bed2071f72bdcd Mon Sep 17 00:00:00 2001 From: Andy Hanson Date: Fri, 9 Sep 2016 12:45:21 -0700 Subject: [PATCH] Document `endOfChain` --- src/compiler/checker.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 5020fd4835..5a5d7ee786 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -2066,6 +2066,7 @@ namespace ts { // up front (for example, during checking) could determine if we need to emit the imports // and we could then access that data during declaration emit. writer.trackSymbol(symbol, enclosingDeclaration, meaning); + /** @param endOfChain Set to false for recursive calls; non-recursive calls should always output something. */ function walkSymbol(symbol: Symbol, meaning: SymbolFlags, endOfChain: boolean): void { const accessibleSymbolChain = getAccessibleSymbolChain(symbol, enclosingDeclaration, meaning, !!(flags & SymbolFormatFlags.UseOnlyExternalAliasing));