@types/jquery 3.5.14 → 3.5.15

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/JQuery.d.ts CHANGED
@@ -8705,7 +8705,7 @@ $( "span" ).click(function() {
8705
8705
  */
8706
8706
  parents<K extends keyof HTMLElementTagNameMap>(selector: K | JQuery<K>): JQuery<HTMLElementTagNameMap[K]>;
8707
8707
  parents<K extends keyof SVGElementTagNameMap>(selector: K | JQuery<K>): JQuery<SVGElementTagNameMap[K]>;
8708
- // tslint:disable-next-line:no-unnecessary-generics
8708
+ // eslint-disable-next-line no-unnecessary-generics
8709
8709
  parents<E extends HTMLElement>(selector?: JQuery.Selector): JQuery<E>;
8710
8710
  /**
8711
8711
  * Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.
jquery/JQueryStatic.d.ts CHANGED
@@ -97,7 +97,7 @@ $( "<div/>", {
97
97
  .appendTo( "body" );
98
98
  ```
99
99
  */
100
- // tslint:disable-next-line:no-unnecessary-generics
100
+ // eslint-disable-next-line no-unnecessary-generics
101
101
  <TElement extends HTMLElement = HTMLElement>(html: JQuery.htmlString, ownerDocument_attributes?: Document | JQuery.PlainObject): JQuery<TElement>;
102
102
  /**
103
103
  * Accepts a string containing a CSS selector which is then used to match a set of elements.
@@ -136,7 +136,7 @@ $( "div", xml.responseXML );
136
136
  ```
137
137
 
138
138
  */
139
- // tslint:disable-next-line:no-unnecessary-generics
139
+ // eslint-disable-next-line no-unnecessary-generics
140
140
  <TElement extends Element = HTMLElement>(selector: JQuery.Selector, context?: Element | Document | JQuery | JQuery.Selector): JQuery<TElement>;
141
141
  /**
142
142
  * Return a collection of matched elements either found in the DOM based on passed argument(s) or created by passing an HTML string.
@@ -193,8 +193,10 @@ jQuery(function( $ ) {
193
193
  });
194
194
  ```
195
195
  */
196
- // tslint:disable-next-line:no-unnecessary-generics unified-signatures
196
+ /* eslint-disable no-unnecessary-generics */
197
+ // tslint-disable-next-line:unified-signatures
197
198
  <TElement = HTMLElement>(callback: ((this: Document, $: JQueryStatic) => void)): JQuery<TElement>;
199
+ /* eslint-enable no-unnecessary-generics */
198
200
  /**
199
201
  * Return a collection of matched elements either found in the DOM based on passed argument(s) or created by passing an HTML string.
200
202
  * @param object A plain object to wrap in a jQuery object.
@@ -207,7 +209,7 @@ jQuery(function( $ ) {
207
209
  * @see \`{@link https://api.jquery.com/jQuery/ }\`
208
210
  * @since 1.4
209
211
  */
210
- // tslint:disable-next-line:no-unnecessary-generics
212
+ // eslint-disable-next-line no-unnecessary-generics
211
213
  <TElement = HTMLElement>(): JQuery<TElement>;
212
214
  /**
213
215
  * Perform an asynchronous HTTP (Ajax) request.
jquery/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for jquery (https://jquery.com).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 24 Feb 2022 15:01:41 GMT
11
+ * Last updated: Fri, 30 Dec 2022 23:03:40 GMT
12
12
  * Dependencies: [@types/sizzle](https://npmjs.com/package/@types/sizzle)
13
13
  * Global values: `$`, `Symbol`, `jQuery`
14
14
 
jquery/misc.d.ts CHANGED
@@ -718,8 +718,10 @@ declare namespace JQuery {
718
718
  * @see \`{@link https://api.jquery.com/jQuery.Callbacks/ }\`
719
719
  * @since 1.7
720
720
  */
721
- // tslint:disable-next-line:ban-types no-unnecessary-generics
721
+ /* eslint-disable no-unnecessary-generics */
722
+ // tslint:disable-next-line:ban-types
722
723
  <T extends Function>(flags?: string): Callbacks<T>;
724
+ /* eslint-enable no-unnecessary-generics */
723
725
  }
724
726
 
725
727
  // tslint:disable-next-line:ban-types
jquery/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/jquery",
3
- "version": "3.5.14",
3
+ "version": "3.5.15",
4
4
  "description": "TypeScript definitions for jquery",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery",
6
6
  "license": "MIT",
@@ -127,6 +127,6 @@
127
127
  "dependencies": {
128
128
  "@types/sizzle": "*"
129
129
  },
130
- "typesPublisherContentHash": "9f788e87c9a414e61c159cc18d7f06aa9d6fffa10bda4e9b5784798949e9eb25",
131
- "typeScriptVersion": "3.8"
130
+ "typesPublisherContentHash": "11aaefcc1bb237bc3ded3f093d85f38a56eccf6b430c27f1c8ab53d578efcaf4",
131
+ "typeScriptVersion": "4.2"
132
132
  }