From d06524515d1194afff1edc453f79d5faa9cc010e Mon Sep 17 00:00:00 2001 From: olshansky Date: Fri, 26 Oct 2018 19:29:21 +0300 Subject: [PATCH] [@types/paypal-rest-sdk] fix related_resources type According to https://developer.paypal.com/docs/api/payments/v1/#definition-transaction --- types/paypal-rest-sdk/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/paypal-rest-sdk/index.d.ts b/types/paypal-rest-sdk/index.d.ts index 414c3fa0f5..d6457fc981 100644 --- a/types/paypal-rest-sdk/index.d.ts +++ b/types/paypal-rest-sdk/index.d.ts @@ -162,7 +162,7 @@ export interface Transaction { }; notify_url?: string; order_url?: string; - readonly related_resources?: RelatedResources; + readonly related_resources?: RelatedResources[]; } export interface Payee {