diff --git a/jquery/jquery-tests.ts b/jquery/jquery-tests.ts index 0a935ce445..2842c1ea3b 100644 --- a/jquery/jquery-tests.ts +++ b/jquery/jquery-tests.ts @@ -2372,7 +2372,7 @@ function test_EventIsCallable() { var ev = jQuery.Event('click'); } -$.when($.ajax("/my/page.json")).then((a,b,c) => a.asdf); // is type JQueryPromise +$.when($.ajax("/my/page.json")).then(a => a.asdf); // is type JQueryPromise $.when("asdf", "jkl;").done((x,y) => x.length + y.length, (x,y) => x.length + y.length); var f1 = $.when("fetch"); // Is type JQueryPromise