@@ -5,7 +5,7 @@ import { ts, SyntaxKind } from 'ts-morph';
55import { getNamesCompareFn , mergeTagsAndArgs , markedtags } from '../../../../../utils/utils' ;
66import { kindToType } from '../../../../../utils/kind-to-type' ;
77import { JsdocParserUtil } from '../../../../../utils/jsdoc-parser.util' ;
8- import { isIgnore } from '../../../../../utils' ;
8+ import { isIgnoreOrInternal } from '../../../../../utils' ;
99import AngularVersionUtil from '../../../../..//utils/angular-version.util' ;
1010import BasicTypeUtil from '../../../../../utils/basic-type.util' ;
1111import { StringifyObjectLiteralExpression } from '../../../../../utils/object-literal-expression.util' ;
@@ -478,7 +478,7 @@ export class ClassHelper {
478478 const comment = this . jsdocParserUtil . getMainCommentOfNode ( classDeclaration , sourceFile ) ;
479479 rawdescription = this . jsdocParserUtil . parseComment ( comment ) ;
480480 description = marked ( rawdescription ) ;
481- if ( symbol . valueDeclaration && isIgnore ( symbol . valueDeclaration ) ) {
481+ if ( symbol . valueDeclaration && isIgnoreOrInternal ( symbol . valueDeclaration ) ) {
482482 return [ { ignore : true } ] ;
483483 }
484484 if ( symbol . declarations && symbol . declarations . length > 0 ) {
@@ -493,7 +493,7 @@ export class ClassHelper {
493493 deprecated = deprecation . deprecated ;
494494 deprecationMessage = deprecation . deprecationMessage ;
495495 }
496- if ( isIgnore ( symbol . declarations [ 0 ] ) ) {
496+ if ( isIgnoreOrInternal ( symbol . declarations [ 0 ] ) ) {
497497 return [ { ignore : true } ] ;
498498 }
499499 }
@@ -721,7 +721,7 @@ export class ClassHelper {
721721
722722 kind = member . kind ;
723723
724- if ( isIgnore ( member ) ) {
724+ if ( isIgnoreOrInternal ( member ) ) {
725725 continue ;
726726 }
727727
@@ -1215,7 +1215,11 @@ export class ClassHelper {
12151215 let i = 0 ;
12161216 let len = constr . parameters . length ;
12171217 for ( i ; i < len ; i ++ ) {
1218- if ( this . isPublic ( constr . parameters [ i ] ) ) {
1218+ const parameterOfConstructor = constr . parameters [ i ] ;
1219+ if ( isIgnoreOrInternal ( parameterOfConstructor ) ) {
1220+ continue ;
1221+ }
1222+ if ( this . isPublic ( parameterOfConstructor ) ) {
12191223 _parameters . push ( this . visitProperty ( constr . parameters [ i ] , sourceFile ) ) ;
12201224 }
12211225 }
0 commit comments