cypress 15.6.0 → 15.7.0

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.
@@ -14,7 +14,7 @@
14
14
  "devDependencies": {
15
15
  "@packages/eslint-config": "0.0.0-development",
16
16
  "@rollup/plugin-commonjs": "^17.1.0",
17
- "@rollup/plugin-node-resolve": "^11.1.1",
17
+ "@rollup/plugin-node-resolve": "^11.2.1",
18
18
  "eslint": "^9.31.0",
19
19
  "rollup": "3.29.5",
20
20
  "rollup-plugin-dts": "5.0.0",
@@ -14,7 +14,7 @@
14
14
  "devDependencies": {
15
15
  "@packages/eslint-config": "0.0.0-development",
16
16
  "@rollup/plugin-commonjs": "^17.1.0",
17
- "@rollup/plugin-node-resolve": "^11.1.1",
17
+ "@rollup/plugin-node-resolve": "^11.2.1",
18
18
  "eslint": "^9.31.0",
19
19
  "rollup": "3.29.5",
20
20
  "rollup-plugin-dts": "5.0.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cypress",
3
- "version": "15.6.0",
3
+ "version": "15.7.0",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "postinstall": "node dist/index.js --exec install",
@@ -43,7 +43,6 @@
43
43
  "process": "^0.11.10",
44
44
  "proxy-from-env": "1.0.0",
45
45
  "request-progress": "^3.0.0",
46
- "semver": "^7.7.1",
47
46
  "supports-color": "^8.1.1",
48
47
  "systeminformation": "5.27.7",
49
48
  "tmp": "~0.2.4",
@@ -127,8 +126,8 @@
127
126
  },
128
127
  "buildInfo": {
129
128
  "commitBranch": "develop",
130
- "commitSha": "b3a1e6d398e9db1a3a9564b841b126b1a4695ab0",
131
- "commitDate": "2025-11-04T19:54:55.000Z",
129
+ "commitSha": "201e22e4894f3eb3be2ab6dcb89671cb8eb71301",
130
+ "commitDate": "2025-11-19T18:49:03.000Z",
132
131
  "stable": true
133
132
  },
134
133
  "description": "Cypress is a next generation front end testing tool built for the modern web",
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "devDependencies": {
19
19
  "@cypress/mount-utils": "0.0.0-development",
20
- "@types/semver": "7.5.8",
20
+ "@types/semver": "7.7.1",
21
21
  "@vitejs/plugin-react": "4.6.0",
22
22
  "axios": "1.8.2",
23
23
  "cypress": "0.0.0-development",
@@ -26,7 +26,7 @@
26
26
  "react-dom": "18.3.1",
27
27
  "react-router": "6.28.0",
28
28
  "react-router-dom": "6.28.0",
29
- "semver": "^7.7.1",
29
+ "semver": "^7.7.3",
30
30
  "typescript": "~5.4.5",
31
31
  "vite": "6.3.5",
32
32
  "vite-plugin-require-transform": "1.0.21"
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "devDependencies": {
19
19
  "@cypress/mount-utils": "0.0.0-development",
20
- "@types/semver": "7.5.8",
20
+ "@types/semver": "7.7.1",
21
21
  "@vitejs/plugin-react": "4.6.0",
22
22
  "axios": "1.8.2",
23
23
  "cypress": "0.0.0-development",
@@ -26,7 +26,7 @@
26
26
  "react-dom": "18.3.1",
27
27
  "react-router": "6.28.0",
28
28
  "react-router-dom": "6.28.0",
29
- "semver": "^7.7.1",
29
+ "semver": "^7.7.3",
30
30
  "typescript": "~5.4.5",
31
31
  "vite": "6.3.5",
32
32
  "vite-plugin-require-transform": "1.0.21"
@@ -1,14 +1,7 @@
1
- // Type definitions for chai-jquery 1.1.1
2
- // Project: https://github.com/chaijs/chai-jquery
3
- // Definitions by: Kazi Manzur Rashid <https://github.com/kazimanzurrashid>
4
- // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5
- // TypeScript Version: 3.0
6
-
7
1
  /// <reference path="../chai/index.d.ts" />
8
2
  /// <reference path="../jquery/index.d.ts" />
9
3
 
10
4
  declare namespace Chai {
11
-
12
5
  interface Assertion {
13
6
  attr(name: string, value?: string): Assertion;
14
7
  prop(name: string, value?: any): Assertion;
@@ -38,7 +31,6 @@ declare namespace Chai {
38
31
  * Static members of chai-jquery (those on $ and jQuery themselves)
39
32
  */
40
33
  interface ChaiJQueryStatic {
41
-
42
34
  /**
43
35
  * Perform an asynchronous HTTP (Ajax) request.
44
36
  *
@@ -59,7 +51,10 @@ interface ChaiJQueryStatic {
59
51
  * @param dataTypes An optional string containing one or more space-separated dataTypes
60
52
  * @param handler A handler to set default values for future Ajax requests.
61
53
  */
62
- ajaxPrefilter(dataTypes: string, handler: (opts: any, originalOpts: JQueryAjaxSettings, jqXHR: JQueryXHR) => any): void;
54
+ ajaxPrefilter(
55
+ dataTypes: string,
56
+ handler: (opts: any, originalOpts: JQueryAjaxSettings, jqXHR: JQueryXHR) => any,
57
+ ): void;
63
58
  /**
64
59
  * Handle custom Ajax options or modify existing options before each request is sent and before they are processed by $.ajax().
65
60
  *
@@ -92,7 +87,12 @@ interface ChaiJQueryStatic {
92
87
  * @param success A callback function that is executed if the request succeeds.
93
88
  * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html).
94
89
  */
95
- get(url: string, data?: Object|string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR;
90
+ get(
91
+ url: string,
92
+ data?: Object | string,
93
+ success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any,
94
+ dataType?: string,
95
+ ): JQueryXHR;
96
96
  /**
97
97
  * Load JSON-encoded data from the server using a GET HTTP request.
98
98
  *
@@ -107,7 +107,11 @@ interface ChaiJQueryStatic {
107
107
  * @param data A plain object or string that is sent to the server with the request.
108
108
  * @param success A callback function that is executed if the request succeeds.
109
109
  */
110
- getJSON(url: string, data?: Object|string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any): JQueryXHR;
110
+ getJSON(
111
+ url: string,
112
+ data?: Object | string,
113
+ success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any,
114
+ ): JQueryXHR;
111
115
  /**
112
116
  * Load a JavaScript file from the server using a GET HTTP request, then execute it.
113
117
  *
@@ -137,7 +141,12 @@ interface ChaiJQueryStatic {
137
141
  * @param success A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case.
138
142
  * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html).
139
143
  */
140
- post(url: string, data?: Object|string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR;
144
+ post(
145
+ url: string,
146
+ data?: Object | string,
147
+ success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any,
148
+ dataType?: string,
149
+ ): JQueryXHR;
141
150
 
142
151
  /**
143
152
  * A multi-purpose callbacks list object that provides a powerful way to manage callback lists.
@@ -159,7 +168,7 @@ interface ChaiJQueryStatic {
159
168
  * @param selector A string containing a selector expression
160
169
  * @param context A DOM Element, Document, or jQuery to use as context
161
170
  */
162
- (selector: string, context?: Element|JQuery): ChaiJQuery;
171
+ (selector: string, context?: Element | JQuery): ChaiJQuery;
163
172
  /**
164
173
  * Accepts a string containing a CSS selector which is then used to match a set of elements.
165
174
  *
@@ -223,12 +232,12 @@ interface ChaiJQueryStatic {
223
232
  *
224
233
  * @param deferreds One or more Deferred objects, or plain JavaScript objects.
225
234
  */
226
- when<T>(...deferreds: Array<T|JQueryPromise<T>/* as JQueryDeferred<T> */>): JQueryPromise<T>;
235
+ when<T>(...deferreds: Array<T | JQueryPromise<T> /* as JQueryDeferred<T> */>): JQueryPromise<T>;
227
236
 
228
237
  /**
229
238
  * Hook directly into jQuery to override how particular CSS properties are retrieved or set, normalize CSS property naming, or create custom properties.
230
239
  */
231
- cssHooks: { [key: string]: any; };
240
+ cssHooks: { [key: string]: any };
232
241
  cssNumber: any;
233
242
 
234
243
  /**
@@ -317,7 +326,7 @@ interface ChaiJQueryStatic {
317
326
  */
318
327
  interval: number;
319
328
  stop: () => void;
320
- speeds: { slow: number; fast: number; };
329
+ speeds: { slow: number; fast: number };
321
330
  /**
322
331
  * Globally disable all animations.
323
332
  */
@@ -352,7 +361,7 @@ interface ChaiJQueryStatic {
352
361
  error(message: any): ChaiJQuery;
353
362
 
354
363
  expr: any;
355
- fn: any; //TODO: Decide how we want to type this
364
+ fn: any; // TODO: Decide how we want to type this
356
365
 
357
366
  isReady: boolean;
358
367
 
@@ -375,8 +384,8 @@ interface ChaiJQueryStatic {
375
384
  */
376
385
  each<T>(
377
386
  collection: T[],
378
- callback: (indexInArray: number, valueOfElement: T) => any
379
- ): any;
387
+ callback: (indexInArray: number, valueOfElement: T) => any,
388
+ ): any;
380
389
 
381
390
  /**
382
391
  * 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.
@@ -386,8 +395,8 @@ interface ChaiJQueryStatic {
386
395
  */
387
396
  each(
388
397
  collection: any,
389
- callback: (indexInArray: any, valueOfElement: any) => any
390
- ): any;
398
+ callback: (indexInArray: any, valueOfElement: any) => any,
399
+ ): any;
391
400
 
392
401
  /**
393
402
  * Merge the contents of two or more objects together into the first object.
@@ -578,13 +587,22 @@ interface ChaiJQuery {
578
587
  *
579
588
  * @param handler The function to be invoked.
580
589
  */
581
- ajaxComplete(handler: (event: JQueryEventObject, XMLHttpRequest: XMLHttpRequest, ajaxOptions: any) => any): ChaiJQuery;
590
+ ajaxComplete(
591
+ handler: (event: JQueryEventObject, XMLHttpRequest: XMLHttpRequest, ajaxOptions: any) => any,
592
+ ): ChaiJQuery;
582
593
  /**
583
594
  * Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event.
584
595
  *
585
596
  * @param handler The function to be invoked.
586
597
  */
587
- ajaxError(handler: (event: JQueryEventObject, jqXHR: JQueryXHR, ajaxSettings: JQueryAjaxSettings, thrownError: any) => any): ChaiJQuery;
598
+ ajaxError(
599
+ handler: (
600
+ event: JQueryEventObject,
601
+ jqXHR: JQueryXHR,
602
+ ajaxSettings: JQueryAjaxSettings,
603
+ thrownError: any,
604
+ ) => any,
605
+ ): ChaiJQuery;
588
606
  /**
589
607
  * Attach a function to be executed before an Ajax request is sent. This is an Ajax Event.
590
608
  *
@@ -608,7 +626,9 @@ interface ChaiJQuery {
608
626
  *
609
627
  * @param handler The function to be invoked.
610
628
  */
611
- ajaxSuccess(handler: (event: JQueryEventObject, XMLHttpRequest: XMLHttpRequest, ajaxOptions: JQueryAjaxSettings) => any): ChaiJQuery;
629
+ ajaxSuccess(
630
+ handler: (event: JQueryEventObject, XMLHttpRequest: XMLHttpRequest, ajaxOptions: JQueryAjaxSettings) => any,
631
+ ): ChaiJQuery;
612
632
 
613
633
  /**
614
634
  * Load data from the server and place the returned HTML into the matched element.
@@ -617,7 +637,11 @@ interface ChaiJQuery {
617
637
  * @param data A plain object or string that is sent to the server with the request.
618
638
  * @param complete A callback function that is executed when the request completes.
619
639
  */
620
- load(url: string, data?: string|Object, complete?: (responseText: string, textStatus: string, XMLHttpRequest: XMLHttpRequest) => any): ChaiJQuery;
640
+ load(
641
+ url: string,
642
+ data?: string | Object,
643
+ complete?: (responseText: string, textStatus: string, XMLHttpRequest: XMLHttpRequest) => any,
644
+ ): ChaiJQuery;
621
645
 
622
646
  /**
623
647
  * Encode a set of form elements as a string for submission.
@@ -658,14 +682,14 @@ interface ChaiJQuery {
658
682
  * @param attributeName The name of the attribute to set.
659
683
  * @param value A value to set for the attribute.
660
684
  */
661
- attr(attributeName: string, value: string|number): ChaiJQuery;
685
+ attr(attributeName: string, value: string | number): ChaiJQuery;
662
686
  /**
663
687
  * Set one or more attributes for the set of matched elements.
664
688
  *
665
689
  * @param attributeName The name of the attribute to set.
666
690
  * @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.
667
691
  */
668
- attr(attributeName: string, func: (index: number, attr: string) => string|number): ChaiJQuery;
692
+ attr(attributeName: string, func: (index: number, attr: string) => string | number): ChaiJQuery;
669
693
  /**
670
694
  * Set one or more attributes for the set of matched elements.
671
695
  *
@@ -714,7 +738,7 @@ interface ChaiJQuery {
714
738
  * @param propertyName The name of the property to set.
715
739
  * @param value A value to set for the property.
716
740
  */
717
- prop(propertyName: string, value: string|number|boolean): ChaiJQuery;
741
+ prop(propertyName: string, value: string | number | boolean): ChaiJQuery;
718
742
  /**
719
743
  * Set one or more properties for the set of matched elements.
720
744
  *
@@ -786,7 +810,7 @@ interface ChaiJQuery {
786
810
  *
787
811
  * @param value A string of text or an array of strings corresponding to the value of each matched element to set as selected/checked.
788
812
  */
789
- val(value: string|string[]): ChaiJQuery;
813
+ val(value: string | string[]): ChaiJQuery;
790
814
  /**
791
815
  * Set the value of each element in the set of matched elements.
792
816
  *
@@ -794,7 +818,6 @@ interface ChaiJQuery {
794
818
  */
795
819
  val(func: (index: number, value: string) => string): ChaiJQuery;
796
820
 
797
-
798
821
  /**
799
822
  * Get the value of style properties for the first element in the set of matched elements.
800
823
  *
@@ -807,14 +830,14 @@ interface ChaiJQuery {
807
830
  * @param propertyName A CSS property name.
808
831
  * @param value A value to set for the property.
809
832
  */
810
- css(propertyName: string, value: string|number): ChaiJQuery;
833
+ css(propertyName: string, value: string | number): ChaiJQuery;
811
834
  /**
812
835
  * Set one or more CSS properties for the set of matched elements.
813
836
  *
814
837
  * @param propertyName A CSS property name.
815
838
  * @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.
816
839
  */
817
- css(propertyName: string, value: (index: number, value: string) => string|number): ChaiJQuery;
840
+ css(propertyName: string, value: (index: number, value: string) => string | number): ChaiJQuery;
818
841
  /**
819
842
  * Set one or more CSS properties for the set of matched elements.
820
843
  *
@@ -831,13 +854,13 @@ interface ChaiJQuery {
831
854
  *
832
855
  * @param value An integer representing the number of pixels, or an integer with an optional unit of measure appended (as a string).
833
856
  */
834
- height(value: number|string): ChaiJQuery;
857
+ height(value: number | string): ChaiJQuery;
835
858
  /**
836
859
  * Set the CSS height of every matched element.
837
860
  *
838
861
  * @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.
839
862
  */
840
- height(func: (index: number, height: number) => number|string): ChaiJQuery;
863
+ height(func: (index: number, height: number) => number | string): ChaiJQuery;
841
864
 
842
865
  /**
843
866
  * Get the current computed height for the first element in the set of matched elements, including padding but not border.
@@ -849,7 +872,7 @@ interface ChaiJQuery {
849
872
  *
850
873
  * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).
851
874
  */
852
- innerHeight(height: number|string): ChaiJQuery;
875
+ innerHeight(height: number | string): ChaiJQuery;
853
876
 
854
877
  /**
855
878
  * Get the current computed width for the first element in the set of matched elements, including padding but not border.
@@ -861,7 +884,7 @@ interface ChaiJQuery {
861
884
  *
862
885
  * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).
863
886
  */
864
- innerWidth(width: number|string): ChaiJQuery;
887
+ innerWidth(width: number | string): ChaiJQuery;
865
888
 
866
889
  /**
867
890
  * Get the current coordinates of the first element in the set of matched elements, relative to the document.
@@ -892,7 +915,7 @@ interface ChaiJQuery {
892
915
  *
893
916
  * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).
894
917
  */
895
- outerHeight(height: number|string): ChaiJQuery;
918
+ outerHeight(height: number | string): ChaiJQuery;
896
919
 
897
920
  /**
898
921
  * Get the current computed width for the first element in the set of matched elements, including padding and border.
@@ -906,7 +929,7 @@ interface ChaiJQuery {
906
929
  *
907
930
  * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).
908
931
  */
909
- outerWidth(width: number|string): ChaiJQuery;
932
+ outerWidth(width: number | string): ChaiJQuery;
910
933
 
911
934
  /**
912
935
  * Get the current coordinates of the first element in the set of matched elements, relative to the offset parent.
@@ -944,13 +967,13 @@ interface ChaiJQuery {
944
967
  *
945
968
  * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).
946
969
  */
947
- width(value: number|string): ChaiJQuery;
970
+ width(value: number | string): ChaiJQuery;
948
971
  /**
949
972
  * Set the CSS width of each element in the set of matched elements.
950
973
  *
951
974
  * @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.
952
975
  */
953
- width(func: (index: number, width: number) => number|string): ChaiJQuery;
976
+ width(func: (index: number, width: number) => number | string): ChaiJQuery;
954
977
 
955
978
  /**
956
979
  * Remove from the queue all items that have not yet been run.
@@ -971,7 +994,7 @@ interface ChaiJQuery {
971
994
  *
972
995
  * @param obj An object of key-value pairs of data to update.
973
996
  */
974
- data(obj: { [key: string]: any; }): ChaiJQuery;
997
+ data(obj: { [key: string]: any }): ChaiJQuery;
975
998
  /**
976
999
  * 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.
977
1000
  *
@@ -1018,7 +1041,7 @@ interface ChaiJQuery {
1018
1041
  * @param duration A string or number determining how long the animation will run.
1019
1042
  * @param complete A function to call once the animation is complete.
1020
1043
  */
1021
- animate(properties: Object, duration?: string|number, complete?: Function): ChaiJQuery;
1044
+ animate(properties: Object, duration?: string | number, complete?: Function): ChaiJQuery;
1022
1045
  /**
1023
1046
  * Perform a custom animation of a set of CSS properties.
1024
1047
  *
@@ -1027,7 +1050,7 @@ interface ChaiJQuery {
1027
1050
  * @param easing A string indicating which easing function to use for the transition. (default: swing)
1028
1051
  * @param complete A function to call once the animation is complete.
1029
1052
  */
1030
- animate(properties: Object, duration?: string|number, easing?: string, complete?: Function): ChaiJQuery;
1053
+ animate(properties: Object, duration?: string | number, easing?: string, complete?: Function): ChaiJQuery;
1031
1054
  /**
1032
1055
  * Perform a custom animation of a set of CSS properties.
1033
1056
  *
@@ -1050,7 +1073,7 @@ interface ChaiJQuery {
1050
1073
  * @param duration A string or number determining how long the animation will run.
1051
1074
  * @param complete A function to call once the animation is complete.
1052
1075
  */
1053
- fadeIn(duration?: number|string, complete?: Function): ChaiJQuery;
1076
+ fadeIn(duration?: number | string, complete?: Function): ChaiJQuery;
1054
1077
  /**
1055
1078
  * Display the matched elements by fading them to opaque.
1056
1079
  *
@@ -1058,7 +1081,7 @@ interface ChaiJQuery {
1058
1081
  * @param easing A string indicating which easing function to use for the transition.
1059
1082
  * @param complete A function to call once the animation is complete.
1060
1083
  */
1061
- fadeIn(duration?: number|string, easing?: string, complete?: Function): ChaiJQuery;
1084
+ fadeIn(duration?: number | string, easing?: string, complete?: Function): ChaiJQuery;
1062
1085
  /**
1063
1086
  * Display the matched elements by fading them to opaque.
1064
1087
  *
@@ -1072,7 +1095,7 @@ interface ChaiJQuery {
1072
1095
  * @param duration A string or number determining how long the animation will run.
1073
1096
  * @param complete A function to call once the animation is complete.
1074
1097
  */
1075
- fadeOut(duration?: number|string, complete?: Function): ChaiJQuery;
1098
+ fadeOut(duration?: number | string, complete?: Function): ChaiJQuery;
1076
1099
  /**
1077
1100
  * Hide the matched elements by fading them to transparent.
1078
1101
  *
@@ -1080,7 +1103,7 @@ interface ChaiJQuery {
1080
1103
  * @param easing A string indicating which easing function to use for the transition.
1081
1104
  * @param complete A function to call once the animation is complete.
1082
1105
  */
1083
- fadeOut(duration?: number|string, easing?: string, complete?: Function): ChaiJQuery;
1106
+ fadeOut(duration?: number | string, easing?: string, complete?: Function): ChaiJQuery;
1084
1107
  /**
1085
1108
  * Hide the matched elements by fading them to transparent.
1086
1109
  *
@@ -1095,7 +1118,7 @@ interface ChaiJQuery {
1095
1118
  * @param opacity A number between 0 and 1 denoting the target opacity.
1096
1119
  * @param complete A function to call once the animation is complete.
1097
1120
  */
1098
- fadeTo(duration: string|number, opacity: number, complete?: Function): ChaiJQuery;
1121
+ fadeTo(duration: string | number, opacity: number, complete?: Function): ChaiJQuery;
1099
1122
  /**
1100
1123
  * Adjust the opacity of the matched elements.
1101
1124
  *
@@ -1104,7 +1127,7 @@ interface ChaiJQuery {
1104
1127
  * @param easing A string indicating which easing function to use for the transition.
1105
1128
  * @param complete A function to call once the animation is complete.
1106
1129
  */
1107
- fadeTo(duration: string|number, opacity: number, easing?: string, complete?: Function): ChaiJQuery;
1130
+ fadeTo(duration: string | number, opacity: number, easing?: string, complete?: Function): ChaiJQuery;
1108
1131
 
1109
1132
  /**
1110
1133
  * Display or hide the matched elements by animating their opacity.
@@ -1112,7 +1135,7 @@ interface ChaiJQuery {
1112
1135
  * @param duration A string or number determining how long the animation will run.
1113
1136
  * @param complete A function to call once the animation is complete.
1114
1137
  */
1115
- fadeToggle(duration?: number|string, complete?: Function): ChaiJQuery;
1138
+ fadeToggle(duration?: number | string, complete?: Function): ChaiJQuery;
1116
1139
  /**
1117
1140
  * Display or hide the matched elements by animating their opacity.
1118
1141
  *
@@ -1120,7 +1143,7 @@ interface ChaiJQuery {
1120
1143
  * @param easing A string indicating which easing function to use for the transition.
1121
1144
  * @param complete A function to call once the animation is complete.
1122
1145
  */
1123
- fadeToggle(duration?: number|string, easing?: string, complete?: Function): ChaiJQuery;
1146
+ fadeToggle(duration?: number | string, easing?: string, complete?: Function): ChaiJQuery;
1124
1147
  /**
1125
1148
  * Display or hide the matched elements by animating their opacity.
1126
1149
  *
@@ -1141,7 +1164,7 @@ interface ChaiJQuery {
1141
1164
  * @param duration A string or number determining how long the animation will run.
1142
1165
  * @param complete A function to call once the animation is complete.
1143
1166
  */
1144
- hide(duration?: number|string, complete?: Function): ChaiJQuery;
1167
+ hide(duration?: number | string, complete?: Function): ChaiJQuery;
1145
1168
  /**
1146
1169
  * Hide the matched elements.
1147
1170
  *
@@ -1149,7 +1172,7 @@ interface ChaiJQuery {
1149
1172
  * @param easing A string indicating which easing function to use for the transition.
1150
1173
  * @param complete A function to call once the animation is complete.
1151
1174
  */
1152
- hide(duration?: number|string, easing?: string, complete?: Function): ChaiJQuery;
1175
+ hide(duration?: number | string, easing?: string, complete?: Function): ChaiJQuery;
1153
1176
  /**
1154
1177
  * Hide the matched elements.
1155
1178
  *
@@ -1163,7 +1186,7 @@ interface ChaiJQuery {
1163
1186
  * @param duration A string or number determining how long the animation will run.
1164
1187
  * @param complete A function to call once the animation is complete.
1165
1188
  */
1166
- show(duration?: number|string, complete?: Function): ChaiJQuery;
1189
+ show(duration?: number | string, complete?: Function): ChaiJQuery;
1167
1190
  /**
1168
1191
  * Display the matched elements.
1169
1192
  *
@@ -1171,7 +1194,7 @@ interface ChaiJQuery {
1171
1194
  * @param easing A string indicating which easing function to use for the transition.
1172
1195
  * @param complete A function to call once the animation is complete.
1173
1196
  */
1174
- show(duration?: number|string, easing?: string, complete?: Function): ChaiJQuery;
1197
+ show(duration?: number | string, easing?: string, complete?: Function): ChaiJQuery;
1175
1198
  /**
1176
1199
  * Display the matched elements.
1177
1200
  *
@@ -1185,7 +1208,7 @@ interface ChaiJQuery {
1185
1208
  * @param duration A string or number determining how long the animation will run.
1186
1209
  * @param complete A function to call once the animation is complete.
1187
1210
  */
1188
- slideDown(duration?: number|string, complete?: Function): ChaiJQuery;
1211
+ slideDown(duration?: number | string, complete?: Function): ChaiJQuery;
1189
1212
  /**
1190
1213
  * Display the matched elements with a sliding motion.
1191
1214
  *
@@ -1193,7 +1216,7 @@ interface ChaiJQuery {
1193
1216
  * @param easing A string indicating which easing function to use for the transition.
1194
1217
  * @param complete A function to call once the animation is complete.
1195
1218
  */
1196
- slideDown(duration?: number|string, easing?: string, complete?: Function): ChaiJQuery;
1219
+ slideDown(duration?: number | string, easing?: string, complete?: Function): ChaiJQuery;
1197
1220
  /**
1198
1221
  * Display the matched elements with a sliding motion.
1199
1222
  *
@@ -1207,7 +1230,7 @@ interface ChaiJQuery {
1207
1230
  * @param duration A string or number determining how long the animation will run.
1208
1231
  * @param complete A function to call once the animation is complete.
1209
1232
  */
1210
- slideToggle(duration?: number|string, complete?: Function): ChaiJQuery;
1233
+ slideToggle(duration?: number | string, complete?: Function): ChaiJQuery;
1211
1234
  /**
1212
1235
  * Display or hide the matched elements with a sliding motion.
1213
1236
  *
@@ -1215,7 +1238,7 @@ interface ChaiJQuery {
1215
1238
  * @param easing A string indicating which easing function to use for the transition.
1216
1239
  * @param complete A function to call once the animation is complete.
1217
1240
  */
1218
- slideToggle(duration?: number|string, easing?: string, complete?: Function): ChaiJQuery;
1241
+ slideToggle(duration?: number | string, easing?: string, complete?: Function): ChaiJQuery;
1219
1242
  /**
1220
1243
  * Display or hide the matched elements with a sliding motion.
1221
1244
  *
@@ -1229,7 +1252,7 @@ interface ChaiJQuery {
1229
1252
  * @param duration A string or number determining how long the animation will run.
1230
1253
  * @param complete A function to call once the animation is complete.
1231
1254
  */
1232
- slideUp(duration?: number|string, complete?: Function): ChaiJQuery;
1255
+ slideUp(duration?: number | string, complete?: Function): ChaiJQuery;
1233
1256
  /**
1234
1257
  * Hide the matched elements with a sliding motion.
1235
1258
  *
@@ -1237,7 +1260,7 @@ interface ChaiJQuery {
1237
1260
  * @param easing A string indicating which easing function to use for the transition.
1238
1261
  * @param complete A function to call once the animation is complete.
1239
1262
  */
1240
- slideUp(duration?: number|string, easing?: string, complete?: Function): ChaiJQuery;
1263
+ slideUp(duration?: number | string, easing?: string, complete?: Function): ChaiJQuery;
1241
1264
  /**
1242
1265
  * Hide the matched elements with a sliding motion.
1243
1266
  *
@@ -1267,7 +1290,7 @@ interface ChaiJQuery {
1267
1290
  * @param duration A string or number determining how long the animation will run.
1268
1291
  * @param complete A function to call once the animation is complete.
1269
1292
  */
1270
- toggle(duration?: number|string, complete?: Function): ChaiJQuery;
1293
+ toggle(duration?: number | string, complete?: Function): ChaiJQuery;
1271
1294
  /**
1272
1295
  * Display or hide the matched elements.
1273
1296
  *
@@ -1275,7 +1298,7 @@ interface ChaiJQuery {
1275
1298
  * @param easing A string indicating which easing function to use for the transition.
1276
1299
  * @param complete A function to call once the animation is complete.
1277
1300
  */
1278
- toggle(duration?: number|string, easing?: string, complete?: Function): ChaiJQuery;
1301
+ toggle(duration?: number | string, easing?: string, complete?: Function): ChaiJQuery;
1279
1302
  /**
1280
1303
  * Display or hide the matched elements.
1281
1304
  *
@@ -1399,7 +1422,12 @@ interface ChaiJQuery {
1399
1422
  dblclick(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): ChaiJQuery;
1400
1423
 
1401
1424
  delegate(selector: any, eventType: string, handler: (eventObject: JQueryEventObject) => any): ChaiJQuery;
1402
- delegate(selector: any, eventType: string, eventData: any, handler: (eventObject: JQueryEventObject) => any): ChaiJQuery;
1425
+ delegate(
1426
+ selector: any,
1427
+ eventType: string,
1428
+ eventData: any,
1429
+ handler: (eventObject: JQueryEventObject) => any,
1430
+ ): ChaiJQuery;
1403
1431
 
1404
1432
  /**
1405
1433
  * Trigger the "focus" event on an element.
@@ -1453,7 +1481,10 @@ interface ChaiJQuery {
1453
1481
  * @param handlerIn A function to execute when the mouse pointer enters the element.
1454
1482
  * @param handlerOut A function to execute when the mouse pointer leaves the element.
1455
1483
  */
1456
- hover(handlerIn: (eventObject: JQueryEventObject) => any, handlerOut: (eventObject: JQueryEventObject) => any): ChaiJQuery;
1484
+ hover(
1485
+ handlerIn: (eventObject: JQueryEventObject) => any,
1486
+ handlerOut: (eventObject: JQueryEventObject) => any,
1487
+ ): ChaiJQuery;
1457
1488
  /**
1458
1489
  * Bind a single handler to the matched elements, to be executed when the mouse pointer enters or leaves the elements.
1459
1490
  *
@@ -1680,7 +1711,7 @@ interface ChaiJQuery {
1680
1711
  * @param events An object where the string keys represent one or more space-separated event types and optional namespaces, and the values represent handler functions previously attached for the event(s).
1681
1712
  * @param selector A selector which should match the one originally passed to .on() when attaching event handlers.
1682
1713
  */
1683
- off(events: { [key: string]: any; }, selector?: string): ChaiJQuery;
1714
+ off(events: { [key: string]: any }, selector?: string): ChaiJQuery;
1684
1715
 
1685
1716
  /**
1686
1717
  * Attach an event handler function for one or more events to the selected elements.
@@ -1695,7 +1726,7 @@ interface ChaiJQuery {
1695
1726
  * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
1696
1727
  * @param data Data to be passed to the handler in event.data when an event is triggered.
1697
1728
  * @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.
1698
- */
1729
+ */
1699
1730
  on(events: string, data: any, handler: (eventObject: JQueryEventObject, ...args: any[]) => any): ChaiJQuery;
1700
1731
  /**
1701
1732
  * Attach an event handler function for one or more events to the selected elements.
@@ -1704,7 +1735,11 @@ interface ChaiJQuery {
1704
1735
  * @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.
1705
1736
  * @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.
1706
1737
  */
1707
- on(events: string, selector: string, handler: (eventObject: JQueryEventObject, ...eventData: any[]) => any): ChaiJQuery;
1738
+ on(
1739
+ events: string,
1740
+ selector: string,
1741
+ handler: (eventObject: JQueryEventObject, ...eventData: any[]) => any,
1742
+ ): ChaiJQuery;
1708
1743
  /**
1709
1744
  * Attach an event handler function for one or more events to the selected elements.
1710
1745
  *
@@ -1713,7 +1748,12 @@ interface ChaiJQuery {
1713
1748
  * @param data Data to be passed to the handler in event.data when an event is triggered.
1714
1749
  * @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.
1715
1750
  */
1716
- on(events: string, selector: string, data: any, handler: (eventObject: JQueryEventObject, ...eventData: any[]) => any): ChaiJQuery;
1751
+ on(
1752
+ events: string,
1753
+ selector: string,
1754
+ data: any,
1755
+ handler: (eventObject: JQueryEventObject, ...eventData: any[]) => any,
1756
+ ): ChaiJQuery;
1717
1757
  /**
1718
1758
  * Attach an event handler function for one or more events to the selected elements.
1719
1759
  *
@@ -1721,14 +1761,14 @@ interface ChaiJQuery {
1721
1761
  * @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.
1722
1762
  * @param data Data to be passed to the handler in event.data when an event occurs.
1723
1763
  */
1724
- on(events: { [key: string]: any; }, selector?: string, data?: any): ChaiJQuery;
1764
+ on(events: { [key: string]: any }, selector?: string, data?: any): ChaiJQuery;
1725
1765
  /**
1726
1766
  * Attach an event handler function for one or more events to the selected elements.
1727
1767
  *
1728
1768
  * @param events An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).
1729
1769
  * @param data Data to be passed to the handler in event.data when an event occurs.
1730
1770
  */
1731
- on(events: { [key: string]: any; }, data?: any): ChaiJQuery;
1771
+ on(events: { [key: string]: any }, data?: any): ChaiJQuery;
1732
1772
 
1733
1773
  /**
1734
1774
  * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
@@ -1771,7 +1811,7 @@ interface ChaiJQuery {
1771
1811
  * @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.
1772
1812
  * @param data Data to be passed to the handler in event.data when an event occurs.
1773
1813
  */
1774
- one(events: { [key: string]: any; }, selector?: string, data?: any): ChaiJQuery;
1814
+ one(events: { [key: string]: any }, selector?: string, data?: any): ChaiJQuery;
1775
1815
 
1776
1816
  /**
1777
1817
  * Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
@@ -1779,8 +1819,7 @@ interface ChaiJQuery {
1779
1819
  * @param events An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).
1780
1820
  * @param data Data to be passed to the handler in event.data when an event occurs.
1781
1821
  */
1782
- one(events: { [key: string]: any; }, data?: any): ChaiJQuery;
1783
-
1822
+ one(events: { [key: string]: any }, data?: any): ChaiJQuery;
1784
1823
 
1785
1824
  /**
1786
1825
  * Specify a function to execute when the DOM is fully loaded.
@@ -1867,14 +1906,14 @@ interface ChaiJQuery {
1867
1906
  * @param eventType A string containing a JavaScript event type, such as click or submit.
1868
1907
  * @param extraParameters Additional parameters to pass along to the event handler.
1869
1908
  */
1870
- trigger(eventType: string, extraParameters?: any[]|Object): ChaiJQuery;
1909
+ trigger(eventType: string, extraParameters?: any[] | Object): ChaiJQuery;
1871
1910
  /**
1872
1911
  * Execute all handlers and behaviors attached to the matched elements for the given event type.
1873
1912
  *
1874
1913
  * @param event A jQuery.Event object.
1875
1914
  * @param extraParameters Additional parameters to pass along to the event handler.
1876
1915
  */
1877
- trigger(event: JQueryEventObject, extraParameters?: any[]|Object): ChaiJQuery;
1916
+ trigger(event: JQueryEventObject, extraParameters?: any[] | Object): ChaiJQuery;
1878
1917
 
1879
1918
  /**
1880
1919
  * Execute all handlers attached to an element for an event.
@@ -1987,13 +2026,13 @@ interface ChaiJQuery {
1987
2026
  * param content1 HTML string, DOM element, array of elements, or jQuery object to insert after each element in the set of matched elements.
1988
2027
  * 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.
1989
2028
  */
1990
- after(content1: JQuery|any[]|Element|Text|string, ...content2: any[]): ChaiJQuery;
2029
+ after(content1: JQuery | any[] | Element | Text | string, ...content2: any[]): ChaiJQuery;
1991
2030
  /**
1992
2031
  * Insert content, specified by the parameter, after each element in the set of matched elements.
1993
2032
  *
1994
2033
  * 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.
1995
2034
  */
1996
- after(func: (index: number, html: string) => string|Element|JQuery): ChaiJQuery;
2035
+ after(func: (index: number, html: string) => string | Element | JQuery): ChaiJQuery;
1997
2036
 
1998
2037
  /**
1999
2038
  * Insert content, specified by the parameter, to the end of each element in the set of matched elements.
@@ -2001,20 +2040,20 @@ interface ChaiJQuery {
2001
2040
  * param content1 DOM element, array of elements, HTML string, or jQuery object to insert at the end of each element in the set of matched elements.
2002
2041
  * 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.
2003
2042
  */
2004
- append(content1: JQuery|any[]|Element|Text|string, ...content2: any[]): ChaiJQuery;
2043
+ append(content1: JQuery | any[] | Element | Text | string, ...content2: any[]): ChaiJQuery;
2005
2044
  /**
2006
2045
  * Insert content, specified by the parameter, to the end of each element in the set of matched elements.
2007
2046
  *
2008
2047
  * 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.
2009
2048
  */
2010
- append(func: (index: number, html: string) => string|Element|JQuery): ChaiJQuery;
2049
+ append(func: (index: number, html: string) => string | Element | JQuery): ChaiJQuery;
2011
2050
 
2012
2051
  /**
2013
2052
  * Insert every element in the set of matched elements to the end of the target.
2014
2053
  *
2015
2054
  * @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.
2016
2055
  */
2017
- appendTo(target: JQuery|any[]|Element|string): ChaiJQuery;
2056
+ appendTo(target: JQuery | any[] | Element | string): ChaiJQuery;
2018
2057
 
2019
2058
  /**
2020
2059
  * Insert content, specified by the parameter, before each element in the set of matched elements.
@@ -2022,13 +2061,13 @@ interface ChaiJQuery {
2022
2061
  * param content1 HTML string, DOM element, array of elements, or jQuery object to insert before each element in the set of matched elements.
2023
2062
  * 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.
2024
2063
  */
2025
- before(content1: JQuery|any[]|Element|Text|string, ...content2: any[]): ChaiJQuery;
2064
+ before(content1: JQuery | any[] | Element | Text | string, ...content2: any[]): ChaiJQuery;
2026
2065
  /**
2027
2066
  * Insert content, specified by the parameter, before each element in the set of matched elements.
2028
2067
  *
2029
2068
  * 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.
2030
2069
  */
2031
- before(func: (index: number, html: string) => string|Element|JQuery): ChaiJQuery;
2070
+ before(func: (index: number, html: string) => string | Element | JQuery): ChaiJQuery;
2032
2071
 
2033
2072
  /**
2034
2073
  * Create a deep copy of the set of matched elements.
@@ -2055,14 +2094,14 @@ interface ChaiJQuery {
2055
2094
  *
2056
2095
  * 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.
2057
2096
  */
2058
- insertAfter(target: JQuery|any[]|Element|Text|string): ChaiJQuery;
2097
+ insertAfter(target: JQuery | any[] | Element | Text | string): ChaiJQuery;
2059
2098
 
2060
2099
  /**
2061
2100
  * Insert every element in the set of matched elements before the target.
2062
2101
  *
2063
2102
  * 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.
2064
2103
  */
2065
- insertBefore(target: JQuery|any[]|Element|Text|string): ChaiJQuery;
2104
+ insertBefore(target: JQuery | any[] | Element | Text | string): ChaiJQuery;
2066
2105
 
2067
2106
  /**
2068
2107
  * Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
@@ -2070,20 +2109,20 @@ interface ChaiJQuery {
2070
2109
  * param content1 DOM element, array of elements, HTML string, or jQuery object to insert at the beginning of each element in the set of matched elements.
2071
2110
  * 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.
2072
2111
  */
2073
- prepend(content1: JQuery|any[]|Element|Text|string, ...content2: any[]): ChaiJQuery;
2112
+ prepend(content1: JQuery | any[] | Element | Text | string, ...content2: any[]): ChaiJQuery;
2074
2113
  /**
2075
2114
  * Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
2076
2115
  *
2077
2116
  * 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.
2078
2117
  */
2079
- prepend(func: (index: number, html: string) => string|Element|JQuery): ChaiJQuery;
2118
+ prepend(func: (index: number, html: string) => string | Element | JQuery): ChaiJQuery;
2080
2119
 
2081
2120
  /**
2082
2121
  * Insert every element in the set of matched elements to the beginning of the target.
2083
2122
  *
2084
2123
  * @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.
2085
2124
  */
2086
- prependTo(target: JQuery|any[]|Element|string): ChaiJQuery;
2125
+ prependTo(target: JQuery | any[] | Element | string): ChaiJQuery;
2087
2126
 
2088
2127
  /**
2089
2128
  * Remove the set of matched elements from the DOM.
@@ -2097,20 +2136,20 @@ interface ChaiJQuery {
2097
2136
  *
2098
2137
  * @param target A selector string, jQuery object, DOM element, or array of elements indicating which element(s) to replace.
2099
2138
  */
2100
- replaceAll(target: JQuery|any[]|Element|string): ChaiJQuery;
2139
+ replaceAll(target: JQuery | any[] | Element | string): ChaiJQuery;
2101
2140
 
2102
2141
  /**
2103
2142
  * Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
2104
2143
  *
2105
2144
  * param newContent The content to insert. May be an HTML string, DOM element, array of DOM elements, or jQuery object.
2106
2145
  */
2107
- replaceWith(newContent: JQuery|any[]|Element|Text|string): ChaiJQuery;
2146
+ replaceWith(newContent: JQuery | any[] | Element | Text | string): ChaiJQuery;
2108
2147
  /**
2109
2148
  * Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
2110
2149
  *
2111
2150
  * param func A function that returns content with which to replace the set of matched elements.
2112
2151
  */
2113
- replaceWith(func: () => Element|JQuery): ChaiJQuery;
2152
+ replaceWith(func: () => Element | JQuery): ChaiJQuery;
2114
2153
 
2115
2154
  /**
2116
2155
  * Get the combined text contents of each element in the set of matched elements, including their descendants.
@@ -2121,7 +2160,7 @@ interface ChaiJQuery {
2121
2160
  *
2122
2161
  * @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.
2123
2162
  */
2124
- text(text: string|number|boolean): ChaiJQuery;
2163
+ text(text: string | number | boolean): ChaiJQuery;
2125
2164
  /**
2126
2165
  * Set the content of each element in the set of matched elements to the specified text.
2127
2166
  *
@@ -2144,20 +2183,20 @@ interface ChaiJQuery {
2144
2183
  *
2145
2184
  * @param wrappingElement A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.
2146
2185
  */
2147
- wrap(wrappingElement: JQuery|Element|string): ChaiJQuery;
2186
+ wrap(wrappingElement: JQuery | Element | string): ChaiJQuery;
2148
2187
  /**
2149
2188
  * Wrap an HTML structure around each element in the set of matched elements.
2150
2189
  *
2151
2190
  * @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.
2152
2191
  */
2153
- wrap(func: (index: number) => string|JQuery): ChaiJQuery;
2192
+ wrap(func: (index: number) => string | JQuery): ChaiJQuery;
2154
2193
 
2155
2194
  /**
2156
2195
  * Wrap an HTML structure around all elements in the set of matched elements.
2157
2196
  *
2158
2197
  * @param wrappingElement A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.
2159
2198
  */
2160
- wrapAll(wrappingElement: JQuery|Element|string): ChaiJQuery;
2199
+ wrapAll(wrappingElement: JQuery | Element | string): ChaiJQuery;
2161
2200
  wrapAll(func: (index: number) => string): ChaiJQuery;
2162
2201
 
2163
2202
  /**
@@ -2165,7 +2204,7 @@ interface ChaiJQuery {
2165
2204
  *
2166
2205
  * @param wrappingElement An HTML snippet, selector expression, jQuery object, or DOM element specifying the structure to wrap around the content of the matched elements.
2167
2206
  */
2168
- wrapInner(wrappingElement: JQuery|Element|string): ChaiJQuery;
2207
+ wrapInner(wrappingElement: JQuery | Element | string): ChaiJQuery;
2169
2208
  /**
2170
2209
  * Wrap an HTML structure around the content of each element in the set of matched elements.
2171
2210
  *
@@ -2200,7 +2239,7 @@ interface ChaiJQuery {
2200
2239
  *
2201
2240
  * @param selector A selector representing a jQuery collection in which to look for an element.
2202
2241
  */
2203
- index(selector: string|JQuery|Element): number;
2242
+ index(selector: string | JQuery | Element): number;
2204
2243
 
2205
2244
  /**
2206
2245
  * The number of elements in the jQuery object.
@@ -2295,7 +2334,6 @@ interface ChaiJQuery {
2295
2334
  * Reduce the set of matched elements to the one at the specified index.
2296
2335
  *
2297
2336
  * @param index An integer indicating the 0-based position of the element. OR An integer indicating the position of the element, counting backwards from the last element in the set.
2298
- *
2299
2337
  */
2300
2338
  eq(index: number): ChaiJQuery;
2301
2339