Skip to content

Commit

Permalink
fix(app): handle ; after function in class
Browse files Browse the repository at this point in the history
fix #12
  • Loading branch information
vogloblinsky committed Nov 11, 2016
1 parent 69a52d7 commit eb7c7e1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/app/compiler/dependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,12 @@ export class Dependencies {
/**
* Copyright https://github.com/ng-bootstrap/ng-bootstrap
*/
const jsDoc = ts.displayPartsToString(member.symbol.getDocumentationComment());
let comment = [];
console.log(member.symbol)
if (member.symbol) {
comment = member.symbol.getDocumentationComment();
}
const jsDoc = ts.displayPartsToString(comment);
return jsDoc.trim().length === 0 || jsDoc.indexOf('@internal') > -1;
}

Expand Down

0 comments on commit eb7c7e1

Please sign in to comment.