const style = window.getComputedStyle(node) style has type CSSStyleDeclaration which follows react's camelCase formatting. I could cast it to JSX.CSSProperties but JSX.CSSProperties allow for numbers | string while window.getComputedStyle only returns string.Join the Discord to ask follow-up questions and connect with the community
Solid is a declarative reactive Javascript library for creating user interfaces.
12,260 Members
Join