mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 13:46:13 +00:00
Remove old cast
Not needed with TS 4.4
This commit is contained in:
parent
b2142b93e0
commit
f944203712
|
@ -10,9 +10,4 @@ declare module 'typescript/lib/protocol' {
|
|||
interface Response {
|
||||
readonly _serverType?: ServerType;
|
||||
}
|
||||
|
||||
interface JSDocLinkDisplayPart {
|
||||
target: Proto.FileSpan;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -167,8 +167,7 @@ function convertLinkTags(
|
|||
case 'linkName':
|
||||
if (currentLink) {
|
||||
currentLink.name = part.text;
|
||||
// TODO: remove cast once we pick up TS 4.3
|
||||
currentLink.target = (part as any as Proto.JSDocLinkDisplayPart).target;
|
||||
currentLink.target = (part as Proto.JSDocLinkDisplayPart).target;
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue