Skip to content

Commit 043e1ca

Browse files
authored
Expose TypeChecker.getMergedSymbol to public (#56192) (#56193)
1 parent 5449489 commit 043e1ca

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/compiler/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5043,7 +5043,7 @@ export interface TypeChecker {
50435043
isUndefinedSymbol(symbol: Symbol): boolean;
50445044
isArgumentsSymbol(symbol: Symbol): boolean;
50455045
isUnknownSymbol(symbol: Symbol): boolean;
5046-
/** @internal */ getMergedSymbol(symbol: Symbol): Symbol;
5046+
getMergedSymbol(symbol: Symbol): Symbol;
50475047

50485048
getConstantValue(node: EnumMember | PropertyAccessExpression | ElementAccessExpression): string | number | undefined;
50495049
isValidPropertyAccess(node: PropertyAccessExpression | QualifiedName | ImportTypeNode, propertyName: string): boolean;

tests/baselines/reference/api/typescript.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6778,6 +6778,7 @@ declare namespace ts {
67786778
isUndefinedSymbol(symbol: Symbol): boolean;
67796779
isArgumentsSymbol(symbol: Symbol): boolean;
67806780
isUnknownSymbol(symbol: Symbol): boolean;
6781+
getMergedSymbol(symbol: Symbol): Symbol;
67816782
getConstantValue(node: EnumMember | PropertyAccessExpression | ElementAccessExpression): string | number | undefined;
67826783
isValidPropertyAccess(node: PropertyAccessExpression | QualifiedName | ImportTypeNode, propertyName: string): boolean;
67836784
/** Follow all aliases to get the original symbol. */

0 commit comments

Comments
 (0)