You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
type WindowSizeInfo = { window: any document: any; scroll: any; };
The correct declaration is: type WindowSizeInfo = { document: {height: number, width: number}; scroll: {x: number, y: number}; window: {height: number, width: number}; };
The text was updated successfully, but these errors were encountered:
agankarin
changed the title
Better deceleration to wix-window.getBoundingRect() return type
Better deceleration for wix-window.getBoundingRect() return type
Sep 12, 2019
agankarin
changed the title
Better deceleration for wix-window.getBoundingRect() return type
Better declaration for wix-window.getBoundingRect() return type
Sep 12, 2019
The current declaration is:
type WindowSizeInfo = { window: any document: any; scroll: any; };
The correct declaration is:
type WindowSizeInfo = { document: {height: number, width: number}; scroll: {x: number, y: number}; window: {height: number, width: number}; };
The text was updated successfully, but these errors were encountered: