-
-
Notifications
You must be signed in to change notification settings - Fork 737
Support @private for modules #62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This has a lot of implications. Is everything inside a private module private? Also a class with public properties? We actually already have this problem as a class can now be marked as private. So what would you think of a |
That would be great. |
I've added the |
Is it possible to hide parameters, that are only created with class Example {
/***
* Name Param - this will be hidden without a problem...
* @hidden
*/
private name:string;
/***
* @param name
* @param age - how to hide this param?
*/
constructor(private name:string, private age:number){}
... In the example above, how can I hide the |
No, sorry there is no way to hide this member. |
@sebastian-lenz can you add the |
Would it be possible to support the @Private or similar annoation also for modules? I do have the case where some utility functionality should only be accessible from my own code, but of course to be able to access it from outside I have to exported them but do not want to show them in the docu.
Current workaround is to mark all the exposed functionality with @Private, but this is tedious and the module itself still shows up.
The text was updated successfully, but these errors were encountered: