mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
Remove old cast
Not needed with TS 4.4
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user