Closed Save92 closed 5 years ago
Create Cloudant service with the vcap_services
I think the vcapServiceName is missing in the cloudant Configuration parameters, so in TypeScript it's crashing
Agreed, only the vcapInstanceName and vcapServices are currently listed in the TypeScript defs. @smithsz can you roll this into #359 along with the other broken TS things.
vcapInstanceName
vcapServices
Fixed in #369.
Bug Description
1. Steps to reproduce and the simplest code sample possible to demonstrate the issue
2. What you expected to happen
Create Cloudant service with the vcap_services
3. What actually happened
Argument of type '{ vcapServiceName: string; vcapServices: any; }' is not assignable to parameter of type 'string | Configuration'.
I think the vcapServiceName is missing in the cloudant Configuration parameters, so in TypeScript it's crashing
Environment details