mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-09 20:37:13 -05:00
remove unused type declaration support
This commit is contained in:
@@ -196,11 +196,6 @@ export interface IMode {
|
||||
*/
|
||||
declarationSupport?: IDeclarationSupport;
|
||||
|
||||
/**
|
||||
* Optional adapter to support revealing the type declaration of a symbol.
|
||||
*/
|
||||
typeDeclarationSupport?: ITypeDeclarationSupport;
|
||||
|
||||
/**
|
||||
* Optional adapter to support finding references to a symbol.
|
||||
*/
|
||||
@@ -476,11 +471,6 @@ export interface IDeclarationSupport {
|
||||
findDeclaration(resource:URI, position:editorCommon.IPosition):TPromise<IReference|IReference[]>;
|
||||
}
|
||||
|
||||
export interface ITypeDeclarationSupport {
|
||||
canFindTypeDeclaration(context:ILineContext, offset:number):boolean;
|
||||
findTypeDeclaration(resource:URI, position:editorCommon.IPosition):TPromise<IReference>;
|
||||
}
|
||||
|
||||
/**
|
||||
* Interface used to compute an outline
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user