refactor(language-service): create getTypeDefinitionAtPosition stubs (#39050)
Create stubs for getTypeDefinitionAtPosition for both VE and Ivy Language Service implementations. This will prevent failed requests when it is implemented on the vscode plugin side PR Close #39050
This commit is contained in:

committed by
Alex Rickabaugh

parent
ddc9e8e47a
commit
31e42f0947
@ -24,8 +24,13 @@ export function create(info: ts.server.PluginCreateInfo): ts.LanguageService {
|
||||
return diagnostics;
|
||||
}
|
||||
|
||||
function getTypeDefinitionAtPosition(fileName: string, position: number) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
return {
|
||||
...tsLS,
|
||||
getSemanticDiagnostics,
|
||||
getTypeDefinitionAtPosition,
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user