From 714c2a48dff5d9bdc0c75332f6e5bd4124a79002 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aliaksei=20Kuncevi=C4=8D?= Date: Sat, 10 Dec 2016 08:50:14 +1100 Subject: [PATCH] fix: TSError: ? Unable to compile TypeScript when running 'gulp:build' (#2132) --- tools/gulp/tasks/release.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gulp/tasks/release.ts b/tools/gulp/tasks/release.ts index 8738235b066..542d4eaebac 100644 --- a/tools/gulp/tasks/release.ts +++ b/tools/gulp/tasks/release.ts @@ -34,7 +34,7 @@ task(':publish:whoami', execTask('npm', ['whoami'], { task(':publish:logout', execTask('npm', ['logout'])); -function _execNpmPublish(label: string): Promise { +function _execNpmPublish(label: string): Promise<{}> { const packageDir = DIST_COMPONENTS_ROOT; if (!statSync(packageDir).isDirectory()) { return;