Closed uxkjaer closed 2 years ago
Thank you @uxkjaer. Would you mind to move the fix here, so that type definitions will be automatically generated in future releases as well: https://github.com/SAP/node-rfc/blob/main/src/ts/wrapper/sapnwrfc-client.ts#L170
Thank you @uxkjaer. Would you mind to move the fix here, so that type definitions will be automatically generated in future releases as well: https://github.com/SAP/node-rfc/blob/main/src/ts/wrapper/sapnwrfc-client.ts#L170
Hi @bsrdjan I've reverted the original fix and pushed it into the proposed spot. Thanks
Hi @bsrdjan,
I've downloaded node-rfc
version 2.5.1 and running in the exact same problem.
Typescript is complaining, that the other 125 properties are missing when only defining DEST
. I looked in the sapnwrfc-client.ts
file and noticed, that it is not defined partial
.
Am I using a wrong version?
It is a bug, will be fixed in next release.
not all parameters for connection is needed. By adding partial, we won't get errors in typescript.
Fix #243