From ff9365dc084d64c948e9c4276291ba0a25c0d006 Mon Sep 17 00:00:00 2001 From: Steven Date: Wed, 9 Jul 2014 16:08:20 -0700 Subject: [PATCH] Fix interface for getIdxById in SlickGrid It is clear by the name of this method that it takes an id (string) and returns and index (number). --- slickgrid/SlickGrid.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slickgrid/SlickGrid.d.ts b/slickgrid/SlickGrid.d.ts index 9e66b9647..4c75fbf1f 100644 --- a/slickgrid/SlickGrid.d.ts +++ b/slickgrid/SlickGrid.d.ts @@ -1539,7 +1539,7 @@ declare module Slick { */ public expandGroup(...varArgs: string[]): void; public getGroups(): Group[]; - public getIdxById(): string; + public getIdxById(string): number; public getRowById(): T; public getItemById(id: any): T; public getItemByIdx(): T;