@types/jquery 1.10.40 → 1.10.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
jquery v1.10/LICENSE CHANGED
File without changes
jquery v1.10/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for jQuery (http://jquery.com/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery/v1.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 11 Sep 2023 15:33:19 GMT
11
+ * Last updated: Fri, 15 Sep 2023 20:36:37 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `$`, `jQuery`
14
14
 
jquery v1.10/index.d.ts CHANGED
@@ -36,7 +36,6 @@ See the Apache Version 2.0 License for specific language governing permissions
36
36
  and limitations under the License.
37
37
  ***************************************************************************** */
38
38
 
39
-
40
39
  /**
41
40
  * Interface for the AJAX setting that will configure the AJAX request
42
41
  * @see {@link https://api.jquery.com/jQuery.ajax/#jQuery-ajax-settings}
@@ -53,7 +52,7 @@ interface JQueryAjaxSettings {
53
52
  /**
54
53
  * A pre-request callback function that can be used to modify the jqXHR (in jQuery 1.4.x, XMLHTTPRequest) object before it is sent. Use this to set custom headers, etc. The jqXHR and settings objects are passed as arguments. This is an Ajax Event. Returning false in the beforeSend function will cancel the request. As of jQuery 1.5, the beforeSend option will be called regardless of the type of request.
55
54
  */
56
- beforeSend? (jqXHR: JQueryXHR, settings: JQueryAjaxSettings): any;
55
+ beforeSend?(jqXHR: JQueryXHR, settings: JQueryAjaxSettings): any;
57
56
  /**
58
57
  * If set to false, it will force requested pages not to be cached by the browser. Note: Setting cache to false will only work correctly with HEAD and GET requests. It works by appending "_={timestamp}" to the GET parameters. The parameter is not needed for other types of requests, except in IE8 when a POST is made to a URL that has already been requested by a GET.
59
58
  */
@@ -61,12 +60,12 @@ interface JQueryAjaxSettings {
61
60
  /**
62
61
  * A function to be called when the request finishes (after success and error callbacks are executed). The function gets passed two arguments: The jqXHR (in jQuery 1.4.x, XMLHTTPRequest) object and a string categorizing the status of the request ("success", "notmodified", "error", "timeout", "abort", or "parsererror"). As of jQuery 1.5, the complete setting can accept an array of functions. Each function will be called in turn. This is an Ajax Event.
63
62
  */
64
- complete? (jqXHR: JQueryXHR, textStatus: string): any;
63
+ complete?(jqXHR: JQueryXHR, textStatus: string): any;
65
64
  /**
66
65
  * An object of string/regular-expression pairs that determine how jQuery will parse the response, given its content type. (version added: 1.5)
67
66
  */
68
- contents?: { [key: string]: any; } | undefined;
69
- //According to jQuery.ajax source code, ajax's option actually allows contentType to set to "false"
67
+ contents?: { [key: string]: any } | undefined;
68
+ // According to jQuery.ajax source code, ajax's option actually allows contentType to set to "false"
70
69
  // https://github.com/DefinitelyTyped/DefinitelyTyped/issues/742
71
70
  /**
72
71
  * When sending data to the server, use this content type. Default is "application/x-www-form-urlencoded; charset=UTF-8", which is fine for most cases. If you explicitly pass in a content-type to $.ajax(), then it is always sent to the server (even if no data is sent). The W3C XMLHttpRequest specification dictates that the charset is always UTF-8; specifying another charset will not force the browser to change the encoding.
@@ -79,7 +78,7 @@ interface JQueryAjaxSettings {
79
78
  /**
80
79
  * An object containing dataType-to-dataType converters. Each converter's value is a function that returns the transformed value of the response. (version added: 1.5)
81
80
  */
82
- converters?: { [key: string]: any; } | undefined;
81
+ converters?: { [key: string]: any } | undefined;
83
82
  /**
84
83
  * If you wish to force a crossDomain request (such as JSONP) on the same domain, set the value of crossDomain to true. This allows, for example, server-side redirection to another domain. (version added: 1.5)
85
84
  */
@@ -91,7 +90,7 @@ interface JQueryAjaxSettings {
91
90
  /**
92
91
  * A function to be used to handle the raw response data of XMLHttpRequest.This is a pre-filtering function to sanitize the response. You should return the sanitized data. The function accepts two arguments: The raw data returned from the server and the 'dataType' parameter.
93
92
  */
94
- dataFilter? (data: any, ty: any): any;
93
+ dataFilter?(data: any, ty: any): any;
95
94
  /**
96
95
  * The type of data that you're expecting back from the server. If none is specified, jQuery will try to infer it based on the MIME type of the response (an XML MIME type will yield XML, in 1.4 JSON will yield a JavaScript object, in 1.4 script will execute the script, and anything else will be returned as a string).
97
96
  */
@@ -99,7 +98,7 @@ interface JQueryAjaxSettings {
99
98
  /**
100
99
  * A function to be called if the request fails. The function receives three arguments: The jqXHR (in jQuery 1.4.x, XMLHttpRequest) object, a string describing the type of error that occurred and an optional exception object, if one occurred. Possible values for the second argument (besides null) are "timeout", "error", "abort", and "parsererror". When an HTTP error occurs, errorThrown receives the textual portion of the HTTP status, such as "Not Found" or "Internal Server Error." As of jQuery 1.5, the error setting can accept an array of functions. Each function will be called in turn. Note: This handler is not called for cross-domain script and cross-domain JSONP requests. This is an Ajax Event.
101
100
  */
102
- error? (jqXHR: JQueryXHR, textStatus: string, errorThrown: string): any;
101
+ error?(jqXHR: JQueryXHR, textStatus: string, errorThrown: string): any;
103
102
  /**
104
103
  * Whether to trigger global Ajax event handlers for this request. The default is true. Set to false to prevent the global handlers like ajaxStart or ajaxStop from being triggered. This can be used to control various Ajax Events.
105
104
  */
@@ -107,7 +106,7 @@ interface JQueryAjaxSettings {
107
106
  /**
108
107
  * An object of additional header key/value pairs to send along with requests using the XMLHttpRequest transport. The header X-Requested-With: XMLHttpRequest is always added, but its default XMLHttpRequest value can be changed here. Values in the headers setting can also be overwritten from within the beforeSend function. (version added: 1.5)
109
108
  */
110
- headers?: { [key: string]: any; } | undefined;
109
+ headers?: { [key: string]: any } | undefined;
111
110
  /**
112
111
  * Allow the request to be successful only if the response has changed since the last request. This is done by checking the Last-Modified header. Default value is false, ignoring the header. In jQuery 1.4 this technique also checks the 'etag' specified by the server to catch unmodified data.
113
112
  */
@@ -147,11 +146,11 @@ interface JQueryAjaxSettings {
147
146
  /**
148
147
  * An object of numeric HTTP codes and functions to be called when the response has the corresponding code. f the request is successful, the status code functions take the same parameters as the success callback; if it results in an error (including 3xx redirect), they take the same parameters as the error callback. (version added: 1.5)
149
148
  */
150
- statusCode?: { [key: string]: any; } | undefined;
149
+ statusCode?: { [key: string]: any } | undefined;
151
150
  /**
152
151
  * A function to be called if the request succeeds. The function gets passed three arguments: The data returned from the server, formatted according to the dataType parameter; a string describing the status; and the jqXHR (in jQuery 1.4.x, XMLHttpRequest) object. As of jQuery 1.5, the success setting can accept an array of functions. Each function will be called in turn. This is an Ajax Event.
153
152
  */
154
- success? (data: any, textStatus: string, jqXHR: JQueryXHR): any;
153
+ success?(data: any, textStatus: string, jqXHR: JQueryXHR): any;
155
154
  /**
156
155
  * Set a timeout (in milliseconds) for the request. This will override any global timeout set with $.ajaxSetup(). The timeout period starts at the point the $.ajax call is made; if several other requests are in progress and the browser has no connections available, it is possible for a request to time out before it can be sent. In jQuery 1.4.x and below, the XMLHttpRequest object will be in an invalid state if the request times out; accessing any object members may throw an exception. In Firefox 3.0+ only, script and JSONP requests cannot be cancelled by a timeout; the script will run even if it arrives after the timeout period.
157
156
  */
@@ -179,7 +178,7 @@ interface JQueryAjaxSettings {
179
178
  /**
180
179
  * An object of fieldName-fieldValue pairs to set on the native XHR object. For example, you can use it to set withCredentials to true for cross-domain requests if needed. In jQuery 1.5, the withCredentials property was not propagated to the native XHR and thus CORS requests requiring it would ignore this flag. For this reason, we recommend using jQuery 1.5.1+ should you require the use of it. (version added: 1.5.1)
181
180
  */
182
- xhrFields?: { [key: string]: any; } | undefined;
181
+ xhrFields?: { [key: string]: any } | undefined;
183
182
  }
184
183
 
185
184
  /**
@@ -200,7 +199,10 @@ interface JQueryXHR extends XMLHttpRequest, JQueryPromise<any> {
200
199
  /**
201
200
  * Incorporates the functionality of the .done() and .fail() methods, allowing (as of jQuery 1.8) the underlying Promise to be manipulated. Refer to deferred.then() for implementation details.
202
201
  */
203
- then<R>(doneCallback: (data: any, textStatus: string, jqXHR: JQueryXHR) => R|JQueryPromise<R>, failCallback?: (jqXHR: JQueryXHR, textStatus: string, errorThrown: any) => void): JQueryPromise<R>;
202
+ then<R>(
203
+ doneCallback: (data: any, textStatus: string, jqXHR: JQueryXHR) => R | JQueryPromise<R>,
204
+ failCallback?: (jqXHR: JQueryXHR, textStatus: string, errorThrown: any) => void,
205
+ ): JQueryPromise<R>;
204
206
  /**
205
207
  * Property containing the parsed response if the response content type is json
206
208
  */
@@ -319,7 +321,11 @@ interface JQueryGenericPromise<T> {
319
321
  * @param failFilter An optional function that is called when the Deferred is rejected.
320
322
  * @see {@link https://api.jquery.com/deferred.then/#deferred-then-doneFilter-failFilter-progressFilter}
321
323
  */
322
- then<U>(doneFilter: (value?: T, ...values: any[]) => U|JQueryPromise<U>, failFilter?: (...reasons: any[]) => any, progressFilter?: (...progression: any[]) => any): JQueryPromise<U>;
324
+ then<U>(
325
+ doneFilter: (value?: T, ...values: any[]) => U | JQueryPromise<U>,
326
+ failFilter?: (...reasons: any[]) => any,
327
+ progressFilter?: (...progression: any[]) => any,
328
+ ): JQueryPromise<U>;
323
329
 
324
330
  /**
325
331
  * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress.
@@ -328,7 +334,11 @@ interface JQueryGenericPromise<T> {
328
334
  * @param failFilter An optional function that is called when the Deferred is rejected.
329
335
  * @see {@link https://api.jquery.com/deferred.then/#deferred-then-doneFilter-failFilter-progressFilter}
330
336
  */
331
- then(doneFilter: (value?: T, ...values: any[]) => void, failFilter?: (...reasons: any[]) => any, progressFilter?: (...progression: any[]) => any): JQueryPromise<void>;
337
+ then(
338
+ doneFilter: (value?: T, ...values: any[]) => void,
339
+ failFilter?: (...reasons: any[]) => any,
340
+ progressFilter?: (...progression: any[]) => any,
341
+ ): JQueryPromise<void>;
332
342
  }
333
343
 
334
344
  /**
@@ -339,7 +349,10 @@ interface JQueryPromiseCallback<T> {
339
349
  }
340
350
 
341
351
  interface JQueryPromiseOperator<T, U> {
342
- (callback1: JQueryPromiseCallback<T>|JQueryPromiseCallback<T>[], ...callbacksN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryPromise<U>;
352
+ (
353
+ callback1: JQueryPromiseCallback<T> | JQueryPromiseCallback<T>[],
354
+ ...callbacksN: Array<JQueryPromiseCallback<any> | JQueryPromiseCallback<any>[]>
355
+ ): JQueryPromise<U>;
343
356
  }
344
357
 
345
358
  /**
@@ -359,7 +372,10 @@ interface JQueryPromise<T> extends JQueryGenericPromise<T> {
359
372
  * @param alwaysCallbackN Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected.
360
373
  * @see {@link https://api.jquery.com/deferred.always/}
361
374
  */
362
- always(alwaysCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...alwaysCallbackN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryPromise<T>;
375
+ always(
376
+ alwaysCallback1?: JQueryPromiseCallback<any> | JQueryPromiseCallback<any>[],
377
+ ...alwaysCallbackN: Array<JQueryPromiseCallback<any> | JQueryPromiseCallback<any>[]>
378
+ ): JQueryPromise<T>;
363
379
  /**
364
380
  * Add handlers to be called when the Deferred object is resolved.
365
381
  *
@@ -367,7 +383,10 @@ interface JQueryPromise<T> extends JQueryGenericPromise<T> {
367
383
  * @param doneCallbackN Optional additional functions, or arrays of functions, that are called when the Deferred is resolved.
368
384
  * @see {@link https://api.jquery.com/deferred.done/}
369
385
  */
370
- done(doneCallback1?: JQueryPromiseCallback<T>|JQueryPromiseCallback<T>[], ...doneCallbackN: Array<JQueryPromiseCallback<T>|JQueryPromiseCallback<T>[]>): JQueryPromise<T>;
386
+ done(
387
+ doneCallback1?: JQueryPromiseCallback<T> | JQueryPromiseCallback<T>[],
388
+ ...doneCallbackN: Array<JQueryPromiseCallback<T> | JQueryPromiseCallback<T>[]>
389
+ ): JQueryPromise<T>;
371
390
  /**
372
391
  * Add handlers to be called when the Deferred object is rejected.
373
392
  *
@@ -375,7 +394,10 @@ interface JQueryPromise<T> extends JQueryGenericPromise<T> {
375
394
  * @param failCallbackN Optional additional functions, or arrays of functions, that are called when the Deferred is rejected.
376
395
  * @see {@link https://api.jquery.com/deferred.fail/}
377
396
  */
378
- fail(failCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...failCallbackN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryPromise<T>;
397
+ fail(
398
+ failCallback1?: JQueryPromiseCallback<any> | JQueryPromiseCallback<any>[],
399
+ ...failCallbackN: Array<JQueryPromiseCallback<any> | JQueryPromiseCallback<any>[]>
400
+ ): JQueryPromise<T>;
379
401
  /**
380
402
  * Add handlers to be called when the Deferred object generates progress notifications.
381
403
  *
@@ -383,10 +405,17 @@ interface JQueryPromise<T> extends JQueryGenericPromise<T> {
383
405
  * @param progressCallbackN Optional additional functions, or arrays of functions, to be called when the Deferred generates progress notifications.
384
406
  * @see {@link https://api.jquery.com/deferred.progress/}
385
407
  */
386
- progress(progressCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...progressCallbackN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryPromise<T>;
408
+ progress(
409
+ progressCallback1?: JQueryPromiseCallback<any> | JQueryPromiseCallback<any>[],
410
+ ...progressCallbackN: Array<JQueryPromiseCallback<any> | JQueryPromiseCallback<any>[]>
411
+ ): JQueryPromise<T>;
387
412
 
388
413
  // Deprecated - given no typings
389
- pipe(doneFilter?: (x: any) => any, failFilter?: (x: any) => any, progressFilter?: (x: any) => any): JQueryPromise<any>;
414
+ pipe(
415
+ doneFilter?: (x: any) => any,
416
+ failFilter?: (x: any) => any,
417
+ progressFilter?: (x: any) => any,
418
+ ): JQueryPromise<any>;
390
419
 
391
420
  /**
392
421
  * Return a Deferred's Promise object.
@@ -414,7 +443,10 @@ interface JQueryDeferred<T> extends JQueryGenericPromise<T> {
414
443
  * @param alwaysCallbackN Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected.
415
444
  * @see {@link https://api.jquery.com/deferred.always/}
416
445
  */
417
- always(alwaysCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...alwaysCallbackN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryDeferred<T>;
446
+ always(
447
+ alwaysCallback1?: JQueryPromiseCallback<any> | JQueryPromiseCallback<any>[],
448
+ ...alwaysCallbackN: Array<JQueryPromiseCallback<any> | JQueryPromiseCallback<any>[]>
449
+ ): JQueryDeferred<T>;
418
450
  /**
419
451
  * Add handlers to be called when the Deferred object is resolved.
420
452
  *
@@ -422,7 +454,10 @@ interface JQueryDeferred<T> extends JQueryGenericPromise<T> {
422
454
  * @param doneCallbackN Optional additional functions, or arrays of functions, that are called when the Deferred is resolved.
423
455
  * @see {@link https://api.jquery.com/deferred.done/}
424
456
  */
425
- done(doneCallback1?: JQueryPromiseCallback<T>|JQueryPromiseCallback<T>[], ...doneCallbackN: Array<JQueryPromiseCallback<T>|JQueryPromiseCallback<T>[]>): JQueryDeferred<T>;
457
+ done(
458
+ doneCallback1?: JQueryPromiseCallback<T> | JQueryPromiseCallback<T>[],
459
+ ...doneCallbackN: Array<JQueryPromiseCallback<T> | JQueryPromiseCallback<T>[]>
460
+ ): JQueryDeferred<T>;
426
461
  /**
427
462
  * Add handlers to be called when the Deferred object is rejected.
428
463
  *
@@ -430,7 +465,10 @@ interface JQueryDeferred<T> extends JQueryGenericPromise<T> {
430
465
  * @param failCallbackN Optional additional functions, or arrays of functions, that are called when the Deferred is rejected.
431
466
  * @see {@link https://api.jquery.com/deferred.fail/}
432
467
  */
433
- fail(failCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...failCallbackN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryDeferred<T>;
468
+ fail(
469
+ failCallback1?: JQueryPromiseCallback<any> | JQueryPromiseCallback<any>[],
470
+ ...failCallbackN: Array<JQueryPromiseCallback<any> | JQueryPromiseCallback<any>[]>
471
+ ): JQueryDeferred<T>;
434
472
  /**
435
473
  * Add handlers to be called when the Deferred object generates progress notifications.
436
474
  *
@@ -438,7 +476,10 @@ interface JQueryDeferred<T> extends JQueryGenericPromise<T> {
438
476
  * @param progressCallbackN Optional additional functions, or arrays of functions, to be called when the Deferred generates progress notifications.
439
477
  * @see {@link https://api.jquery.com/deferred.progress/}
440
478
  */
441
- progress(progressCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...progressCallbackN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryDeferred<T>;
479
+ progress(
480
+ progressCallback1?: JQueryPromiseCallback<any> | JQueryPromiseCallback<any>[],
481
+ ...progressCallbackN: Array<JQueryPromiseCallback<any> | JQueryPromiseCallback<any>[]>
482
+ ): JQueryDeferred<T>;
442
483
 
443
484
  /**
444
485
  * Call the progressCallbacks on a Deferred object with the given args.
@@ -500,7 +541,11 @@ interface JQueryDeferred<T> extends JQueryGenericPromise<T> {
500
541
  promise(target?: any): JQueryPromise<T>;
501
542
 
502
543
  // Deprecated - given no typings
503
- pipe(doneFilter?: (x: any) => any, failFilter?: (x: any) => any, progressFilter?: (x: any) => any): JQueryPromise<any>;
544
+ pipe(
545
+ doneFilter?: (x: any) => any,
546
+ failFilter?: (x: any) => any,
547
+ progressFilter?: (x: any) => any,
548
+ ): JQueryPromise<any>;
504
549
  }
505
550
 
506
551
  /**
@@ -630,7 +675,9 @@ interface JQueryKeyEventObject extends JQueryInputEventObject {
630
675
  keyCode: number;
631
676
  }
632
677
 
633
- interface JQueryEventObject extends BaseJQueryEventObject, JQueryInputEventObject, JQueryMouseEventObject, JQueryKeyEventObject{
678
+ interface JQueryEventObject
679
+ extends BaseJQueryEventObject, JQueryInputEventObject, JQueryMouseEventObject, JQueryKeyEventObject
680
+ {
634
681
  }
635
682
 
636
683
  /**
@@ -659,7 +706,7 @@ interface JQuerySupport {
659
706
  opacity?: boolean | undefined;
660
707
  optDisabled?: boolean | undefined;
661
708
  optSelected?: boolean | undefined;
662
- scriptEval? (): boolean;
709
+ scriptEval?(): boolean;
663
710
  style?: boolean | undefined;
664
711
  submitBubbles?: boolean | undefined;
665
712
  tbody?: boolean | undefined;
@@ -690,7 +737,7 @@ interface JQueryParam {
690
737
  */
691
738
  interface JQueryEventConstructor {
692
739
  (name: string, eventProperties?: any): JQueryEventObject;
693
- new (name: string, eventProperties?: any): JQueryEventObject;
740
+ new(name: string, eventProperties?: any): JQueryEventObject;
694
741
  }
695
742
 
696
743
  /**
@@ -770,11 +817,11 @@ interface JQueryAnimationOptions {
770
817
  }
771
818
 
772
819
  interface JQueryEasingFunction {
773
- ( percent: number ): number;
820
+ (percent: number): number;
774
821
  }
775
822
 
776
823
  interface JQueryEasingFunctions {
777
- [ name: string ]: JQueryEasingFunction;
824
+ [name: string]: JQueryEasingFunction;
778
825
  linear: JQueryEasingFunction;
779
826
  swing: JQueryEasingFunction;
780
827
  }
@@ -785,7 +832,6 @@ interface JQueryEasingFunctions {
785
832
  * @see {@link https://api.jquery.com/Types/#jQuery}
786
833
  */
787
834
  interface JQueryStatic {
788
-
789
835
  /**
790
836
  * Perform an asynchronous HTTP (Ajax) request.
791
837
  *
@@ -809,7 +855,10 @@ interface JQueryStatic {
809
855
  * @param handler A handler to set default values for future Ajax requests.
810
856
  * @see {@link https://api.jquery.com/jQuery.ajaxPrefilter/}
811
857
  */
812
- ajaxPrefilter(dataTypes: string, handler: (opts: any, originalOpts: JQueryAjaxSettings, jqXHR: JQueryXHR) => any): void;
858
+ ajaxPrefilter(
859
+ dataTypes: string,
860
+ handler: (opts: any, originalOpts: JQueryAjaxSettings, jqXHR: JQueryXHR) => any,
861
+ ): void;
813
862
  /**
814
863
  * Handle custom Ajax options or modify existing options before each request is sent and before they are processed by $.ajax().
815
864
  *
@@ -818,23 +867,26 @@ interface JQueryStatic {
818
867
  */
819
868
  ajaxPrefilter(handler: (opts: any, originalOpts: JQueryAjaxSettings, jqXHR: JQueryXHR) => any): void;
820
869
 
821
- /**
870
+ /**
822
871
  * Creates an object that handles the actual transmission of Ajax data.
823
872
  *
824
873
  * @param dataType A string identifying the data type to use.
825
874
  * @param handler A handler to return the new transport object to use with the data type provided in the first argument.
826
875
  * @see {@link https://api.jquery.com/jQuery.ajaxTransport/}
827
876
  */
828
- ajaxTransport(dataType: string, handler: (opts: any, originalOpts: JQueryAjaxSettings, jqXHR: JQueryXHR) => any): void;
877
+ ajaxTransport(
878
+ dataType: string,
879
+ handler: (opts: any, originalOpts: JQueryAjaxSettings, jqXHR: JQueryXHR) => any,
880
+ ): void;
829
881
 
830
882
  ajaxSettings: JQueryAjaxSettings;
831
883
 
832
- /**
833
- * Set default values for future Ajax requests. Its use is not recommended.
834
- *
835
- * @param options A set of key/value pairs that configure the default Ajax request. All options are optional.
836
- * @see {@link https://api.jquery.com/jQuery.ajaxSetup/}
837
- */
884
+ /**
885
+ * Set default values for future Ajax requests. Its use is not recommended.
886
+ *
887
+ * @param options A set of key/value pairs that configure the default Ajax request. All options are optional.
888
+ * @see {@link https://api.jquery.com/jQuery.ajaxSetup/}
889
+ */
838
890
  ajaxSetup(options: JQueryAjaxSettings): void;
839
891
 
840
892
  /**
@@ -855,14 +907,19 @@ interface JQueryStatic {
855
907
  * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html).
856
908
  * @see {@link https://api.jquery.com/jQuery.get/#jQuery-get-url-data-success-dataType}
857
909
  */
858
- get(url: string, data?: Object|string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR;
910
+ get(
911
+ url: string,
912
+ data?: Object | string,
913
+ success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any,
914
+ dataType?: string,
915
+ ): JQueryXHR;
859
916
  /**
860
917
  * Load data from the server using a HTTP GET request.
861
918
  *
862
919
  * @param settings The JQueryAjaxSettings to be used for the request
863
920
  * @see {@link https://api.jquery.com/jQuery.get/#jQuery-get-settings}
864
921
  */
865
- get(settings : JQueryAjaxSettings): JQueryXHR;
922
+ get(settings: JQueryAjaxSettings): JQueryXHR;
866
923
  /**
867
924
  * Load JSON-encoded data from the server using a GET HTTP request.
868
925
  *
@@ -879,7 +936,11 @@ interface JQueryStatic {
879
936
  * @param success A callback function that is executed if the request succeeds.
880
937
  * @see {@link https://api.jquery.com/jQuery.getJSON/}
881
938
  */
882
- getJSON(url: string, data?: Object|string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any): JQueryXHR;
939
+ getJSON(
940
+ url: string,
941
+ data?: Object | string,
942
+ success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any,
943
+ ): JQueryXHR;
883
944
  /**
884
945
  * Load a JavaScript file from the server using a GET HTTP request, then execute it.
885
946
  *
@@ -914,14 +975,19 @@ interface JQueryStatic {
914
975
  * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html).
915
976
  * @see {@link https://api.jquery.com/jQuery.post/#jQuery-post-url-data-success-dataType}
916
977
  */
917
- post(url: string, data?: Object|string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR;
978
+ post(
979
+ url: string,
980
+ data?: Object | string,
981
+ success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any,
982
+ dataType?: string,
983
+ ): JQueryXHR;
918
984
  /**
919
985
  * Load data from the server using a HTTP POST request.
920
986
  *
921
987
  * @param settings The JQueryAjaxSettings to be used for the request
922
988
  * @see {@link https://api.jquery.com/jQuery.post/#jQuery-post-settings}
923
989
  */
924
- post(settings : JQueryAjaxSettings): JQueryXHR;
990
+ post(settings: JQueryAjaxSettings): JQueryXHR;
925
991
  /**
926
992
  * A multi-purpose callbacks list object that provides a powerful way to manage callback lists.
927
993
  *
@@ -945,7 +1011,7 @@ interface JQueryStatic {
945
1011
  * @param context A DOM Element, Document, or jQuery to use as context
946
1012
  * @see {@link https://api.jquery.com/jQuery/#jQuery-selector-context}
947
1013
  */
948
- (selector: string, context?: Element|JQuery): JQuery;
1014
+ (selector: string, context?: Element | JQuery): JQuery;
949
1015
 
950
1016
  /**
951
1017
  * Accepts a string containing a CSS selector which is then used to match a set of elements.
@@ -1025,13 +1091,13 @@ interface JQueryStatic {
1025
1091
  * @param deferreds One or more Deferred objects, or plain JavaScript objects.
1026
1092
  * @see {@link https://api.jquery.com/jQuery.when/}
1027
1093
  */
1028
- when<T>(...deferreds: Array<T|JQueryPromise<T>/* as JQueryDeferred<T> */>): JQueryPromise<T>;
1094
+ when<T>(...deferreds: Array<T | JQueryPromise<T> /* as JQueryDeferred<T> */>): JQueryPromise<T>;
1029
1095
 
1030
1096
  /**
1031
1097
  * Hook directly into jQuery to override how particular CSS properties are retrieved or set, normalize CSS property naming, or create custom properties.
1032
1098
  * @see {@link https://api.jquery.com/jQuery.cssHooks/}
1033
1099
  */
1034
- cssHooks: { [key: string]: any; };
1100
+ cssHooks: { [key: string]: any };
1035
1101
 
1036
1102
  /**
1037
1103
  * An object containing all CSS properties that may be used without a unit. The .css() method uses this object to see if it may append px to unitless values.
@@ -1139,7 +1205,7 @@ interface JQueryStatic {
1139
1205
  */
1140
1206
  interval: number;
1141
1207
  stop: () => void;
1142
- speeds: { slow: number; fast: number; };
1208
+ speeds: { slow: number; fast: number };
1143
1209
  /**
1144
1210
  * Globally disable all animations.
1145
1211
  * @see {@link https://api.jquery.com/jQuery.fx.off/}
@@ -1204,8 +1270,8 @@ interface JQueryStatic {
1204
1270
  */
1205
1271
  each<T>(
1206
1272
  collection: T[],
1207
- callback: (indexInArray: number, valueOfElement: T) => boolean | void
1208
- ): T[];
1273
+ callback: (indexInArray: number, valueOfElement: T) => boolean | void,
1274
+ ): T[];
1209
1275
 
1210
1276
  /**
1211
1277
  * A generic iterator function, which can be used to seamlessly iterate over both objects and arrays. Arrays and array-like objects with a length property (such as a function's arguments object) are iterated by numeric index, from 0 to length-1. Other objects are iterated via their named properties.
@@ -1218,8 +1284,8 @@ interface JQueryStatic {
1218
1284
  each<T extends Object>(
1219
1285
  collection: T,
1220
1286
  // TODO: `(keyInObject: keyof T, valueOfElement: T[keyof T])`, when TypeScript 2.1 allowed in repository
1221
- callback: (keyInObject: string, valueOfElement: any) => boolean | void
1222
- ): T;
1287
+ callback: (keyInObject: string, valueOfElement: any) => boolean | void,
1288
+ ): T;
1223
1289
 
1224
1290
  /**
1225
1291
  * Merge the contents of two or more objects together into the first object.
@@ -1395,7 +1461,21 @@ interface JQueryStatic {
1395
1461
  * @param obj Object to get the internal JavaScript [[Class]] of.
1396
1462
  * @see {@link https://api.jquery.com/jQuery.type/}
1397
1463
  */
1398
- type(obj: any): "array" | "boolean" | "date" | "error" | "function" | "null" | "number" | "object" | "regexp" | "string" | "symbol" | "undefined";
1464
+ type(
1465
+ obj: any,
1466
+ ):
1467
+ | "array"
1468
+ | "boolean"
1469
+ | "date"
1470
+ | "error"
1471
+ | "function"
1472
+ | "null"
1473
+ | "number"
1474
+ | "object"
1475
+ | "regexp"
1476
+ | "string"
1477
+ | "symbol"
1478
+ | "undefined";
1399
1479
 
1400
1480
  /**
1401
1481
  * Sorts an array of DOM elements, in place, with the duplicates removed. Note that this only works on arrays of DOM elements, not strings or numbers.
@@ -1445,7 +1525,14 @@ interface JQuery {
1445
1525
  * @param handler The function to be invoked.
1446
1526
  * @see {@link https://api.jquery.com/ajaxError/}
1447
1527
  */
1448
- ajaxError(handler: (event: JQueryEventObject, jqXHR: JQueryXHR, ajaxSettings: JQueryAjaxSettings, thrownError: any) => any): JQuery;
1528
+ ajaxError(
1529
+ handler: (
1530
+ event: JQueryEventObject,
1531
+ jqXHR: JQueryXHR,
1532
+ ajaxSettings: JQueryAjaxSettings,
1533
+ thrownError: any,
1534
+ ) => any,
1535
+ ): JQuery;
1449
1536
  /**
1450
1537
  * Attach a function to be executed before an Ajax request is sent. This is an Ajax Event.
1451
1538
  *
@@ -1473,7 +1560,9 @@ interface JQuery {
1473
1560
  * @param handler The function to be invoked.
1474
1561
  * @see {@link https://api.jquery.com/ajaxSuccess/}
1475
1562
  */
1476
- ajaxSuccess(handler: (event: JQueryEventObject, XMLHttpRequest: XMLHttpRequest, ajaxOptions: JQueryAjaxSettings) => any): JQuery;
1563
+ ajaxSuccess(
1564
+ handler: (event: JQueryEventObject, XMLHttpRequest: XMLHttpRequest, ajaxOptions: JQueryAjaxSettings) => any,
1565
+ ): JQuery;
1477
1566
 
1478
1567
  /**
1479
1568
  * Load data from the server and place the returned HTML into the matched element.
@@ -1483,7 +1572,11 @@ interface JQuery {
1483
1572
  * @param complete A callback function that is executed when the request completes.
1484
1573
  * @see {@link https://api.jquery.com/load/}
1485
1574
  */
1486
- load(url: string, data?: string|Object, complete?: (responseText: string, textStatus: string, XMLHttpRequest: XMLHttpRequest) => any): JQuery;
1575
+ load(
1576
+ url: string,
1577
+ data?: string | Object,
1578
+ complete?: (responseText: string, textStatus: string, XMLHttpRequest: XMLHttpRequest) => any,
1579
+ ): JQuery;
1487
1580
 
1488
1581
  /**
1489
1582
  * Encode a set of form elements as a string for submission.
@@ -1531,7 +1624,7 @@ interface JQuery {
1531
1624
  * @param value A value to set for the attribute. If this is `null`, the attribute will be deleted.
1532
1625
  * @see {@link https://api.jquery.com/attr/#attr-attributeName-value}
1533
1626
  */
1534
- attr(attributeName: string, value: string|number|null): JQuery;
1627
+ attr(attributeName: string, value: string | number | null): JQuery;
1535
1628
  /**
1536
1629
  * Set one or more attributes for the set of matched elements.
1537
1630
  *
@@ -1539,7 +1632,7 @@ interface JQuery {
1539
1632
  * @param func A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old attribute value as arguments.
1540
1633
  * @see {@link https://api.jquery.com/attr/#attr-attributeName-function}
1541
1634
  */
1542
- attr(attributeName: string, func: (index: number, attr: string) => string|number): JQuery;
1635
+ attr(attributeName: string, func: (index: number, attr: string) => string | number): JQuery;
1543
1636
  /**
1544
1637
  * Set one or more attributes for the set of matched elements.
1545
1638
  *
@@ -1590,7 +1683,7 @@ interface JQuery {
1590
1683
  * @param value A value to set for the property.
1591
1684
  * @see {@link https://api.jquery.com/prop/#prop-propertyName-value}
1592
1685
  */
1593
- prop(propertyName: string, value: string|number|boolean): JQuery;
1686
+ prop(propertyName: string, value: string | number | boolean): JQuery;
1594
1687
  /**
1595
1688
  * Set one or more properties for the set of matched elements.
1596
1689
  *
@@ -1673,7 +1766,7 @@ interface JQuery {
1673
1766
  * @param value A string of text, an array of strings or number corresponding to the value of each matched element to set as selected/checked.
1674
1767
  * @see {@link https://api.jquery.com/val/#val-value}
1675
1768
  */
1676
- val(value: string|string[]|number): JQuery;
1769
+ val(value: string | string[] | number): JQuery;
1677
1770
  /**
1678
1771
  * Set the value of each element in the set of matched elements.
1679
1772
  *
@@ -1704,7 +1797,7 @@ interface JQuery {
1704
1797
  * @param value A value to set for the property.
1705
1798
  * @see {@link https://api.jquery.com/css/#css-propertyName-value}
1706
1799
  */
1707
- css(propertyName: string, value: string|number): JQuery;
1800
+ css(propertyName: string, value: string | number): JQuery;
1708
1801
  /**
1709
1802
  * Set one or more CSS properties for the set of matched elements.
1710
1803
  *
@@ -1712,7 +1805,7 @@ interface JQuery {
1712
1805
  * @param value A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments.
1713
1806
  * @see {@link https://api.jquery.com/css/#css-propertyName-function}
1714
1807
  */
1715
- css(propertyName: string, value: (index: number, value: string) => string|number): JQuery;
1808
+ css(propertyName: string, value: (index: number, value: string) => string | number): JQuery;
1716
1809
  /**
1717
1810
  * Set one or more CSS properties for the set of matched elements.
1718
1811
  *
@@ -1732,14 +1825,14 @@ interface JQuery {
1732
1825
  * @param value An integer representing the number of pixels, or an integer with an optional unit of measure appended (as a string).
1733
1826
  * @see {@link https://api.jquery.com/height/#height-value}
1734
1827
  */
1735
- height(value: number|string): JQuery;
1828
+ height(value: number | string): JQuery;
1736
1829
  /**
1737
1830
  * Set the CSS height of every matched element.
1738
1831
  *
1739
1832
  * @param func A function returning the height to set. Receives the index position of the element in the set and the old height as arguments. Within the function, this refers to the current element in the set.
1740
1833
  * @see {@link https://api.jquery.com/height/#height-function}
1741
1834
  */
1742
- height(func: (index: number, height: number) => number|string): JQuery;
1835
+ height(func: (index: number, height: number) => number | string): JQuery;
1743
1836
 
1744
1837
  /**
1745
1838
  * Get the current computed height for the first element in the set of matched elements, including padding but not border.
@@ -1753,7 +1846,7 @@ interface JQuery {
1753
1846
  * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).
1754
1847
  * @see {@link https://api.jquery.com/innerHeight/#innerHeight-value}
1755
1848
  */
1756
- innerHeight(value: number|string): JQuery;
1849
+ innerHeight(value: number | string): JQuery;
1757
1850
 
1758
1851
  /**
1759
1852
  * Get the current computed width for the first element in the set of matched elements, including padding but not border.
@@ -1767,7 +1860,7 @@ interface JQuery {
1767
1860
  * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).
1768
1861
  * @see {@link https://api.jquery.com/innerWidth/#innerWidth-value}
1769
1862
  */
1770
- innerWidth(value: number|string): JQuery;
1863
+ innerWidth(value: number | string): JQuery;
1771
1864
 
1772
1865
  /**
1773
1866
  * Get the current coordinates of the first element in the set of matched elements, relative to the document.
@@ -1803,7 +1896,7 @@ interface JQuery {
1803
1896
  * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).
1804
1897
  * @see {@link https://api.jquery.com/outerHeight/#outerHeight-value}
1805
1898
  */
1806
- outerHeight(value: number|string): JQuery;
1899
+ outerHeight(value: number | string): JQuery;
1807
1900
 
1808
1901
  /**
1809
1902
  * Get the current computed width for the first element in the set of matched elements, including padding and border.
@@ -1819,7 +1912,7 @@ interface JQuery {
1819
1912
  * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).
1820
1913
  * @see {@link https://api.jquery.com/outerWidth/#outerWidth-value}
1821
1914
  */
1822
- outerWidth(value: number|string): JQuery;
1915
+ outerWidth(value: number | string): JQuery;
1823
1916
 
1824
1917
  /**
1825
1918
  * Get the current coordinates of the first element in the set of matched elements, relative to the offset parent.
@@ -1864,14 +1957,14 @@ interface JQuery {
1864
1957
  * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).
1865
1958
  * @see {@link https://api.jquery.com/width/#width-value}
1866
1959
  */
1867
- width(value: number|string): JQuery;
1960
+ width(value: number | string): JQuery;
1868
1961
  /**
1869
1962
  * Set the CSS width of each element in the set of matched elements.
1870
1963
  *
1871
1964
  * @param func A function returning the width to set. Receives the index position of the element in the set and the old width as arguments. Within the function, this refers to the current element in the set.
1872
1965
  * @see {@link https://api.jquery.com/width/#width-function}
1873
1966
  */
1874
- width(func: (index: number, width: number) => number|string): JQuery;
1967
+ width(func: (index: number, width: number) => number | string): JQuery;
1875
1968
 
1876
1969
  /**
1877
1970
  * Remove from the queue all items that have not yet been run.
@@ -1902,7 +1995,7 @@ interface JQuery {
1902
1995
  * @param obj An object of key-value pairs of data to update.
1903
1996
  * @see {@link https://api.jquery.com/data/#data-obj}
1904
1997
  */
1905
- data(obj: { [key: string]: any; }): JQuery;
1998
+ data(obj: { [key: string]: any }): JQuery;
1906
1999
  /**
1907
2000
  * Return the value at the named data store for the first element in the jQuery collection, as set by data(name, value) or by an HTML5 data-* attribute.
1908
2001
  * @see {@link https://api.jquery.com/data/#data}
@@ -1954,7 +2047,7 @@ interface JQuery {
1954
2047
  * @param complete A function to call once the animation is complete.
1955
2048
  * @see {@link https://api.jquery.com/animate/#animate-properties-duration-easing-complete}
1956
2049
  */
1957
- animate(properties: Object, duration?: string|number, complete?: Function): JQuery;
2050
+ animate(properties: Object, duration?: string | number, complete?: Function): JQuery;
1958
2051
  /**
1959
2052
  * Perform a custom animation of a set of CSS properties.
1960
2053
  *
@@ -1964,7 +2057,7 @@ interface JQuery {
1964
2057
  * @param complete A function to call once the animation is complete.
1965
2058
  * @see {@link https://api.jquery.com/animate/#animate-properties-duration-easing-complete}
1966
2059
  */
1967
- animate(properties: Object, duration?: string|number, easing?: string, complete?: Function): JQuery;
2060
+ animate(properties: Object, duration?: string | number, easing?: string, complete?: Function): JQuery;
1968
2061
  /**
1969
2062
  * Perform a custom animation of a set of CSS properties.
1970
2063
  *
@@ -1990,7 +2083,7 @@ interface JQuery {
1990
2083
  * @param complete A function to call once the animation is complete.
1991
2084
  * @see {@link https://api.jquery.com/fadeIn/#fadeIn-duration-complete}
1992
2085
  */
1993
- fadeIn(duration?: number|string, complete?: Function): JQuery;
2086
+ fadeIn(duration?: number | string, complete?: Function): JQuery;
1994
2087
  /**
1995
2088
  * Display the matched elements by fading them to opaque.
1996
2089
  *
@@ -1999,7 +2092,7 @@ interface JQuery {
1999
2092
  * @param complete A function to call once the animation is complete.
2000
2093
  * @see {@link https://api.jquery.com/fadeIn/#fadeIn-duration-easing-complete}
2001
2094
  */
2002
- fadeIn(duration?: number|string, easing?: string, complete?: Function): JQuery;
2095
+ fadeIn(duration?: number | string, easing?: string, complete?: Function): JQuery;
2003
2096
  /**
2004
2097
  * Display the matched elements by fading them to opaque.
2005
2098
  *
@@ -2015,7 +2108,7 @@ interface JQuery {
2015
2108
  * @param complete A function to call once the animation is complete.
2016
2109
  * @see {@link https://api.jquery.com/fadeOut/#fadeOut-duration-complete}
2017
2110
  */
2018
- fadeOut(duration?: number|string, complete?: Function): JQuery;
2111
+ fadeOut(duration?: number | string, complete?: Function): JQuery;
2019
2112
  /**
2020
2113
  * Hide the matched elements by fading them to transparent.
2021
2114
  *
@@ -2024,7 +2117,7 @@ interface JQuery {
2024
2117
  * @param complete A function to call once the animation is complete.
2025
2118
  * @see {@link https://api.jquery.com/fadeOut/#fadeOut-duration-easing-complete}
2026
2119
  */
2027
- fadeOut(duration?: number|string, easing?: string, complete?: Function): JQuery;
2120
+ fadeOut(duration?: number | string, easing?: string, complete?: Function): JQuery;
2028
2121
  /**
2029
2122
  * Hide the matched elements by fading them to transparent.
2030
2123
  *
@@ -2041,7 +2134,7 @@ interface JQuery {
2041
2134
  * @param complete A function to call once the animation is complete.
2042
2135
  * @see {@link https://api.jquery.com/fadeTo/#fadeTo-duration-opacity-complete}
2043
2136
  */
2044
- fadeTo(duration: string|number, opacity: number, complete?: Function): JQuery;
2137
+ fadeTo(duration: string | number, opacity: number, complete?: Function): JQuery;
2045
2138
  /**
2046
2139
  * Adjust the opacity of the matched elements.
2047
2140
  *
@@ -2051,7 +2144,7 @@ interface JQuery {
2051
2144
  * @param complete A function to call once the animation is complete.
2052
2145
  * @see {@link https://api.jquery.com/fadeTo/#fadeTo-duration-opacity-easing-complete}
2053
2146
  */
2054
- fadeTo(duration: string|number, opacity: number, easing?: string, complete?: Function): JQuery;
2147
+ fadeTo(duration: string | number, opacity: number, easing?: string, complete?: Function): JQuery;
2055
2148
 
2056
2149
  /**
2057
2150
  * Display or hide the matched elements by animating their opacity.
@@ -2060,7 +2153,7 @@ interface JQuery {
2060
2153
  * @param complete A function to call once the animation is complete.
2061
2154
  * @see {@link https://api.jquery.com/fadeToggle/#fadeToggle-duration-easing-complete}
2062
2155
  */
2063
- fadeToggle(duration?: number|string, complete?: Function): JQuery;
2156
+ fadeToggle(duration?: number | string, complete?: Function): JQuery;
2064
2157
  /**
2065
2158
  * Display or hide the matched elements by animating their opacity.
2066
2159
  *
@@ -2069,7 +2162,7 @@ interface JQuery {
2069
2162
  * @param complete A function to call once the animation is complete.
2070
2163
  * @see {@link https://api.jquery.com/fadeToggle/#fadeToggle-duration-easing-complete}
2071
2164
  */
2072
- fadeToggle(duration?: number|string, easing?: string, complete?: Function): JQuery;
2165
+ fadeToggle(duration?: number | string, easing?: string, complete?: Function): JQuery;
2073
2166
  /**
2074
2167
  * Display or hide the matched elements by animating their opacity.
2075
2168
  *
@@ -2093,7 +2186,7 @@ interface JQuery {
2093
2186
  * @param complete A function to call once the animation is complete.
2094
2187
  * @see {@link https://api.jquery.com/hide/#hide}
2095
2188
  */
2096
- hide(duration?: number|string, complete?: Function): JQuery;
2189
+ hide(duration?: number | string, complete?: Function): JQuery;
2097
2190
  /**
2098
2191
  * Hide the matched elements.
2099
2192
  *
@@ -2102,7 +2195,7 @@ interface JQuery {
2102
2195
  * @param complete A function to call once the animation is complete.
2103
2196
  * @see {@link https://api.jquery.com/hide/#hide-duration-easing-complete}
2104
2197
  */
2105
- hide(duration?: number|string, easing?: string, complete?: Function): JQuery;
2198
+ hide(duration?: number | string, easing?: string, complete?: Function): JQuery;
2106
2199
  /**
2107
2200
  * Hide the matched elements.
2108
2201
  *
@@ -2118,7 +2211,7 @@ interface JQuery {
2118
2211
  * @param complete A function to call once the animation is complete.
2119
2212
  * @see {@link https://api.jquery.com/show/#show}
2120
2213
  */
2121
- show(duration?: number|string, complete?: Function): JQuery;
2214
+ show(duration?: number | string, complete?: Function): JQuery;
2122
2215
  /**
2123
2216
  * Display the matched elements.
2124
2217
  *
@@ -2127,7 +2220,7 @@ interface JQuery {
2127
2220
  * @param complete A function to call once the animation is complete.
2128
2221
  * @see {@link https://api.jquery.com/show/#show-duration-easing-complete}
2129
2222
  */
2130
- show(duration?: number|string, easing?: string, complete?: Function): JQuery;
2223
+ show(duration?: number | string, easing?: string, complete?: Function): JQuery;
2131
2224
  /**
2132
2225
  * Display the matched elements.
2133
2226
  *
@@ -2143,7 +2236,7 @@ interface JQuery {
2143
2236
  * @param complete A function to call once the animation is complete.
2144
2237
  * @see {@link https://api.jquery.com/slideDown/#slideDown-duration-complete}
2145
2238
  */
2146
- slideDown(duration?: number|string, complete?: Function): JQuery;
2239
+ slideDown(duration?: number | string, complete?: Function): JQuery;
2147
2240
  /**
2148
2241
  * Display the matched elements with a sliding motion.
2149
2242
  *
@@ -2152,7 +2245,7 @@ interface JQuery {
2152
2245
  * @param complete A function to call once the animation is complete.
2153
2246
  * @see {@link https://api.jquery.com/slideDown/#slideDown-duration-easing-complete}
2154
2247
  */
2155
- slideDown(duration?: number|string, easing?: string, complete?: Function): JQuery;
2248
+ slideDown(duration?: number | string, easing?: string, complete?: Function): JQuery;
2156
2249
  /**
2157
2250
  * Display the matched elements with a sliding motion.
2158
2251
  *
@@ -2168,7 +2261,7 @@ interface JQuery {
2168
2261
  * @param complete A function to call once the animation is complete.
2169
2262
  * @see {@link https://api.jquery.com/slideToggle/#slideToggle-duration-complete}
2170
2263
  */
2171
- slideToggle(duration?: number|string, complete?: Function): JQuery;
2264
+ slideToggle(duration?: number | string, complete?: Function): JQuery;
2172
2265
  /**
2173
2266
  * Display or hide the matched elements with a sliding motion.
2174
2267
  *
@@ -2177,7 +2270,7 @@ interface JQuery {
2177
2270
  * @param complete A function to call once the animation is complete.
2178
2271
  * @see {@link https://api.jquery.com/slideToggle/#slideToggle-duration-easing-complete}
2179
2272
  */
2180
- slideToggle(duration?: number|string, easing?: string, complete?: Function): JQuery;
2273
+ slideToggle(duration?: number | string, easing?: string, complete?: Function): JQuery;
2181
2274
  /**
2182
2275
  * Display or hide the matched elements with a sliding motion.
2183
2276
  *
@@ -2193,7 +2286,7 @@ interface JQuery {
2193
2286
  * @param complete A function to call once the animation is complete.
2194
2287
  * @see {@link https://api.jquery.com/slideUp/#slideUp-duration-complete}
2195
2288
  */
2196
- slideUp(duration?: number|string, complete?: Function): JQuery;
2289
+ slideUp(duration?: number | string, complete?: Function): JQuery;
2197
2290
  /**
2198
2291
  * Hide the matched elements with a sliding motion.
2199
2292
  *
@@ -2202,7 +2295,7 @@ interface JQuery {
2202
2295
  * @param complete A function to call once the animation is complete.
2203
2296
  * @see {@link https://api.jquery.com/slideUp/#slideUp-duration-easing-complete}
2204
2297
  */
2205
- slideUp(duration?: number|string, easing?: string, complete?: Function): JQuery;
2298
+ slideUp(duration?: number | string, easing?: string, complete?: Function): JQuery;
2206
2299
  /**
2207
2300
  * Hide the matched elements with a sliding motion.
2208
2301
  *
@@ -2236,7 +2329,7 @@ interface JQuery {
2236
2329
  * @param complete A function to call once the animation is complete.
2237
2330
  * @see {@link https://api.jquery.com/toggle/#toggle-duration-complete}
2238
2331
  */
2239
- toggle(duration?: number|string, complete?: Function): JQuery;
2332
+ toggle(duration?: number | string, complete?: Function): JQuery;
2240
2333
  /**
2241
2334
  * Display or hide the matched elements.
2242
2335
  *
@@ -2245,7 +2338,7 @@ interface JQuery {
2245
2338
  * @param complete A function to call once the animation is complete.
2246
2339
  * @see {@link https://api.jquery.com/toggle/#toggle-duration-easing-complete}
2247
2340
  */
2248
- toggle(duration?: number|string, easing?: string, complete?: Function): JQuery;
2341
+ toggle(duration?: number | string, easing?: string, complete?: Function): JQuery;
2249
2342
  /**
2250
2343
  * Display or hide the matched elements.
2251
2344
  *
@@ -2417,7 +2510,12 @@ interface JQuery {
2417
2510
  * Attach a handler to one or more events for all elements that match the selector, now or in the future, based on a specific set of root elements.
2418
2511
  * @see {@link https://api.jquery.com/delegate/#delegate-selector-eventType-eventData-handler}
2419
2512
  */
2420
- delegate(selector: any, eventType: string, eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
2513
+ delegate(
2514
+ selector: any,
2515
+ eventType: string,
2516
+ eventData: any,
2517
+ handler: (eventObject: JQueryEventObject) => any,
2518
+ ): JQuery;
2421
2519
 
2422
2520
  /**
2423
2521
  * Trigger the "focus" event on an element.
@@ -2489,7 +2587,10 @@ interface JQuery {
2489
2587
  * @param handlerOut A function to execute when the mouse pointer leaves the element.
2490
2588
  * @see {@link https://api.jquery.com/hover/#hover-handlerIn-handlerOut}
2491
2589
  */
2492
- hover(handlerIn: (eventObject: JQueryEventObject) => any, handlerOut: (eventObject: JQueryEventObject) => any): JQuery;
2590
+ hover(
2591
+ handlerIn: (eventObject: JQueryEventObject) => any,
2592
+ handlerOut: (eventObject: JQueryEventObject) => any,
2593
+ ): JQuery;
2493
2594
  /**
2494
2595
  * Bind a single handler to the matched elements, to be executed when the mouse pointer enters or leaves the elements.
2495
2596
  *
@@ -2761,7 +2862,7 @@ interface JQuery {
2761
2862
  * @param selector A selector which should match the one originally passed to .on() when attaching event handlers.
2762
2863
  * @see {@link https://api.jquery.com/off/#off-events-selector}
2763
2864
  */
2764
- off(events: { [key: string]: any; }, selector?: string): JQuery;
2865
+ off(events: { [key: string]: any }, selector?: string): JQuery;
2765
2866
 
2766
2867
  /**
2767
2868
  * Attach an event handler function for one or more events to the selected elements.
@@ -2787,8 +2888,8 @@ interface JQuery {
2787
2888
  * @param data Data to be passed to the handler in event.data when an event is triggered.
2788
2889
  * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.
2789
2890
  * @see {@link https://api.jquery.com/on/#on-events-selector-data-handler}
2790
- */
2791
- on(events: string, data : any, handler: (eventObject: JQueryEventObject, ...args: any[]) => any): JQuery;
2891
+ */
2892
+ on(events: string, data: any, handler: (eventObject: JQueryEventObject, ...args: any[]) => any): JQuery;
2792
2893
  /**
2793
2894
  * Attach an event handler function for one or more events to the selected elements.
2794
2895
  *
@@ -2798,7 +2899,12 @@ interface JQuery {
2798
2899
  * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.
2799
2900
  * @see {@link https://api.jquery.com/on/#on-events-selector-data-handler}
2800
2901
  */
2801
- on(events: string, selector: string, data: any, handler: (eventObject: JQueryEventObject, ...eventData: any[]) => any): JQuery;
2902
+ on(
2903
+ events: string,
2904
+ selector: string,
2905
+ data: any,
2906
+ handler: (eventObject: JQueryEventObject, ...eventData: any[]) => any,
2907
+ ): JQuery;
2802
2908
  /**
2803
2909
  * Attach an event handler function for one or more events to the selected elements.
2804
2910
  *
@@ -2807,7 +2913,11 @@ interface JQuery {
2807
2913
  * @param data Data to be passed to the handler in event.data when an event occurs.
2808
2914
  * @see {@link https://api.jquery.com/on/#on-events-selector-data}
2809
2915
  */
2810
- on(events: { [key: string]: (eventObject: JQueryEventObject, ...args: any[]) => any; }, selector?: string, data?: any): JQuery;
2916
+ on(
2917
+ events: { [key: string]: (eventObject: JQueryEventObject, ...args: any[]) => any },
2918
+ selector?: string,
2919
+ data?: any,
2920
+ ): JQuery;
2811
2921
  /**
2812
2922
  * Attach an event handler function for one or more events to the selected elements.
2813
2923
  *
@@ -2815,7 +2925,7 @@ interface JQuery {
2815
2925
  * @param data Data to be passed to the handler in event.data when an event occurs.
2816
2926
  * @see {@link https://api.jquery.com/on/#on-events-selector-data}
2817
2927
  */
2818
- on(events: { [key: string]: (eventObject: JQueryEventObject, ...args: any[]) => any; }, data?: any): JQuery;
2928
+ on(events: { [key: string]: (eventObject: JQueryEventObject, ...args: any[]) => any }, data?: any): JQuery;
2819
2929
 
2820
2930
  /**
2821
2931
  * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
@@ -2863,7 +2973,7 @@ interface JQuery {
2863
2973
  * @param data Data to be passed to the handler in event.data when an event occurs.
2864
2974
  * @see {@link https://api.jquery.com/one/#one-events-selector-data}
2865
2975
  */
2866
- one(events: { [key: string]: any; }, selector?: string, data?: any): JQuery;
2976
+ one(events: { [key: string]: any }, selector?: string, data?: any): JQuery;
2867
2977
 
2868
2978
  /**
2869
2979
  * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
@@ -2872,8 +2982,7 @@ interface JQuery {
2872
2982
  * @param data Data to be passed to the handler in event.data when an event occurs.
2873
2983
  * @see {@link https://api.jquery.com/one/#one-events-selector-data}
2874
2984
  */
2875
- one(events: { [key: string]: any; }, data?: any): JQuery;
2876
-
2985
+ one(events: { [key: string]: any }, data?: any): JQuery;
2877
2986
 
2878
2987
  /**
2879
2988
  * Specify a function to execute when the DOM is fully loaded.
@@ -2974,7 +3083,7 @@ interface JQuery {
2974
3083
  * @param extraParameters Additional parameters to pass along to the event handler.
2975
3084
  * @see {@link https://api.jquery.com/trigger/#trigger-eventType-extraParameters}
2976
3085
  */
2977
- trigger(eventType: string, extraParameters?: any[]|Object): JQuery;
3086
+ trigger(eventType: string, extraParameters?: any[] | Object): JQuery;
2978
3087
  /**
2979
3088
  * Execute all handlers and behaviors attached to the matched elements for the given event type.
2980
3089
  *
@@ -2982,7 +3091,7 @@ interface JQuery {
2982
3091
  * @param extraParameters Additional parameters to pass along to the event handler.
2983
3092
  * @see {@link https://api.jquery.com/trigger/#trigger-event-extraParameters}
2984
3093
  */
2985
- trigger(event: JQueryEventObject, extraParameters?: any[]|Object): JQuery;
3094
+ trigger(event: JQueryEventObject, extraParameters?: any[] | Object): JQuery;
2986
3095
 
2987
3096
  /**
2988
3097
  * Execute all handlers attached to an element for an event.
@@ -3120,14 +3229,14 @@ interface JQuery {
3120
3229
  * @param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert after each element in the set of matched elements.
3121
3230
  * @see {@link https://api.jquery.com/after/#after-content-content}
3122
3231
  */
3123
- after(content1: JQuery|any[]|Element|DocumentFragment|Text|string, ...content2: any[]): JQuery;
3232
+ after(content1: JQuery | any[] | Element | DocumentFragment | Text | string, ...content2: any[]): JQuery;
3124
3233
  /**
3125
3234
  * Insert content, specified by the parameter, after each element in the set of matched elements.
3126
3235
  *
3127
3236
  * @param func A function that returns an HTML string, DOM element(s), or jQuery object to insert after each element in the set of matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.
3128
3237
  * @see {@link https://api.jquery.com/after/#after-function}
3129
3238
  */
3130
- after(func: (index: number, html: string) => string|Element|JQuery): JQuery;
3239
+ after(func: (index: number, html: string) => string | Element | JQuery): JQuery;
3131
3240
 
3132
3241
  /**
3133
3242
  * Insert content, specified by the parameter, to the end of each element in the set of matched elements.
@@ -3136,14 +3245,14 @@ interface JQuery {
3136
3245
  * @param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the end of each element in the set of matched elements.
3137
3246
  * @see {@link https://api.jquery.com/append/#append-content-content}
3138
3247
  */
3139
- append(content1: JQuery|any[]|Element|DocumentFragment|Text|string, ...content2: any[]): JQuery;
3248
+ append(content1: JQuery | any[] | Element | DocumentFragment | Text | string, ...content2: any[]): JQuery;
3140
3249
  /**
3141
3250
  * Insert content, specified by the parameter, to the end of each element in the set of matched elements.
3142
3251
  *
3143
3252
  * @param func A function that returns an HTML string, DOM element(s), or jQuery object to insert at the end of each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, this refers to the current element in the set.
3144
3253
  * @see {@link https://api.jquery.com/append/#append-function}
3145
3254
  */
3146
- append(func: (index: number, html: string) => string|Element|JQuery): JQuery;
3255
+ append(func: (index: number, html: string) => string | Element | JQuery): JQuery;
3147
3256
 
3148
3257
  /**
3149
3258
  * Insert every element in the set of matched elements to the end of the target.
@@ -3151,7 +3260,7 @@ interface JQuery {
3151
3260
  * @param target A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the end of the element(s) specified by this parameter.
3152
3261
  * @see {@link https://api.jquery.com/appendTo/}
3153
3262
  */
3154
- appendTo(target: JQuery|any[]|Element|string): JQuery;
3263
+ appendTo(target: JQuery | any[] | Element | string): JQuery;
3155
3264
 
3156
3265
  /**
3157
3266
  * Insert content, specified by the parameter, before each element in the set of matched elements.
@@ -3160,14 +3269,14 @@ interface JQuery {
3160
3269
  * @param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert before each element in the set of matched elements.
3161
3270
  * @see {@link https://api.jquery.com/before/#before-content-content}
3162
3271
  */
3163
- before(content1: JQuery|any[]|Element|DocumentFragment|Text|string, ...content2: any[]): JQuery;
3272
+ before(content1: JQuery | any[] | Element | DocumentFragment | Text | string, ...content2: any[]): JQuery;
3164
3273
  /**
3165
3274
  * Insert content, specified by the parameter, before each element in the set of matched elements.
3166
3275
  *
3167
3276
  * @param func A function that returns an HTML string, DOM element(s), or jQuery object to insert before each element in the set of matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.
3168
3277
  * @see {@link https://api.jquery.com/before/#before-function}
3169
3278
  */
3170
- before(func: (index: number, html: string) => string|Element|JQuery): JQuery;
3279
+ before(func: (index: number, html: string) => string | Element | JQuery): JQuery;
3171
3280
 
3172
3281
  /**
3173
3282
  * Create a deep copy of the set of matched elements.
@@ -3198,7 +3307,7 @@ interface JQuery {
3198
3307
  * @param target A selector, element, array of elements, HTML string, or jQuery object; the matched set of elements will be inserted after the element(s) specified by this parameter.
3199
3308
  * @see {@link https://api.jquery.com/insertAfter/}
3200
3309
  */
3201
- insertAfter(target: JQuery|any[]|Element|Text|string): JQuery;
3310
+ insertAfter(target: JQuery | any[] | Element | Text | string): JQuery;
3202
3311
 
3203
3312
  /**
3204
3313
  * Insert every element in the set of matched elements before the target.
@@ -3206,7 +3315,7 @@ interface JQuery {
3206
3315
  * @param target A selector, element, array of elements, HTML string, or jQuery object; the matched set of elements will be inserted before the element(s) specified by this parameter.
3207
3316
  * @see {@link https://api.jquery.com/insertBefore/}
3208
3317
  */
3209
- insertBefore(target: JQuery|any[]|Element|Text|string): JQuery;
3318
+ insertBefore(target: JQuery | any[] | Element | Text | string): JQuery;
3210
3319
 
3211
3320
  /**
3212
3321
  * Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
@@ -3215,14 +3324,14 @@ interface JQuery {
3215
3324
  * @param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the beginning of each element in the set of matched elements.
3216
3325
  * @see {@link https://api.jquery.com/prepend/#prepend-content-content}
3217
3326
  */
3218
- prepend(content1: JQuery|any[]|Element|DocumentFragment|Text|string, ...content2: any[]): JQuery;
3327
+ prepend(content1: JQuery | any[] | Element | DocumentFragment | Text | string, ...content2: any[]): JQuery;
3219
3328
  /**
3220
3329
  * Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
3221
3330
  *
3222
3331
  * @param func A function that returns an HTML string, DOM element(s), or jQuery object to insert at the beginning of each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, this refers to the current element in the set.
3223
3332
  * @see {@link https://api.jquery.com/prepend/#prepend-function}
3224
3333
  */
3225
- prepend(func: (index: number, html: string) => string|Element|JQuery): JQuery;
3334
+ prepend(func: (index: number, html: string) => string | Element | JQuery): JQuery;
3226
3335
 
3227
3336
  /**
3228
3337
  * Insert every element in the set of matched elements to the beginning of the target.
@@ -3230,7 +3339,7 @@ interface JQuery {
3230
3339
  * @param target A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the beginning of the element(s) specified by this parameter.
3231
3340
  * @see {@link https://api.jquery.com/prependTo/}
3232
3341
  */
3233
- prependTo(target: JQuery|any[]|Element|string): JQuery;
3342
+ prependTo(target: JQuery | any[] | Element | string): JQuery;
3234
3343
 
3235
3344
  /**
3236
3345
  * Remove the set of matched elements from the DOM.
@@ -3246,7 +3355,7 @@ interface JQuery {
3246
3355
  * @param target A selector string, jQuery object, DOM element, or array of elements indicating which element(s) to replace.
3247
3356
  * @see {@link https://api.jquery.com/replaceAll/}
3248
3357
  */
3249
- replaceAll(target: JQuery|any[]|Element|string): JQuery;
3358
+ replaceAll(target: JQuery | any[] | Element | string): JQuery;
3250
3359
 
3251
3360
  /**
3252
3361
  * Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
@@ -3254,14 +3363,14 @@ interface JQuery {
3254
3363
  * @param newContent The content to insert. May be an HTML string, DOM element, array of DOM elements, or jQuery object.
3255
3364
  * @see {@link https://api.jquery.com/replaceWith/#replaceWith-newContent}
3256
3365
  */
3257
- replaceWith(newContent: JQuery|any[]|Element|Text|string): JQuery;
3366
+ replaceWith(newContent: JQuery | any[] | Element | Text | string): JQuery;
3258
3367
  /**
3259
3368
  * Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
3260
3369
  *
3261
3370
  * @param func A function that returns content with which to replace the set of matched elements.
3262
3371
  * @see {@link https://api.jquery.com/replaceWith/#replaceWith-function}
3263
3372
  */
3264
- replaceWith(func: () => Element|JQuery): JQuery;
3373
+ replaceWith(func: () => Element | JQuery): JQuery;
3265
3374
 
3266
3375
  /**
3267
3376
  * Get the combined text contents of each element in the set of matched elements, including their descendants.
@@ -3274,7 +3383,7 @@ interface JQuery {
3274
3383
  * @param text The text to set as the content of each matched element. When Number or Boolean is supplied, it will be converted to a String representation.
3275
3384
  * @see {@link https://api.jquery.com/text/#text-text}
3276
3385
  */
3277
- text(text: string|number|boolean): JQuery;
3386
+ text(text: string | number | boolean): JQuery;
3278
3387
  /**
3279
3388
  * Set the content of each element in the set of matched elements to the specified text.
3280
3389
  *
@@ -3302,14 +3411,14 @@ interface JQuery {
3302
3411
  * @param wrappingElement A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.
3303
3412
  * @see {@link https://api.jquery.com/wrap/#wrap-wrappingElement}
3304
3413
  */
3305
- wrap(wrappingElement: JQuery|Element|string): JQuery;
3414
+ wrap(wrappingElement: JQuery | Element | string): JQuery;
3306
3415
  /**
3307
3416
  * Wrap an HTML structure around each element in the set of matched elements.
3308
3417
  *
3309
3418
  * @param func A callback function returning the HTML content or jQuery object to wrap around the matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.
3310
3419
  * @see {@link https://api.jquery.com/wrap/#wrap-function}
3311
3420
  */
3312
- wrap(func: (index: number) => string|JQuery): JQuery;
3421
+ wrap(func: (index: number) => string | JQuery): JQuery;
3313
3422
 
3314
3423
  /**
3315
3424
  * Wrap an HTML structure around all elements in the set of matched elements.
@@ -3317,7 +3426,7 @@ interface JQuery {
3317
3426
  * @param wrappingElement A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.
3318
3427
  * @see {@link https://api.jquery.com/wrapAll/#wrapAll-wrappingElement}
3319
3428
  */
3320
- wrapAll(wrappingElement: JQuery|Element|string): JQuery;
3429
+ wrapAll(wrappingElement: JQuery | Element | string): JQuery;
3321
3430
  /**
3322
3431
  * Wrap an HTML structure around all elements in the set of matched elements.
3323
3432
  *
@@ -3332,7 +3441,7 @@ interface JQuery {
3332
3441
  * @param wrappingElement An HTML snippet, selector expression, jQuery object, or DOM element specifying the structure to wrap around the content of the matched elements.
3333
3442
  * @see {@link https://api.jquery.com/wrapInner/#wrapInner-wrappingElement}
3334
3443
  */
3335
- wrapInner(wrappingElement: JQuery|Element|string): JQuery;
3444
+ wrapInner(wrappingElement: JQuery | Element | string): JQuery;
3336
3445
  /**
3337
3446
  * Wrap an HTML structure around the content of each element in the set of matched elements.
3338
3447
  *
@@ -3374,7 +3483,7 @@ interface JQuery {
3374
3483
  * @param selector A selector representing a jQuery collection in which to look for an element.
3375
3484
  * @see {@link https://api.jquery.com/index/#index-selector}
3376
3485
  */
3377
- index(selector: string|JQuery|Element): number;
3486
+ index(selector: string | JQuery | Element): number;
3378
3487
 
3379
3488
  /**
3380
3489
  * The number of elements in the jQuery object.
@@ -3662,7 +3771,7 @@ interface JQuery {
3662
3771
  * @param elements One or more DOM elements to remove from the matched set.
3663
3772
  * @see {@link https://api.jquery.com/not/#not-selection}
3664
3773
  */
3665
- not(elements: Element|Element[]): JQuery;
3774
+ not(elements: Element | Element[]): JQuery;
3666
3775
  /**
3667
3776
  * Remove elements from the set of matched elements.
3668
3777
  *
@@ -3820,7 +3929,7 @@ interface JQuery {
3820
3929
  * @param object An object to merge onto the jQuery prototype.
3821
3930
  * @see {@link https://api.jquery.com/jQuery.fn.extend/#jQuery-fn-extend-object}
3822
3931
  */
3823
- extend(object: { [method: string]: (...args: any[]) => any; }): JQuery;
3932
+ extend(object: { [method: string]: (...args: any[]) => any }): JQuery;
3824
3933
  }
3825
3934
  // eslint-disable-next-line @definitelytyped/no-declare-current-package
3826
3935
  declare module "jquery" {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/jquery",
3
- "version": "1.10.40",
3
+ "version": "1.10.41",
4
4
  "description": "TypeScript definitions for jQuery",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery",
6
6
  "license": "MIT",
@@ -110,6 +110,6 @@
110
110
  },
111
111
  "scripts": {},
112
112
  "dependencies": {},
113
- "typesPublisherContentHash": "5af88660dea81c7d228a8fc3a5b2cbac1b9c8747be8272c62ebc67b6e8583d29",
114
- "typeScriptVersion": "4.3"
113
+ "typesPublisherContentHash": "56436f240c96295ced5a4560a1d030e6f9cff618c2a8df78f957a72d389c25b5",
114
+ "typeScriptVersion": "4.5"
115
115
  }