mangopay2-nodejs-sdk
mangopay2-nodejs-sdk copied to clipboard
Update typings for BankingAliases.getAll
Seems like types for this method signature are not up to date:
https://github.com/Mangopay/mangopay2-nodejs-sdk/blob/master/typings/services/BankingAliases.d.ts#L27
Should be something like: MethodOverload<string, bankingAlias.IBANBankingAliasData[]>
I believe. That string
param type is the walletId
according to the documentation at https://docs.mangopay.com/endpoints/v2.01/banking-aliases#e858_view-the-banking-alias-for-a-wallet
I am running into the same issue currently. Applying the fix @Tug suggested locally inside node_modules
fixes the issue.