Skip to content

Commit

Permalink
Remove undefined from type assertion.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielRosenwasser authored Aug 21, 2021
1 parent 10a18f9 commit 6101d34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/harness/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ namespace ts.server {

return response.body!.map(item => ({ // TODO: GH#18217
...item,
kind: item.kind as InlayHintKind | undefined,
kind: item.kind as InlayHintKind,
position: this.lineOffsetToPosition(file, item.position),
}));
}
Expand Down

0 comments on commit 6101d34

Please sign in to comment.