@types/jquery 3.5.27 → 3.5.28
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/JQueryStatic.d.ts +1 -1
- jquery/README.md +1 -1
- jquery/legacy.d.ts +7 -7
- jquery/misc.d.ts +3 -3
- jquery/package.json +2 -2
jquery/JQueryStatic.d.ts
CHANGED
|
@@ -2133,7 +2133,7 @@ jQuery.each( objs, function( i ) {
|
|
|
2133
2133
|
$.isFunction(function() {});
|
|
2134
2134
|
```
|
|
2135
2135
|
*/
|
|
2136
|
-
//
|
|
2136
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
2137
2137
|
isFunction(obj: any): obj is Function;
|
|
2138
2138
|
/**
|
|
2139
2139
|
* Determines whether its argument represents a JavaScript number.
|
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:
|
|
11
|
+
* Last updated: Mon, 20 Nov 2023 23:36:24 GMT
|
|
12
12
|
* Dependencies: [@types/sizzle](https://npmjs.com/package/@types/sizzle)
|
|
13
13
|
|
|
14
14
|
# Credits
|
jquery/legacy.d.ts
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
// tslint:disable:no-irregular-whitespace
|
|
2
2
|
|
|
3
|
-
//
|
|
3
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
4
4
|
interface JQueryCallback extends JQuery.Callbacks {}
|
|
5
5
|
interface JQueryDeferred<T> extends JQuery.Deferred<T> {}
|
|
6
|
-
//
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
7
7
|
interface JQueryEventConstructor extends JQuery.EventStatic {}
|
|
8
8
|
interface JQueryDeferred<T> extends JQuery.Deferred<T> {}
|
|
9
|
-
//
|
|
9
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
10
10
|
interface JQueryAjaxSettings extends JQuery.AjaxSettings {}
|
|
11
11
|
interface JQueryAnimationOptions extends JQuery.EffectsOptions<Element> {}
|
|
12
|
-
//
|
|
12
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
13
13
|
interface JQueryCoordinates extends JQuery.Coordinates {}
|
|
14
14
|
interface JQueryGenericPromise<T> extends JQuery.Thenable<T> {}
|
|
15
|
-
//
|
|
15
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
16
16
|
interface JQueryXHR extends JQuery.jqXHR {}
|
|
17
17
|
interface JQueryPromise<T> extends JQuery.Promise<T> {}
|
|
18
|
-
//
|
|
18
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
19
19
|
interface JQuerySerializeArrayElement extends JQuery.NameValuePair {}
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* @deprecated Deprecated since 1.9. See \`{@link https://api.jquery.com/jQuery.support/ }\`.
|
|
23
23
|
*/
|
|
24
|
-
//
|
|
24
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
25
25
|
interface JQuerySupport extends JQuery.PlainObject {}
|
|
26
26
|
|
|
27
27
|
// Legacy types that are not represented in the current type definitions are marked deprecated.
|
jquery/misc.d.ts
CHANGED
|
@@ -758,12 +758,12 @@ declare namespace JQuery {
|
|
|
758
758
|
* @since 1.7
|
|
759
759
|
*/
|
|
760
760
|
/* eslint-disable @definitelytyped/no-unnecessary-generics */
|
|
761
|
-
//
|
|
761
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
762
762
|
<T extends Function>(flags?: string): Callbacks<T>;
|
|
763
763
|
/* eslint-enable @definitelytyped/no-unnecessary-generics */
|
|
764
764
|
}
|
|
765
765
|
|
|
766
|
-
//
|
|
766
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
767
767
|
interface Callbacks<T extends Function = Function> {
|
|
768
768
|
/**
|
|
769
769
|
* Add a callback or a collection of callbacks to a callback list.
|
|
@@ -7341,7 +7341,7 @@ type _FocusEvent = FocusEvent;
|
|
|
7341
7341
|
// #region ES5 compatibility
|
|
7342
7342
|
|
|
7343
7343
|
// Forward declaration of `Iterable<T>`.
|
|
7344
|
-
//
|
|
7344
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
7345
7345
|
interface Iterable<T> {}
|
|
7346
7346
|
|
|
7347
7347
|
interface SymbolConstructor {
|
jquery/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/jquery",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.28",
|
|
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": "
|
|
130
|
+
"typesPublisherContentHash": "ff4813c60f8be1d95a54c9d54b7f137b7ec042a17fb81326a7b2715f1efb4e57",
|
|
131
131
|
"typeScriptVersion": "4.5"
|
|
132
132
|
}
|