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
Spec section 10.4 defines which internal module members need to be exported to prevent a visibility error:
• A class directly depends on each Type specified as a type parameter constraint, each TypeReference specified as a base class or implemented interface, and each Type specified in a constructor parameter type annotation, member variable type annotation, member function parameter or return type annotation, member accessor parameter or return type annotation, or index signature type annotation.
That implies this code should be invalid, but this used to be allowed and still should be:
Spec section 10.4 defines which internal module members need to be exported to prevent a visibility error:
That implies this code should be invalid, but this used to be allowed and still should be:
I think the quoted bullet above should say "each Type specified in a public constructor type annotation, ..."
The text was updated successfully, but these errors were encountered: