Annotate more usage before assign strict null errors

This commit is contained in:
Matt Bierner
2019-02-19 14:11:29 -08:00
parent e9a1cea1fd
commit 7e759cf3c8
8 changed files with 16 additions and 16 deletions

View File

@@ -233,7 +233,7 @@ function convertFromCommentThread(commentThread: modes.CommentThread): vscode.Co
}
function convertFromComment(comment: modes.Comment): vscode.Comment {
let userIconPath: URI;
let userIconPath: URI | undefined;
if (comment.userIconPath) {
try {
userIconPath = URI.parse(comment.userIconPath);