Skip to content

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

@agankarin

Description

@agankarin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions