get-scroll-info
Advanced tools
Comparing version 0.5.1 to 0.5.2
@@ -15,6 +15,12 @@ "use strict"; | ||
var lastScrollStore = (0, _reshowConstant.NEW_OBJ)(); | ||
/** | ||
* @typedef {import("reshow-constant").SAFE_UNDEFINED} SAFE_UNDEFINED | ||
*/ | ||
/** | ||
* @typedef {object & Document} ThisDocument | ||
* @propert {function} webkitIsFullScreen | ||
* @property {function} webkitIsFullScreen | ||
*/ | ||
/** | ||
@@ -35,3 +41,3 @@ * @type ThisDocument | ||
/** | ||
* @param {HTMLElement} [el] | ||
* @param {SAFE_UNDEFINED|HTMLElement} [el] | ||
* @returns {HTMLElement} | ||
@@ -38,0 +44,0 @@ */ |
{ | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"name": "get-scroll-info", | ||
@@ -4,0 +4,0 @@ "repository": { |
@@ -72,2 +72,3 @@ export class ScrollInfoType { | ||
export default getScrollInfo; | ||
export type SAFE_UNDEFINED = import("reshow-constant").SAFE_UNDEFINED; | ||
export type ThisDocument = object & Document; | ||
@@ -80,5 +81,5 @@ /** | ||
/** | ||
* @param {HTMLElement} [el] | ||
* @param {SAFE_UNDEFINED|HTMLElement} [el] | ||
* @returns {HTMLElement} | ||
*/ | ||
export function getScrollNode(el?: HTMLElement): HTMLElement; | ||
export function getScrollNode(el?: SAFE_UNDEFINED | HTMLElement): HTMLElement; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14757
487