Skip to content

Commit 4b5f7e5

Browse files
committed
Swap q from a reference to an import
1 parent 3e42733 commit 4b5f7e5

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Gulpfile.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/// <reference path="scripts/types/ambient.d.ts" />
2-
/// <reference types="q" />
3-
42
import * as cp from "child_process";
53
import * as path from "path";
64
import * as fs from "fs";
@@ -20,6 +18,7 @@ declare module "gulp-typescript" {
2018
}
2119
import * as insert from "gulp-insert";
2220
import * as sourcemaps from "gulp-sourcemaps";
21+
import Q = require("q");
2322
declare global {
2423
// This is silly. We include Q because orchestrator (a part of gulp) depends on it, but its not included.
2524
// `del` further depends on `Promise` (and is also not included), so we just, patch the global scope's Promise to Q's

0 commit comments

Comments
 (0)