mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-25 01:25:41 -05:00
Enables typescript strict mode
Fixes all the compile/lint issues
This commit is contained in:
@@ -59,7 +59,6 @@ export const CommandContext = {
|
||||
Key: 'gitlens:key' as CommandContext
|
||||
};
|
||||
|
||||
|
||||
export function setCommandContext(key: CommandContext | string, value: any) {
|
||||
return commands.executeCommand(BuiltInCommands.SetContext, key, value);
|
||||
}
|
||||
@@ -119,7 +118,7 @@ export abstract class ActiveEditorCommand extends Command {
|
||||
abstract execute(editor: TextEditor, ...args: any[]): any;
|
||||
}
|
||||
|
||||
let lastCommand: { command: string, args: any[] } = undefined;
|
||||
let lastCommand: { command: string, args: any[] } | undefined = undefined;
|
||||
export function getLastCommand() {
|
||||
return lastCommand;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user