docs(typings): don't emit @private members during the d.ts generation
Some of our class/interface members are "package private". Typescript doesn't have this concept, so we need to hide them via the @private doc annotation. Closes #4262 Closes #4264
This commit is contained in:
parent
283415beab
commit
dd9b3b4ed0
@ -49,6 +49,8 @@ DtsSerializer.prototype = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
member: function(buffer, ast) {
|
member: function(buffer, ast) {
|
||||||
|
if (ast.private) return;
|
||||||
|
|
||||||
buffer.push('\n');
|
buffer.push('\n');
|
||||||
this.comment(buffer, ast.content);
|
this.comment(buffer, ast.content);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user