mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 04:43:37 -05:00
Swap q from a reference to an import
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user