import { DependenciesTreeNode } from '../treeDataProviders/dependenciesTree/dependenciesTreeNode' ; see FocusManager export abstract class AbstractFocus { constructor ( private _pkgType ) { } public isMatched ( dependenciesTreeNode ) { return dependenciesTreeNode . generalInfo . pkgType === this . _pkgType ; } param dependenciesTreeNode public abstract focusOnDependency ( dependenciesTreeNode , focusType ) ; } export enum FocusType { Dependency = 0 , DependencyVersion = 1 }