mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
Have more inferface / classes that are disposable extend IDisposable
This makes it easier to track which objects are disposable, since we can use findAllReferences on them
This commit is contained in:
@@ -905,10 +905,9 @@ export const EventHelper = {
|
||||
}
|
||||
};
|
||||
|
||||
export interface IFocusTracker {
|
||||
export interface IFocusTracker extends Disposable {
|
||||
onDidFocus: Event<void>;
|
||||
onDidBlur: Event<void>;
|
||||
dispose(): void;
|
||||
}
|
||||
|
||||
export function saveParentsScrollTop(node: Element): number[] {
|
||||
|
||||
Reference in New Issue
Block a user