浏览代码

fix scope

Martin Aeschlimann 4 年之前
父节点
当前提交
3f845fdad1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/languageFeatures.ts

+ 1 - 1
src/languageFeatures.ts

@@ -157,7 +157,7 @@ function toTextEdit(textEdit: htmlService.TextEdit): editor.ISingleEditOperation
 	};
 	};
 }
 }
 
 
-function toCommand(c: cssService.Command | undefined): languages.Command {
+function toCommand(c: htmlService.Command | undefined): languages.Command {
 	return c && c.command === 'editor.action.triggerSuggest' ? { id: c.command, title: c.title, arguments: c.arguments } : undefined
 	return c && c.command === 'editor.action.triggerSuggest' ? { id: c.command, title: c.title, arguments: c.arguments } : undefined
 }
 }