mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-29 01:25:37 -05:00
Fix a bunch of strict issues (#11857)
* fix a bunch of strict issues * fix tests * fix tests
This commit is contained in:
@@ -482,7 +482,7 @@ export class MouseController<T> implements IDisposable {
|
||||
if (document.activeElement !== e.browserEvent.target) {
|
||||
this.table.domFocus();
|
||||
}
|
||||
const merger = (lastEvent: ITableMouseEvent<T>, currentEvent: MouseEvent): ITableMouseEvent<T> => {
|
||||
const merger = (lastEvent: ITableMouseEvent<T> | null, currentEvent: MouseEvent): ITableMouseEvent<T> => {
|
||||
return this.view.toMouseEvent(currentEvent);
|
||||
};
|
||||
this._mouseMoveMonitor.startMonitoring(e.browserEvent.target as HTMLElement, e.buttons, merger, e => this.onMouseMove(e), () => this.onMouseStop());
|
||||
|
||||
Reference in New Issue
Block a user