Skip to content
This repository has been archived by the owner on Sep 2, 2020. It is now read-only.

Commit

Permalink
bump ts version
Browse files Browse the repository at this point in the history
  • Loading branch information
mistlog committed Jan 1, 2020
1 parent 917ba26 commit 6411bf9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -40,13 +40,13 @@
"prettier": "^1.18.2"
},
"devDependencies": {
"@types/node": "^12.7.11",
"@types/fs-extra": "^8.0.1",
"@types/jest": "^24.0.18",
"@types/node": "^12.7.11",
"@types/prettier": "^1.18.3",
"jest": "^24.9.0",
"ts-jest": "^24.0.2",
"ts-node": "^8.3.0",
"typescript": "^3.6.2"
"typescript": "^3.7.4"
}
}
4 changes: 1 addition & 3 deletions src/source-view.ts
Expand Up @@ -117,9 +117,7 @@ class SourceView

AddCommentsToDocument(comments: ReadonlyArray<Comment>)
{
comments && comments.
map(each => ({ value: each.value, start: each.start })).
forEach(each => this.AddToDocument(each.value, "markdown", each.start));
comments?.forEach(each => this.AddToDocument(each.value, "markdown", each.start));
}

NodeToString(node: Node)
Expand Down

0 comments on commit 6411bf9

Please sign in to comment.