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
Due to the typeless nature of JavaScript, the JSX compiler cannot determine the element type of Arrays / Maps. For example, it is impossible to throw an exception when an array containing a string is casted to Array.<number>.
But since such use is often found in our applications, we should better emit compiler warnings for such cases.
The text was updated successfully, but these errors were encountered:
Due to the typeless nature of JavaScript, the JSX compiler cannot determine the element type of Arrays / Maps. For example, it is impossible to throw an exception when an array containing a string is casted to
Array.<number>
.But since such use is often found in our applications, we should better emit compiler warnings for such cases.
The text was updated successfully, but these errors were encountered: