Update soap.d.ts

update soap.d.ts. use interfaces to replace class for Security.
This commit is contained in:
sam
2016-06-23 10:18:31 +08:00
committed by GitHub
parent ff880ddac3
commit 350b4790f4
+3 -3
View File
@@ -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 {