style(ivy): remove underscore from TypeScriptReflectionHost._getDeclarationOfSymbol (#24897)
The linter complains that non-private members must be marked with `@internal` if they start with an underscore. PR Close #24897
This commit is contained in:
parent
8e65891985
commit
5e98421d33
|
@ -119,7 +119,7 @@ export class TypeScriptReflectionHost implements ReflectionHost {
|
|||
}
|
||||
this.checker.getExportsOfModule(symbol).forEach(exportSymbol => {
|
||||
// Map each exported Symbol to a Declaration and add it to the map.
|
||||
const decl = this._getDeclarationOfSymbol(exportSymbol);
|
||||
const decl = this.getDeclarationOfSymbol(exportSymbol);
|
||||
if (decl !== null) {
|
||||
map.set(exportSymbol.name, decl);
|
||||
}
|
||||
|
@ -138,7 +138,7 @@ export class TypeScriptReflectionHost implements ReflectionHost {
|
|||
if (symbol === undefined) {
|
||||
return null;
|
||||
}
|
||||
return this._getDeclarationOfSymbol(symbol);
|
||||
return this.getDeclarationOfSymbol(symbol);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -146,7 +146,7 @@ export class TypeScriptReflectionHost implements ReflectionHost {
|
|||
*
|
||||
* @internal
|
||||
*/
|
||||
protected _getDeclarationOfSymbol(symbol: ts.Symbol): Declaration|null {
|
||||
protected getDeclarationOfSymbol(symbol: ts.Symbol): Declaration|null {
|
||||
let viaModule: string|null = null;
|
||||
// Look through the Symbol's immediate declarations, and see if any of them are import-type
|
||||
// statements.
|
||||
|
|
Loading…
Reference in New Issue