From 6b7657b69d7f3fdd700c6b9b9ea64a0da1d919ce Mon Sep 17 00:00:00 2001 From: mzsm Date: Tue, 2 Sep 2014 03:54:34 +0900 Subject: [PATCH] JQuery.one can omit `selector`. (like JQuery.on) --- jquery/jquery.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery/jquery.d.ts b/jquery/jquery.d.ts index 1884180fb..80ca7e3b8 100644 --- a/jquery/jquery.d.ts +++ b/jquery/jquery.d.ts @@ -2806,7 +2806,7 @@ interface JQuery { * @param selector A selector string to filter the descendants of the selected elements that will call the handler. If the selector is null or omitted, the handler is always called when it reaches the selected element. * @param data Data to be passed to the handler in event.data when an event occurs. */ - one(events: { [key: string]: any; }, selector?: string, data?: any): JQuery; + one(events: { [key: string]: any; }, selector?: any, data?: any): JQuery; /**