mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-18 01:25:37 -05:00
fix agent types (#13340)
This commit is contained in:
@@ -22,7 +22,7 @@ export interface CommandEventArgs<T extends Slick.SlickData> {
|
||||
|
||||
export class HeaderFilter<T extends Slick.SlickData> {
|
||||
|
||||
public onFilterApplied = new Slick.Event();
|
||||
public onFilterApplied = new Slick.Event<{ grid: Slick.Grid<T>, column: IExtendedColumn<T>}>();
|
||||
public onCommand = new Slick.Event<CommandEventArgs<T>>();
|
||||
|
||||
private grid!: Slick.Grid<T>;
|
||||
@@ -331,7 +331,7 @@ export class HeaderFilter<T extends Slick.SlickData> {
|
||||
private handleApply(e: JQuery.Event<HTMLElement, null>, columnDef: Slick.Column<T>) {
|
||||
this.hideMenu();
|
||||
|
||||
this.onFilterApplied.notify({ 'grid': this.grid, 'column': columnDef }, e, self);
|
||||
this.onFilterApplied.notify({ grid: this.grid, column: columnDef }, e, self);
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user