@types/jquery 3.3.37 → 3.3.38

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/README.md +1 -1
  2. jquery/misc.d.ts +1 -24
  3. jquery/package.json +2 -2
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: Sun, 03 May 2020 18:17:48 GMT
11
+ * Last updated: Tue, 05 May 2020 00:16:29 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
@@ -1160,29 +1160,6 @@ callbacks.fire( "world" );
1160
1160
  */
1161
1161
  interface Thenable<T> extends PromiseLike<T> { }
1162
1162
 
1163
- // NOTE: This is a private copy of the global Promise interface. It is used by JQuery.PromiseBase to indicate compatibility with other Promise implementations.
1164
- // The global Promise interface cannot be used directly as it may be modified, as in the case of @types/bluebird-global.
1165
- /**
1166
- * Represents the completion of an asynchronous operation
1167
- */
1168
- interface _Promise<T> {
1169
- readonly [Symbol.toStringTag]: "Promise";
1170
- /**
1171
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1172
- * @param onfulfilled The callback to execute when the Promise is resolved.
1173
- * @param onrejected The callback to execute when the Promise is rejected.
1174
- * @returns A Promise for the completion of which ever callback is executed.
1175
- */
1176
- then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null,
1177
- onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null): _Promise<TResult1 | TResult2>;
1178
- /**
1179
- * Attaches a callback for only the rejection of the Promise.
1180
- * @param onrejected The callback to execute when the Promise is rejected.
1181
- * @returns A Promise for the completion of the callback.
1182
- */
1183
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null): _Promise<T | TResult>;
1184
- }
1185
-
1186
1163
  // Type parameter guide
1187
1164
  // --------------------
1188
1165
  // Each type parameter represents a parameter in one of the three possible callbacks.
@@ -1205,7 +1182,7 @@ callbacks.fire( "world" );
1205
1182
  interface PromiseBase<TR, TJ, TN,
1206
1183
  UR, UJ, UN,
1207
1184
  VR, VJ, VN,
1208
- SR, SJ, SN> extends _Promise<TR>, PromiseLike<TR> {
1185
+ SR, SJ, SN> {
1209
1186
  /**
1210
1187
  * Add handlers to be called when the Deferred object is either resolved or rejected.
1211
1188
  * @param alwaysCallback A function, or array of functions, that is called when the Deferred is resolved or rejected.
jquery/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/jquery",
3
- "version": "3.3.37",
3
+ "version": "3.3.38",
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": "e0420026d6313bd8376255347e9766bee69e2583a32d0ec70e1cb932c1b034df",
134
+ "typesPublisherContentHash": "33105f44fa1203a4b29d528e353c81fe417c6c181f38b36f4bfca66f35e6183f",
135
135
  "typeScriptVersion": "2.9"
136
136
  }