-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Mark publicly-visible internal properties as @internal #5768
Comments
Out of curiosity I had a look at the api-extractor tool. I noticed one limitation that could limit its use within the rxjs project:
Further explanation can be fount at the documentation and in the feature request microsoft/rushstack#664 It is possible to do an API Explorer rollup pass per entry point, but for example the |
FWIW: They should also be renamed to have an |
I'd actually prefer that we just |
For context, I'd like the |
I think it would be fine to use The warning in the docs is about the fact that you can create a situation where you mark things as internal that might be needed in another place, that you haven't marked as internal. Example: function foo(bar: Bar) {
console.log(bar);
}
/* @internal */
class Bar() {
} In this case |
Also: There are |
Closed by #6215 |
We should mark all publicly-visible properties - e.g. there are a whole bunch in
Subject
- as@internal
- in the JSDoc - so that it's clear they should not be used.Note that we cannot use TypeScript's
stripInternal
compiler option:However, we could look at using another tool to remove them:
Also, the types that are used solely for driving return value inference should be marked as
@internal
, too. Even though we're exporting the, I think we should reserve the right to modify their implementations or rename them, etc.The text was updated successfully, but these errors were encountered: