One question I have is how to access the options parameter in the scrollBy() method.
Parameters<Element["scrollTo"]>
When I use [x: number, y: number]
as per the documentation, it does not include options?: ScrollToOptions
.
scrollTo(options?: ScrollToOptions): void;
scrollTo(x: number, y: number): void;