From d187f678d1c014d1e04b1489bd50f2c2726fcf39 Mon Sep 17 00:00:00 2001 From: Raymond Suelzer Date: Fri, 17 Jul 2015 16:13:57 -0400 Subject: [PATCH] fixing missing ng.scope on api callback --- ui-grid/ui-grid.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui-grid/ui-grid.d.ts b/ui-grid/ui-grid.d.ts index 0d7f4e7fe..7318b1d79 100644 --- a/ui-grid/ui-grid.d.ts +++ b/ui-grid/ui-grid.d.ts @@ -159,7 +159,7 @@ declare module uiGrid { getSelectAllState: () => boolean; on: { rowSelectionChanged: (scope: ng.IScope, handler: (row: IGridRow, event?: Event) => void) => void; - rowSelectionChangedBatch: (scope, handler: (row: IGridRow[], event?: Event) => void) => void; + rowSelectionChangedBatch: (scope: ng.IScope, handler: (row: IGridRow[], event?: Event) => void) => void; } } @@ -170,7 +170,7 @@ declare module uiGrid { previousPage: () => void; seek: () => void; on: { - paginationChanged: (scope, handler: (newPage: number, pageSize: number) => void) => void; + paginationChanged: (scope: ng.IScope, handler: (newPage: number, pageSize: number) => void) => void; } }