diff --git a/README.md b/README.md index 7a669845..5a7d40c5 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ The `page` methods do not fit every use case. If you find yourself retrieving mu ```javascript // Iterate over all payments. -for await (let payment in mollieClient.payments.iterate()) { +for await (const payment of mollieClient.payments.iterate()) { // (Use break to end the loop prematurely.) } ``` diff --git a/src/createMollieClient.ts b/src/createMollieClient.ts index 3671bdd4..376f2786 100644 --- a/src/createMollieClient.ts +++ b/src/createMollieClient.ts @@ -188,7 +188,7 @@ export { createMollieClient }; export { ApiMode, Locale, PaymentMethod, HistoricPaymentMethod, SequenceType } from './data/global'; export { CaptureEmbed } from './data/payments/captures/data'; -export { type MandateDetails, type MandateDetailsCreditCard, type MandateDetailsDirectDebit, MandateMethod, MandateStatus } from './data/customers/mandates/data'; +export { MandateMethod, MandateStatus } from './data/customers/mandates/data'; export { MethodImageSize, MethodInclude } from './data/methods/data'; export { OrderEmbed, OrderStatus } from './data/orders/data'; export { OrderLineType } from './data/orders/orderlines/OrderLine';