mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-10 15:25:54 -06:00
Make SymbolWalker internal
...until required by an external consumer.
This commit is contained in:
parent
053b915061
commit
2c8a5c40b8
@ -1,4 +1,6 @@
|
||||
/** @internal */
|
||||
namespace ts {
|
||||
/** @internal */
|
||||
export function createGetSymbolWalker(
|
||||
getRestTypeOfSignature: (sig: Signature) => Type,
|
||||
getReturnTypeOfSignature: (sig: Signature) => Type,
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user