-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Hey guys 👋
In v2.5.0, it is not possible to do the following anymore:
import { TransactionalSMSApi } from '@getbrevo/brevo';
const smsApi = new TransactionalSMSApi();
await smsApi.sendTransacSms({
sender: "some-sender",
recipient: "some-recipient",
content: "some-content",
tag: "some-tag", // 👈 yields type error: Type 'string' has no properties in common with type 'SendTransacSmsTag'.
})👉 Minimal Repro repository here 👈
The documentation mentions that tag can be a string, but the type declarations disagrees with that.
A comment in the SendTransacSmsTag says A tag can be a string or an array of strings.. But typescript also fails when I use an array of strings.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels