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 committed 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
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.