From 1d2bf7f43fd420e7913a4603c17d7f3513bb71a3 Mon Sep 17 00:00:00 2001 From: Joao Moreno Date: Mon, 9 Jan 2017 09:58:57 +0100 Subject: [PATCH] fix compilation error --- extensions/git/src/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {