mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-11 11:50:54 +08:00
update soap definition
This commit is contained in:
Vendored
+5
-1
@@ -3,11 +3,15 @@
|
||||
// Definitions by: Nicole Wang <https://github.com/nicoleWjie>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference path='../node/node.d.ts' />
|
||||
|
||||
declare module 'soap' {
|
||||
import * as events from 'events';
|
||||
|
||||
class WSSecurity {
|
||||
constructor(username: string, password: string, options: any);
|
||||
}
|
||||
interface Client {
|
||||
interface Client extends events.EventEmitter {
|
||||
setSecurity(s: WSSecurity): void;
|
||||
[method: string]: (args: any, fn: (err: any, result: any) => void, options?: any) => void;
|
||||
addSoapHeader(headJSON: any): void;
|
||||
|
||||
Reference in New Issue
Block a user