Fix future bug in slickgrid.d.ts

Really subtle bug: the function should be using the class generic parameter - not a new one just for the method.
This commit is contained in:
Derek Cicerone
2013-10-25 17:39:28 -04:00
parent 45e8e755f3
commit 1e83c5da21
+1 -1
View File
@@ -87,7 +87,7 @@ declare module Slick {
* @method subscribe
* @param fn {Function} Event handler.
*/
public subscribe<T>(fn: (eventData: EventData, data: T) => any ): void;
public subscribe(fn: (eventData: EventData, data: T) => any ): void;
/***
* Removes an event handler added with <code>subscribe(fn)</code>.