mangopay2-nodejs-sdk icon indicating copy to clipboard operation
mangopay2-nodejs-sdk copied to clipboard

Update typings for BankingAliases.getAll

Open Tug opened this issue 1 year ago • 1 comments

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

Tug avatar Mar 08 '23 18:03 Tug

I am running into the same issue currently. Applying the fix @Tug suggested locally inside node_modules fixes the issue.

david-kovacs-techmates avatar Nov 09 '23 09:11 david-kovacs-techmates