From cca60bd5447b1d86d3c296c995c766de7c2ea3d5 Mon Sep 17 00:00:00 2001 From: UrielCh Date: Wed, 12 Dec 2018 10:46:22 +0200 Subject: [PATCH] Add Document as JQuery.contents() output encapsulated type. (#31296) $('iframe').contents() is a JQuery; --- types/jquery/JQuery.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/jquery/JQuery.d.ts b/types/jquery/JQuery.d.ts index 123fad3b34..78602a2d8b 100644 --- a/types/jquery/JQuery.d.ts +++ b/types/jquery/JQuery.d.ts @@ -2090,7 +2090,7 @@ $( "#frameDemo" ).contents().find( "a" ).css( "background-color", "#BADA55" ); ``` */ - contents(): JQuery; + contents(): JQuery; /** * Bind an event handler to the "contextmenu" JavaScript event, or trigger that event on an element. * @param eventData An object containing data that will be passed to the event handler.