diff --git a/Gulpfile.ts b/Gulpfile.ts
index 3f9b2a66caa69..6f63fc23587a3 100644
--- a/Gulpfile.ts
+++ b/Gulpfile.ts
@@ -1,6 +1,4 @@
///
-///
-
import * as cp from "child_process";
import * as path from "path";
import * as fs from "fs";
@@ -20,9 +18,9 @@ declare module "gulp-typescript" {
}
import * as insert from "gulp-insert";
import * as sourcemaps from "gulp-sourcemaps";
+import Q = require("q");
declare global {
- // This is silly. We include Q because orchestrator (a part of gulp) depends on it, but its not included.
- // `del` further depends on `Promise` (and is also not included), so we just, patch the global scope's Promise to Q's
+ // `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");