@types/jquery 3.5.9 → 3.5.10

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.
Files changed (3) hide show
  1. jquery/JQuery.d.ts +3 -1
  2. jquery/README.md +1 -1
  3. jquery/package.json +2 -2
jquery/JQuery.d.ts CHANGED
@@ -1780,7 +1780,9 @@ $( "div" ).children( ".selected" ).css( "color", "blue" );
1780
1780
  </html>
1781
1781
  ```
1782
1782
  */
1783
- children(selector?: JQuery.Selector): this;
1783
+ children<K extends keyof HTMLElementTagNameMap>(selector: K): JQuery<HTMLElementTagNameMap[K]>;
1784
+ children<K extends keyof SVGElementTagNameMap>(selector: K): JQuery<SVGElementTagNameMap[K]>;
1785
+ children(selector?: JQuery.Selector): JQuery;
1784
1786
  /**
1785
1787
  * Remove from the queue all items that have not yet been run.
1786
1788
  * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.
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: Mon, 22 Nov 2021 20:31:06 GMT
11
+ * Last updated: Wed, 08 Dec 2021 19:31:02 GMT
12
12
  * Dependencies: [@types/sizzle](https://npmjs.com/package/@types/sizzle)
13
13
  * Global values: `$`, `Symbol`, `jQuery`
14
14
 
jquery/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/jquery",
3
- "version": "3.5.9",
3
+ "version": "3.5.10",
4
4
  "description": "TypeScript definitions for jquery",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery",
6
6
  "license": "MIT",
@@ -137,6 +137,6 @@
137
137
  "dependencies": {
138
138
  "@types/sizzle": "*"
139
139
  },
140
- "typesPublisherContentHash": "0ef0358b8d7fceaa9db874ca675f367c3e02492fbad18cfa03167eac4df0f819",
140
+ "typesPublisherContentHash": "74cc5cb44a90e97b0cbc182b21e6d4304b4996062da34d14015d00f9932cd93b",
141
141
  "typeScriptVersion": "3.8"
142
142
  }