refactor(language-service): rename host
to tsLsHost
(#32346)
Disambiguate the name of the Language Service Host used in constructing a TypeScript Language Service Host by renaming the `host` property to `tsLsHost`. PR Close #32346
This commit is contained in:
@ -86,7 +86,7 @@ class LanguageServiceImpl implements LanguageService {
|
||||
if (fileName.endsWith('.ts')) {
|
||||
const sf = this.host.getSourceFile(fileName);
|
||||
if (sf) {
|
||||
return getTsDefinitionAndBoundSpan(sf, position, this.host.host);
|
||||
return getTsDefinitionAndBoundSpan(sf, position, this.host.tsLsHost);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user