@koine/dom 1.0.90 → 1.0.92
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.
- package/listenResize.d.ts +1 -1
- package/listenScroll.d.ts +1 -1
- package/node/off.js +0 -1
- package/node/on.js +0 -1
- package/off.js +0 -1
- package/on.d.ts +1 -1
- package/on.js +0 -1
- package/package.json +2 -2
package/listenResize.d.ts
CHANGED
|
@@ -4,5 +4,5 @@ import { debounce } from "@koine/utils";
|
|
|
4
4
|
*
|
|
5
5
|
* @returns An automatic unbinding function to run to deregister the listener upon call
|
|
6
6
|
*/
|
|
7
|
-
export declare function listenResize(...args: Parameters<typeof debounce>): (
|
|
7
|
+
export declare function listenResize(...args: Parameters<typeof debounce>): () => void;
|
|
8
8
|
export default listenResize;
|
package/listenScroll.d.ts
CHANGED
|
@@ -4,5 +4,5 @@ import { debounce } from "@koine/utils";
|
|
|
4
4
|
*
|
|
5
5
|
* @returns An automatic unbinding function to run to deregister the listener upon call
|
|
6
6
|
*/
|
|
7
|
-
export declare function listenScroll(...args: Parameters<typeof debounce>): (
|
|
7
|
+
export declare function listenScroll(...args: Parameters<typeof debounce>): () => void;
|
|
8
8
|
export default listenScroll;
|
package/node/off.js
CHANGED
package/node/on.js
CHANGED
package/off.js
CHANGED
package/on.d.ts
CHANGED
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @returns An automatic unbinding function to run to deregister the listener upon call
|
|
5
5
|
*/
|
|
6
|
-
export declare function on<THandler extends (event: any) => void>(el: Window | Document | HTMLElement | Element, type: string, handler: THandler, options?: AddEventListenerOptions | boolean): (
|
|
6
|
+
export declare function on<THandler extends (event: any) => void>(el: Window | Document | HTMLElement | Element, type: string, handler: THandler, options?: AddEventListenerOptions | boolean): () => void;
|
|
7
7
|
export default on;
|
package/on.js
CHANGED
package/package.json
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
"main": "./node/index.js",
|
|
5
5
|
"typings": "./index.d.ts",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@koine/utils": "1.0.
|
|
7
|
+
"@koine/utils": "1.0.92",
|
|
8
8
|
"ts-debounce": "^4.0.0",
|
|
9
9
|
"tslib": "^2.4.0"
|
|
10
10
|
},
|
|
11
11
|
"peerDependencies": {},
|
|
12
|
-
"version": "1.0.
|
|
12
|
+
"version": "1.0.92",
|
|
13
13
|
"module": "./index.js",
|
|
14
14
|
"types": "./index.d.ts"
|
|
15
15
|
}
|