lula / ngx-soap

Simple SOAP client for Angular
MIT License
66 stars 61 forks source link

Property 'subscribe' does not exist on type 'Promise<Client>'.ts(2339) #40

Open Franweb79 opened 5 years ago

Franweb79 commented 5 years ago

Hi there

Why do I obtain that error when I try to use

  `  this.soap.createClient('assets/calculator.wsdl').subscribe(client => this.client = client);`

Thanks

KaisNeffati commented 5 years ago

The same issue

KaisNeffati commented 5 years ago

I think they forget to change the Readme page , i've just changed .subscribe to then( client => on promise client and it works

lula commented 5 years ago

Hello guys! @KaisNeffati is right: readme should be updated. Sorry for that.

Arashatami commented 5 years ago

Update Please