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
Sometimes you want a property/method to be visible outside of a class in the same module but do not want it to be on the public interface outside their module.
For example:
exportclassPublicClass{publicmyPublicProperty=1;internalmyInternalProperty: number;// do not expose outside this moduleconstructor(){setValue(this);}}functionsetValue(o: PublicClass){o.myInternalProperty=o.myPublicProperty;// allow access to myInternalProperty outside PublicClass}
The text was updated successfully, but these errors were encountered:
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.
Sometimes you want a property/method to be visible outside of a class in the same module but do not want it to be on the public interface outside their module.
For example:
The text was updated successfully, but these errors were encountered: