Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better declaration for wix-window.getBoundingRect() return type #5

Open
agankarin opened this issue Sep 12, 2019 · 0 comments
Open

Comments

@agankarin
Copy link
Contributor

agankarin commented 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}; };

@agankarin agankarin changed the title Better deceleration to wix-window.getBoundingRect() return type Better deceleration for wix-window.getBoundingRect() return type Sep 12, 2019
@agankarin agankarin changed the title Better deceleration for wix-window.getBoundingRect() return type Better declaration for wix-window.getBoundingRect() return type Sep 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant