diff --git a/atom/index.d.ts b/atom/index.d.ts
index fe243bf33b..14b735cb45 100644
--- a/atom/index.d.ts
+++ b/atom/index.d.ts
@@ -3,7 +3,7 @@
// Definitions by: vvakame
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-///
+///
///
///
///
diff --git a/business-rules-engine/Validation.d.ts b/business-rules-engine/Validation.d.ts
index 91efba146a..0dd8283dc2 100644
--- a/business-rules-engine/Validation.d.ts
+++ b/business-rules-engine/Validation.d.ts
@@ -3,7 +3,7 @@
// Definitions by: Roman Samec
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-///
+///
declare namespace Validation {
interface IErrorCustomMessage {
diff --git a/business-rules-engine/index.d.ts b/business-rules-engine/index.d.ts
index 197c4fd23f..cfba22ce66 100644
--- a/business-rules-engine/index.d.ts
+++ b/business-rules-engine/index.d.ts
@@ -4,7 +4,7 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Source: typings/business-rules-engine/Validation.d.ts
-///
+///
declare namespace Validation {
interface IErrorCustomMessage {
diff --git a/business-rules-engine/node-validators.d.ts b/business-rules-engine/node-validators.d.ts
index 715acbb243..73746eef92 100644
--- a/business-rules-engine/node-validators.d.ts
+++ b/business-rules-engine/node-validators.d.ts
@@ -3,13 +3,14 @@
// Definitions by: Roman Samec
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-///
+///
///
import Validation = require("business-rules-engine");
export as namespace Validators;
import * as moment from 'moment';
+import * as Q from 'q';
export class LettersOnlyValidator implements Validation.IStringValidator {
public isAcceptable(s: string): boolean;
diff --git a/cordova-plugin-app-version/index.d.ts b/cordova-plugin-app-version/index.d.ts
index 898159db76..f6783d8951 100644
--- a/cordova-plugin-app-version/index.d.ts
+++ b/cordova-plugin-app-version/index.d.ts
@@ -4,7 +4,7 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
///
-///
+///
interface Cordova {
getAppVersion: {
diff --git a/cordova-plugin-ibeacon/index.d.ts b/cordova-plugin-ibeacon/index.d.ts
index c6a69eed3b..8d9faf3a3b 100644
--- a/cordova-plugin-ibeacon/index.d.ts
+++ b/cordova-plugin-ibeacon/index.d.ts
@@ -3,7 +3,7 @@
// Definitions by: Markus Wagner
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-///
+///
interface CordovaPlugins {
locationManager: BeaconPlugin.LocationManager;
diff --git a/durandal/index.d.ts b/durandal/index.d.ts
index 72a4e7ecd0..d85c155043 100644
--- a/durandal/index.d.ts
+++ b/durandal/index.d.ts
@@ -17,7 +17,7 @@
// You might therefore want to use a different interface from a community typings file or your custom unified interface.
// When using f.ex. Q as Defer/Promise library replace the lines below with:
-//
+//
// interface DurandalPromise extends Q.Promise
// interface DurandalDeferred extends Q.Deferred
diff --git a/easy-api-request/index.d.ts b/easy-api-request/index.d.ts
index aa0afa27f5..b3c8dc7643 100644
--- a/easy-api-request/index.d.ts
+++ b/easy-api-request/index.d.ts
@@ -11,6 +11,7 @@ import http = require('http');
import request = require('request');
import bunyan = require('bunyan');
import express = require('express');
+import Q = require('q');
export declare function create(opts: {
name: any;
@@ -25,7 +26,6 @@ export declare function create(opts: {
};
}): void;
-import Q = require('q');
interface Result {
response: http.IncomingMessage;
body: any;
diff --git a/firebase-client/index.d.ts b/firebase-client/index.d.ts
index 0ffc672a4d..d2c58bb5ba 100644
--- a/firebase-client/index.d.ts
+++ b/firebase-client/index.d.ts
@@ -2,7 +2,8 @@
// Project: https://www.github.com/jpstevens/firebase-client
// Definitions by: Andrew Breen
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-///
+
+///
interface PushResponse {
/**
diff --git a/msportalfx-test/index.d.ts b/msportalfx-test/index.d.ts
index ff95d31110..a3fbc2d26f 100644
--- a/msportalfx-test/index.d.ts
+++ b/msportalfx-test/index.d.ts
@@ -5,6 +5,8 @@
///
+import * as Q from "q";
+
export = MsPortalTestFx;
declare namespace MsPortalTestFx {
diff --git a/node-form/index.d.ts b/node-form/index.d.ts
index 58f9ee5c21..41781ee154 100644
--- a/node-form/index.d.ts
+++ b/node-form/index.d.ts
@@ -3,7 +3,9 @@
// Definitions by: Roman Samec
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-///
+///
+
+import * as Q from "q";
export as namespace Validation;
diff --git a/node-persist/index.d.ts b/node-persist/index.d.ts
index 5d34750bc1..4e34b55554 100644
--- a/node-persist/index.d.ts
+++ b/node-persist/index.d.ts
@@ -4,7 +4,7 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
///
-///
+///
type milliseconds = number;
diff --git a/promise-pg/index.d.ts b/promise-pg/index.d.ts
index ede16f8276..5deba594a1 100644
--- a/promise-pg/index.d.ts
+++ b/promise-pg/index.d.ts
@@ -4,10 +4,11 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
///
-///
+///
import * as stream from 'stream';
import * as pg from 'pg';
+import * as Q from "q";
export {pg as raw};
diff --git a/q-retry/index.d.ts b/q-retry/index.d.ts
index c69c86c0d2..39d751dd6c 100644
--- a/q-retry/index.d.ts
+++ b/q-retry/index.d.ts
@@ -5,11 +5,11 @@
///
-import * as q from 'q';
+import * as Q from 'q';
export = Q;
-declare module 'Q' {
+declare module 'q' {
export interface IRetryOptions {
limit?: number;
interval?: number;
diff --git a/qajax/index.d.ts b/qajax/index.d.ts
index 31fa32d1f0..3476cb280e 100644
--- a/qajax/index.d.ts
+++ b/qajax/index.d.ts
@@ -3,7 +3,10 @@
// Definitions by: Boltmade
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-///
+///
+
+import * as Q from "q";
+
export = Qajax;
export as namespace Qajax;
diff --git a/text-buffer/index.d.ts b/text-buffer/index.d.ts
index eb5911680a..60207c7e80 100644
--- a/text-buffer/index.d.ts
+++ b/text-buffer/index.d.ts
@@ -5,8 +5,7 @@
///
///
-///
-
+///
declare namespace TextBuffer {
diff --git a/vso-node-api/index.d.ts b/vso-node-api/index.d.ts
index feaae462a6..866583d175 100644
--- a/vso-node-api/index.d.ts
+++ b/vso-node-api/index.d.ts
@@ -5,6 +5,7 @@
///
///
+
declare module 'vso-node-api/Serialization' {
/**
* Metadata for deserializing an enum field on a contract/type
@@ -153,7 +154,6 @@ declare module 'vso-node-api/interfaces/common/VsoBaseInterfaces' {
}
declare module 'vso-node-api/HttpClient' {
- ///
import http = require("http");
import ifm = require('vso-node-api/interfaces/common/VsoBaseInterfaces');
export class HttpClient implements ifm.IHttpClient {
@@ -172,7 +172,6 @@ declare module 'vso-node-api/HttpClient' {
}
declare module 'vso-node-api/RestClient' {
- ///
import ifm = require('vso-node-api/interfaces/common/VsoBaseInterfaces');
import Serialization = require('vso-node-api/Serialization');
export function processResponse(url: any, res: any, contents: any, serializationData: Serialization.SerializationData, onResult: any): void;
@@ -200,7 +199,6 @@ declare module 'vso-node-api/RestClient' {
}
declare module 'vso-node-api/VsoClient' {
- ///
import Q = require("q");
import restm = require('vso-node-api/RestClient');
import ifm = require('vso-node-api/interfaces/common/VsoBaseInterfaces');
@@ -2134,8 +2132,6 @@ declare module 'vso-node-api/interfaces/BuildInterfaces' {
}
declare module 'vso-node-api/BuildApi' {
- ///
- ///
import Q = require('q');
import basem = require('vso-node-api/ClientApiBases');
import VsoBaseInterfaces = require('vso-node-api/interfaces/common/VsoBaseInterfaces');
@@ -3331,8 +3327,6 @@ declare module 'vso-node-api/interfaces/common/OperationsInterfaces' {
}
declare module 'vso-node-api/CoreApi' {
- ///
- ///
import Q = require('q');
import basem = require('vso-node-api/ClientApiBases');
import VsoBaseInterfaces = require('vso-node-api/interfaces/common/VsoBaseInterfaces');
@@ -3774,8 +3768,6 @@ declare module 'vso-node-api/interfaces/FileContainerInterfaces' {
}
declare module 'vso-node-api/FileContainerApi' {
- ///
- ///
import Q = require('q');
import basem = require('vso-node-api/ClientApiBases');
import VsoBaseInterfaces = require('vso-node-api/interfaces/common/VsoBaseInterfaces');
@@ -4379,8 +4371,6 @@ declare module 'vso-node-api/interfaces/GalleryInterfaces' {
}
declare module 'vso-node-api/GalleryApi' {
- ///
- ///
import Q = require('q');
import basem = require('vso-node-api/ClientApiBases');
import VsoBaseInterfaces = require('vso-node-api/interfaces/common/VsoBaseInterfaces');
@@ -6062,8 +6052,6 @@ declare module 'vso-node-api/interfaces/GitInterfaces' {
}
declare module 'vso-node-api/GitApi' {
- ///
- ///
import Q = require('q');
import basem = require('vso-node-api/ClientApiBases');
import VsoBaseInterfaces = require('vso-node-api/interfaces/common/VsoBaseInterfaces');
@@ -7667,8 +7655,6 @@ declare module 'vso-node-api/interfaces/TaskAgentInterfaces' {
}
declare module 'vso-node-api/TaskAgentApi' {
- ///
- ///
import Q = require('q');
import basem = require('vso-node-api/ClientApiBases');
import VsoBaseInterfaces = require('vso-node-api/interfaces/common/VsoBaseInterfaces');
@@ -8126,8 +8112,6 @@ declare module 'vso-node-api/TaskAgentApi' {
}
declare module 'vso-node-api/TaskApi' {
- ///
- ///
import Q = require('q');
import basem = require('vso-node-api/ClientApiBases');
import VsoBaseInterfaces = require('vso-node-api/interfaces/common/VsoBaseInterfaces');
@@ -9563,8 +9547,6 @@ declare module 'vso-node-api/interfaces/TestInterfaces' {
}
declare module 'vso-node-api/TestApi' {
- ///
- ///
import Q = require('q');
import basem = require('vso-node-api/ClientApiBases');
import VsoBaseInterfaces = require('vso-node-api/interfaces/common/VsoBaseInterfaces');
@@ -11693,8 +11675,6 @@ declare module 'vso-node-api/interfaces/TfvcInterfaces' {
}
declare module 'vso-node-api/TfvcApi' {
- ///
- ///
import Q = require('q');
import basem = require('vso-node-api/ClientApiBases');
import VsoBaseInterfaces = require('vso-node-api/interfaces/common/VsoBaseInterfaces');
@@ -12674,8 +12654,6 @@ declare module 'vso-node-api/interfaces/WorkItemTrackingInterfaces' {
}
declare module 'vso-node-api/WorkItemTrackingApi' {
- ///
- ///
import Q = require('q');
import basem = require('vso-node-api/ClientApiBases');
import VsoBaseInterfaces = require('vso-node-api/interfaces/common/VsoBaseInterfaces');
@@ -13349,7 +13327,6 @@ declare module 'vso-node-api/WorkItemTrackingApi' {
}
declare module 'vso-node-api/handlers/apiversion' {
- ///
import VsoBaseInterfaces = require('vso-node-api/interfaces/common/VsoBaseInterfaces');
export class ApiVersionHandler implements VsoBaseInterfaces.IRequestHandler {
apiVersion: string;
@@ -13359,7 +13336,6 @@ declare module 'vso-node-api/handlers/apiversion' {
}
declare module 'vso-node-api/handlers/basiccreds' {
- ///
import VsoBaseInterfaces = require('vso-node-api/interfaces/common/VsoBaseInterfaces');
export class BasicCredentialHandler implements VsoBaseInterfaces.IRequestHandler {
username: string;
@@ -13370,7 +13346,6 @@ declare module 'vso-node-api/handlers/basiccreds' {
}
declare module 'vso-node-api/handlers/bearertoken' {
- ///
import VsoBaseInterfaces = require('vso-node-api/interfaces/common/VsoBaseInterfaces');
export class BearerCredentialHandler implements VsoBaseInterfaces.IRequestHandler {
token: string;