未验证 提交 7fc43999 编写于 作者: N Niklas Mollenhauer 提交者: GitHub

Change Hover#range to be optional

The docs of `Hover#range` state:

> When missing, the editor will use the range at the current position or the current position itself.

This implies that the `range` field should be optional as it can be missing.
上级 c66b54a1
......@@ -230,7 +230,7 @@ export interface Hover {
* editor will use the range at the current position or the
* current position itself.
*/
range: IRange;
range?: IRange;
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册