You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actual behavior:
Typescript compiler rejects the assignment to style as invalid. According to MDN this is a valid assignment, and it works in every modern browser. The value returned by .style is readonly, but the property itself is not.
The text was updated successfully, but these errors were encountered:
TypeScript Version: 2.1.5
Code
Expected behavior:
Should compile and run
Actual behavior:
Typescript compiler rejects the assignment to
style
as invalid.According to MDN this is a valid assignment, and it works in every modern browser. The value returned by
.style
is readonly, but the property itself is not.The text was updated successfully, but these errors were encountered: