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:
Igor Minar 2015-09-18 15:50:43 -07:00
parent 283415beab
commit dd9b3b4ed0
1 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,8 @@ DtsSerializer.prototype = {
},
member: function(buffer, ast) {
if (ast.private) return;
buffer.push('\n');
this.comment(buffer, ast.content);