Make SymbolWalker internal

...until required by an external consumer.
This commit is contained in:
Wesley Wigham 2016-07-26 10:35:49 -07:00 committed by Andrew Casey
parent 053b915061
commit 2c8a5c40b8
2 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,6 @@
/** @internal */
namespace ts {
/** @internal */
export function createGetSymbolWalker(
getRestTypeOfSignature: (sig: Signature) => Type,
getReturnTypeOfSignature: (sig: Signature) => Type,

View File

@ -2625,7 +2625,7 @@ namespace ts {
/* @internal */ tryFindAmbientModuleWithoutAugmentations(moduleName: string): Symbol | undefined;
getSymbolWalker(accept?: (symbol: Symbol) => boolean): SymbolWalker;
/* @internal */ getSymbolWalker(accept?: (symbol: Symbol) => boolean): SymbolWalker;
// Should not be called directly. Should only be accessed through the Program instance.
/* @internal */ getDiagnostics(sourceFile?: SourceFile, cancellationToken?: CancellationToken): Diagnostic[];
@ -2671,6 +2671,7 @@ namespace ts {
InTypeAlias = 1 << 23, // Writing type in type alias declaration
}
/* @internal */
export interface SymbolWalker {
visitType(type: Type): void;
visitSymbol(symbol: Symbol): void;