mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-09 20:33:30 -06:00
Use getEncodedSyntacticClassifications
This commit is contained in:
parent
6e50853143
commit
2953574eba
@ -882,8 +882,8 @@ namespace ts.server {
|
||||
}
|
||||
|
||||
private getEncodedSyntacticClassifications(args: protocol.EncodedSyntacticClassificationsRequestArgs) {
|
||||
const { file, project } = this.getFileAndProject(args);
|
||||
return project.getLanguageService().getEncodedSyntacticClassifications(file, args);
|
||||
const { file, languageService } = this.getFileAndLanguageServiceForSyntacticOperation(args);
|
||||
return languageService.getEncodedSyntacticClassifications(file, args);
|
||||
}
|
||||
|
||||
private getEncodedSemanticClassifications(args: protocol.EncodedSemanticClassificationsRequestArgs) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user