提交 f953906c 编写于 作者: M Matt Bierner

Remove un-needed any cast

上级 3b66ce30
......@@ -112,7 +112,7 @@ export abstract class TypeScriptBaseCodeLensProvider implements vscode.CodeLensP
// TS 3.0+ provides a span for just the symbol
if (item.nameSpan) {
return typeConverters.Range.fromTextSpan((item as any).nameSpan);
return typeConverters.Range.fromTextSpan(item.nameSpan);
}
// In older versions, we have to calculate this manually. See #23924
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册