mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 03:54:24 +01:00
Remove any cast for completion items now that we've picked up TS 2.7
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user