mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-20 01:35:36 -05:00
Switches to use GitUris
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
// import { debounce as _debounce } from 'lodash';
|
||||
const _debounce = require('lodash.debounce');
|
||||
const _once = require('lodash.once');
|
||||
|
||||
export interface IDeferred {
|
||||
cancel(): void;
|
||||
@@ -11,4 +11,8 @@ export namespace Functions {
|
||||
export function debounce<T extends Function>(fn: T, wait?: number, options?: any): T & IDeferred {
|
||||
return _debounce(fn, wait, options);
|
||||
}
|
||||
|
||||
export function once<T extends Function>(fn: T): T {
|
||||
return _once(fn);
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user