WIP: MORE LINT FIXES

This commit is contained in:
Andy Hanson
2016-11-28 11:24:05 -08:00
parent dca5006287
commit 03b7e31b60
4 changed files with 12 additions and 12 deletions
+5 -5
View File
@@ -100,7 +100,7 @@ declare module "amqplib" {
import events = require("events");
import when = require("when");
import shared = require("amqplib/properties")
import shared = require("amqplib/properties");
export import Replies = shared.Replies;
export import Options = shared.Options;
export import Message = shared.Message;
@@ -156,7 +156,7 @@ declare module "amqplib" {
declare module "amqplib/callback_api" {
import events = require("events");
import shared = require("amqplib/properties")
import shared = require("amqplib/properties");
export import Replies = shared.Replies;
export import Options = shared.Options;
export import Message = shared.Message;
@@ -170,11 +170,11 @@ declare module "amqplib/callback_api" {
interface Channel extends events.EventEmitter {
close(callback: (err: any) => void): void;
assertQueue(queue?: string, options?: Options.AssertQueue, callback?: (err:any, ok: Replies.AssertQueue) => void): void;
assertQueue(queue?: string, options?: Options.AssertQueue, callback?: (err: any, ok: Replies.AssertQueue) => void): void;
checkQueue(queue: string, callback?: (err: any, ok: Replies.AssertQueue) => void): void;
deleteQueue(queue: string, options?: Options.DeleteQueue, callback?: (err:any, ok: Replies.DeleteQueue) => void): void;
purgeQueue(queue: string, callback?: (err:any, ok: Replies.PurgeQueue) => void): void;
deleteQueue(queue: string, options?: Options.DeleteQueue, callback?: (err: any, ok: Replies.DeleteQueue) => void): void;
purgeQueue(queue: string, callback?: (err: any, ok: Replies.PurgeQueue) => void): void;
bindQueue(queue: string, source: string, pattern: string, args?: any, callback?: (err: any, ok: Replies.Empty) => void): void;
unbindQueue(queue: string, source: string, pattern: string, args?: any, callback?: (err: any, ok: Replies.Empty) => void): void;
+2 -2
View File
@@ -60,8 +60,8 @@ declare module 'amqplib' {
}
export interface ConfirmChannel extends Channel {
publish(exchange:string, routingKey:string, content:Buffer, options?:Options.Publish, callback?:(err:any, ok:Replies.Empty) => void):boolean;
sendToQueue(queue:string, content:Buffer, options?:Options.Publish, callback?:(err:any, ok:Replies.Empty) => void):boolean;
publish(exchange: string, routingKey: string, content: Buffer, options?: Options.Publish, callback?: (err: any, ok: Replies.Empty) => void): boolean;
sendToQueue(queue: string, content: Buffer, options?: Options.Publish, callback?: (err: any, ok: Replies.Empty) => void): boolean;
waitForConfirms(): Promise<void>;
}
+4 -4
View File
@@ -26,7 +26,7 @@ declare namespace dat {
remove(controller: GUIController): void;
destroy(): void;
addFolder(propName:string): GUI;
addFolder(propName: string): GUI;
open(): void;
close(): void;
@@ -36,8 +36,8 @@ declare namespace dat {
getSaveObject(): Object;
save(): void;
saveAs(presetName:string): void;
revert(gui:GUI): void;
saveAs(presetName: string): void;
revert(gui: GUI): void;
listen(controller: GUIController): void;
updateDisplay(): void;
@@ -84,7 +84,7 @@ declare namespace dat {
fire(): GUIController;
// augmentController in dat/gui/GUI.js
options(option:any):GUIController;
options(option: any): GUIController;
name(s: string): GUIController;
listen(): GUIController;
remove(): GUIController;
+1 -1
View File
@@ -2496,7 +2496,7 @@ declare namespace webdriver {
* @param {ControlFlow=} opt_flow The control flow
* this instance was created under. Defaults to the currently active flow.
*/
constructor(resolver: (resolve: IFulfilledCallback<T>, reject: IRejectedCallback)=>void, opt_flow?: ControlFlow);
constructor(resolver: (resolve: IFulfilledCallback<T>, reject: IRejectedCallback) => void, opt_flow?: ControlFlow);
//region Methods