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

Remove any cast for completion items now that we've picked up TS 2.7

上级 eacad2d5
......@@ -53,7 +53,7 @@ class MyCompletionItem extends CompletionItem {
this.range = tsTextSpanToVsRange(tsEntry.replacementSpan);
}
if (typeof (tsEntry as any).insertText === 'string') {
if (typeof tsEntry.insertText === 'string') {
this.insertText = (tsEntry as any).insertText as string;
if (tsEntry.replacementSpan) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册