From d7461c874b5fa40e166ac4efd1127049a7df0ca8 Mon Sep 17 00:00:00 2001 From: mihailik Date: Mon, 27 Feb 2017 08:39:01 +0000 Subject: [PATCH] Promise is a duplicate here - fails to build --- Gulpfile.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Gulpfile.ts b/Gulpfile.ts index 7e7f05fd9c4..633a1387ab6 100644 --- a/Gulpfile.ts +++ b/Gulpfile.ts @@ -21,10 +21,6 @@ declare module "gulp-typescript" { import * as insert from "gulp-insert"; import * as sourcemaps from "gulp-sourcemaps"; import Q = require("q"); -declare global { - // `del` further depends on `Promise` (and is also not included), so we just, patch the global scope's Promise to Q's (which we already include in our deps because gulp depends on it) - type Promise = Q.Promise; -} import del = require("del"); import mkdirP = require("mkdirp"); import minimist = require("minimist");