-
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.
Metadata
Metadata
Assignees
Labels
No labels