Skip to content

Commit 6101d34

Browse files
Remove undefined from type assertion.
1 parent 10a18f9 commit 6101d34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/harness/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ namespace ts.server {
653653

654654
return response.body!.map(item => ({ // TODO: GH#18217
655655
...item,
656-
kind: item.kind as InlayHintKind | undefined,
656+
kind: item.kind as InlayHintKind,
657657
position: this.lineOffsetToPosition(file, item.position),
658658
}));
659659
}

0 commit comments

Comments
 (0)