mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-17 17:25:51 -05:00
Enables typescript strict mode
Fixes all the compile/lint issues
This commit is contained in:
@@ -6,7 +6,7 @@ import { BuiltInCommands } from './constants';
|
||||
export class ActiveEditorTracker extends Disposable {
|
||||
|
||||
private _disposable: Disposable;
|
||||
private _resolver: (value?: TextEditor | PromiseLike<TextEditor>) => void;
|
||||
private _resolver: ((value?: TextEditor | PromiseLike<TextEditor>) => void) | undefined;
|
||||
|
||||
constructor() {
|
||||
super(() => this.dispose());
|
||||
@@ -28,11 +28,11 @@ export class ActiveEditorTracker extends Disposable {
|
||||
return this.wait(timeout);
|
||||
}
|
||||
|
||||
async close(): Promise<{}> {
|
||||
async close(): Promise<{} | undefined> {
|
||||
return commands.executeCommand(BuiltInCommands.CloseActiveEditor);
|
||||
}
|
||||
|
||||
async next(): Promise<{}> {
|
||||
async next(): Promise<{} | undefined> {
|
||||
return commands.executeCommand(BuiltInCommands.NextEditor);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user