Skip to content

Commit 41d9c4f

Browse files
kbukumpvasek
authored andcommitted
* upgraded typescript version and fixed parsing comment problem.
1 parent df86762 commit 41d9c4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"react": "^15.4.2",
3535
"source-map-support": "^0.5.0",
3636
"tslint": "^5.9.1",
37-
"typescript": "^2.6.2"
37+
"typescript": "2.9.1"
3838
},
3939
"files": [
4040
"lib",

src/parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ class Parser {
361361
}
362362

363363
const mainComment = ts.displayPartsToString(
364-
symbol.getDocumentationComment()
364+
symbol.getDocumentationComment(this.checker)
365365
);
366366

367367
const tags = symbol.getJsDocTags() || [];

0 commit comments

Comments
 (0)