mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-24 17:24:53 -05:00
Fixes issues with annotation character settings
Fixes #29 - Commit info tooltip duplicated for current line when blame is enabled Improves performance of navigating line when active line annotations & statusbar blame are enabled
This commit is contained in:
@@ -4,11 +4,11 @@ const _once = require('lodash.once');
|
||||
|
||||
export interface IDeferred {
|
||||
cancel(): void;
|
||||
flush(): void;
|
||||
flush(...args: any[]): void;
|
||||
}
|
||||
|
||||
export namespace Functions {
|
||||
export function debounce<T extends Function>(fn: T, wait?: number, options?: any): T & IDeferred {
|
||||
export function debounce<T extends Function>(fn: T, wait?: number, options?: { leading?: boolean, maxWait?: number, trailing?: boolean }): T & IDeferred {
|
||||
return _debounce(fn, wait, options);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user