Swap q from a reference to an import

This commit is contained in:
Wesley Wigham 2016-07-07 10:16:29 -07:00
parent 3e42733627
commit 4b5f7e51db
No known key found for this signature in database
GPG Key ID: D59F87F60C5400C9

View File

@ -1,6 +1,4 @@
/// <reference path="scripts/types/ambient.d.ts" />
/// <reference types="q" />
import * as cp from "child_process";
import * as path from "path";
import * as fs from "fs";
@ -20,6 +18,7 @@ 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