Open macmillen opened 1 year ago
I'd like to propose to add a type for the return value of getComputedStyle().
getComputedStyle()
The return type of getComputedStyle() is CSSStyleDeclaration which e.g. has for the display key string as a type which is I need to narrow down myself.
CSSStyleDeclaration
display
string
I'd like to propose to add a type for the return value of
getComputedStyle()
.The return type of
getComputedStyle()
isCSSStyleDeclaration
which e.g. has for thedisplay
keystring
as a type which is I need to narrow down myself.