From 350b4790f442aaf916c2fcbacc75cc50aa628339 Mon Sep 17 00:00:00 2001 From: sam <362625119@qq.com> Date: Thu, 23 Jun 2016 10:18:31 +0800 Subject: [PATCH] Update soap.d.ts update soap.d.ts. use interfaces to replace class for Security. --- soap/soap.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/soap/soap.d.ts b/soap/soap.d.ts index ce501e9e7a..6fcd1b703f 100644 --- a/soap/soap.d.ts +++ b/soap/soap.d.ts @@ -8,12 +8,12 @@ declare module 'soap' { import * as events from 'events'; - class Security { + interface Security { } - class WSSecurity extends Security { + class WSSecurity implements Security { constructor(username: string, password: string, options: any); } - class ClientSSLSecurity extends Security { + class ClientSSLSecurity implements Security { constructor(key: string, cert: string, ca: string, defaults: any); } interface Client extends events.EventEmitter {