The @internal doc flag recognised by tsc should be an alias for @hidden
See original GitHub issueThe @internal
flag is used by tsc --stripInternal
to exclude a particular property from a generated declaration file. If you’re producing a documented library with public methods for consumption this is basically the same as the @hidden
flag you’ll want to use in your typedoc.
It would be great if I could just use @internal
and have it work on both my .d.ts
and typedoc output.
I realise PRs are needed to make progress on typedoc at the moment but I thought I’d put this up as an issue in case anybody has any better ideas!
Issue Analytics
- State:
- Created 7 years ago
- Reactions:7
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Unable to import svg files in typescript - Stack Overflow
js file I'm able to import it without any issues with exact the same import statement. I suppose it has something to do...
Read more >Follow-up Audit of the Terrorist Screening Center - DOJ OIG
Additionally, the TSC's redress reviews have identified that the database contains records for individuals that should not be watchlisted and that some ...
Read more >Options - TypeDoc
All command line arguments that are passed in without a flag will be parsed as input files. Any options passed on the command...
Read more >concurrently - npm
Note The concurrently command is now also available under the shorthand alias conc . The tool is written in Node.js, but you can...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
TypeDoc doesn’t produce declaration files, so I don’t think it’s a TypeDoc issue.
The TypeScript compiler options page doesn’t list all options, nor does
tsc --help
. If you want to see all options (which does list--stripInternal
) you have to runtsc --help --all
I wrote a plugin for my project which allows me to mark specific code as
@internal
or@external
.https://github.com/christopherthielen/typedoc-plugin-internal-external
The plugin also allows you to specify aliases for each annotation.
https://github.com/christopherthielen/typedoc-plugin-internal-external#annotation-aliases