mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
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:
Vendored
+1
-1
@@ -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>.
|
||||
|
||||
Reference in New Issue
Block a user