Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

Hide internal methods and properties with jsdoc #15

Open
RAnders00 opened this issue Aug 16, 2019 · 1 comment
Open

Hide internal methods and properties with jsdoc #15

RAnders00 opened this issue Aug 16, 2019 · 1 comment
Labels
documentation enhancement New feature or request

Comments

@RAnders00
Copy link
Contributor

tsconfig.json, under compilerOptions:

"stripInternal": true,

And add comments like these:

/**
 * @internal
 */
@RAnders00 RAnders00 added documentation enhancement New feature or request labels Oct 10, 2020
@RAnders00
Copy link
Contributor Author

Alternatively: When I made this package I was lazy and pretty much exported everything. It would be a lot nicer if internal methods weren't exported at all.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant