diff --git a/extensions/git/src/util.ts b/extensions/git/src/util.ts index e691c7a7e0a..ac63edf1b5e 100644 --- a/extensions/git/src/util.ts +++ b/extensions/git/src/util.ts @@ -41,7 +41,7 @@ export function anyEvent(...events: Event[]): Event { } export function done(promise: Promise): Promise { - return promise.then(() => null, () => null); + return promise.then(() => void 0, () => void 0); } export function throttle(fn: () => Promise): () => Promise {