瀏覽代碼

Updates to require vscode 1.19

main
Eric Amodio 7 年之前
父節點
當前提交
b89b0d86e9
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      package.json
  2. +1
    -1
      src/activeEditorTracker.ts

+ 1
- 1
package.json 查看文件

@ -7,7 +7,7 @@
},
"publisher": "eamodio",
"engines": {
"vscode": "^1.18.0"
"vscode": "^1.19.0"
},
"license": "SEE LICENSE IN LICENSE",
"displayName": "Git Lens \u2014 git blame annotations, code lens, and more",

+ 1
- 1
src/activeEditorTracker.ts 查看文件

@ -12,7 +12,7 @@ export class ActiveEditorTracker extends Disposable {
constructor() {
super(() => this.dispose());
const fn = Functions.debounce((e: TextEditor) => this._resolver && this._resolver(e), 50);
const fn = Functions.debounce((e: TextEditor | undefined) => this._resolver && this._resolver(e), 50);
this._disposable = window.onDidChangeActiveTextEditor(fn);
}

Loading…
取消
儲存