diff --git a/jquery/jquery-1.9.d.ts b/jquery/jquery-1.9.d.ts index ce80a5b40c..51908067db 100644 --- a/jquery/jquery-1.9.d.ts +++ b/jquery/jquery-1.9.d.ts @@ -442,6 +442,8 @@ interface JQuery { fadeToggle(duration?: any, callback?: any): JQuery; fadeToggle(duration?: any, easing?: string, callback?: any): JQuery; + finish(): JQuery; + hide(duration?: any, callback?: any): JQuery; hide(duration?: any, easing?: string, callback?: any): JQuery; diff --git a/jquery/jquery-tests.ts b/jquery/jquery-tests.ts index 23389f534a..a8463cd5a6 100644 --- a/jquery/jquery-tests.ts +++ b/jquery/jquery-tests.ts @@ -1366,6 +1366,10 @@ function test_find() { .css({ "font-style": "italic", "font-weight": "bolder" }); } +function test_finish() { + $(".box").finish(); +} + function test_first() { $('li').first().css('background-color', 'red'); }