Created
March 10, 2017 07:45
-
-
Save KennethanCeyer/5f609903a644221e4c1326e11d0b2d37 to your computer and use it in GitHub Desktop.
Typings for multiple parameters for jQuery event binder functions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare interface JQuery { | |
bind(eventType: string, handler: (...parameters: any[]) => void): JQuery; | |
on(eventType: string, handler: (...parameters: any[]) => void): JQuery; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment