From f8f5aef4ed9bc702eeeb832233d2a03ff20b60d0 Mon Sep 17 00:00:00 2001 From: waiting Date: Mon, 11 Dec 2017 10:50:47 -0600 Subject: [PATCH] types: add Client.wsdl for accessing client.wsdl during soap.createClient() (#990) --- lib/soap.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/soap.d.ts b/lib/soap.d.ts index 7d7c2d428..11e75c05d 100644 --- a/lib/soap.d.ts +++ b/lib/soap.d.ts @@ -133,7 +133,8 @@ export class Client extends EventEmitter { setEndpoint(endpoint: string): void; setSOAPAction(action: string): void; setSecurity(security: ISecurity): void; - [method: string]: ISoapMethod | Function; + wsdl: WSDL; + [method: string]: ISoapMethod | WSDL | Function; } export function createClient(url: string, callback: (err: any, client: Client) => void): void;