-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Mapped types do not respect @public jsdoc #15
Comments
@chrisd08 expected output here is: "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var TestMappedClass = /** @class */ (function () {
function TestMappedClass() {
this._private_testMapped = {};
this._private_testMapped.a = {};
}
return TestMappedClass;
}()); am I right (don't rename |
@timocov Yes that's correct |
Fixed in 74ed470. If a mapped type is exported, you don't need to mark it as public now. But anyway, if a mapped type isn't exported, you can mark the whole type as public in this case (instead of indexer or property keys) (see added test cases for the reference). |
The fix is just published in 0.8.0 version. Let me know if you have any further issues. |
Mapped types do not appear to respect @public jsdoc
Results in
Note: I tried it using Record as well and it has the same issue
The text was updated successfully, but these errors were encountered: