mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-06 12:32:12 -06:00
Swap q from a reference to an import
This commit is contained in:
parent
3e42733627
commit
4b5f7e51db
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user