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
TypeScript only supports private members in ES classes, so for @private (and @ignore) members in objects we can either include them in .d.ts with a warning, or not include them at all. I am (mostly) supportive of option 2, but it also has several problems:
A public member's JSDoc may contains link to a private members
For users TS throws an error that "this member does not exist" instead of "it is private"
I believe this is a design decision, so discussion is required. cc @AnYiEE
The text was updated successfully, but these errors were encountered:
TypeScript only supports private members in ES classes, so for
@private
(and@ignore
) members in objects we can either include them in .d.ts with a warning, or not include them at all. I am (mostly) supportive of option 2, but it also has several problems:I believe this is a design decision, so discussion is required. cc @AnYiEE
The text was updated successfully, but these errors were encountered: