RegularTableElement.scrollTo
shadows base HTMLElement.scrollTo
method
#54
Labels
bug
Concrete, reproducible bugs
I took a first stab at writing a typescript type declaration file (regular-table.d.ts). In the
RegularTableElement
class declaration, I had to leave out:This is because the above is not compatible with the signature of the base method
HTMLElement.scrollTo
, as defined in typescript's standardlib.dom.d.ts
:This is likely to be a pain point for anyone trying to consume regular-table in a typescript project (at the least, they won't be able to call
scrollTo
on aRegularTableElement
instance without a cast).Potential fixes:
scrollTo
. For example, we could usescrollToCell
arguments
toscrollTo
The text was updated successfully, but these errors were encountered: