@types/jquery 3.5.4 → 3.5.5

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 +2 -1
  2. jquery/README.md +1 -1
  3. jquery/package.json +3 -3
jquery/JQuery.d.ts CHANGED
@@ -8703,7 +8703,8 @@ $( "span" ).click(function() {
8703
8703
  */
8704
8704
  parents<K extends keyof HTMLElementTagNameMap>(selector: K | JQuery<K>): JQuery<HTMLElementTagNameMap[K]>;
8705
8705
  parents<K extends keyof SVGElementTagNameMap>(selector: K | JQuery<K>): JQuery<SVGElementTagNameMap[K]>;
8706
- parents(selector?: JQuery.Selector): this;
8706
+ // tslint:disable-next-line:no-unnecessary-generics
8707
+ parents<E extends HTMLElement>(selector?: JQuery.Selector): JQuery<E>;
8707
8708
  /**
8708
8709
  * 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.
8709
8710
  * @param selector_element _&#x40;param_ `selector_element`
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: Wed, 28 Oct 2020 18:55:09 GMT
11
+ * Last updated: Mon, 07 Dec 2020 19:49:03 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.4",
3
+ "version": "3.5.5",
4
4
  "description": "TypeScript definitions for jquery",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -131,6 +131,6 @@
131
131
  "dependencies": {
132
132
  "@types/sizzle": "*"
133
133
  },
134
- "typesPublisherContentHash": "124a459cd4f34eff82dc7eac708d51c572adc63756e4541d7aa4ca46f0c60529",
135
- "typeScriptVersion": "3.2"
134
+ "typesPublisherContentHash": "a02c9cdea2ee3a153561f214a6ee588b209cc5b3e960a1c4e14467ee5e3962d2",
135
+ "typeScriptVersion": "3.3"
136
136
  }