diff --git a/jquery/jquery.d.ts b/jquery/jquery.d.ts index 92e95b3088..93cb0b9998 100644 --- a/jquery/jquery.d.ts +++ b/jquery/jquery.d.ts @@ -3329,6 +3329,12 @@ interface JQuery { */ children(selector?: string): JQuery; + /** + * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree. + * + * @param selector A string containing a selector expression to match elements against. + */ + closest(selector: string): JQuery; /** * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree. *