Skip to content

Commit 79bb9d2

Browse files
committed
fix: add missing type file
1 parent 23ae7ba commit 79bb9d2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

apps/web/types/zeptomail.d.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
declare module "zeptomail" {
2+
export class SendMailClient {
3+
constructor(config: { url: string; token: string });
4+
sendMail(options: {
5+
from: { address: string; name: string };
6+
to: Array<{ email_address: { address: string; name: string } }>;
7+
subject: string;
8+
htmlbody: string;
9+
textbody?: string;
10+
}): Promise<any>;
11+
}
12+
}

0 commit comments

Comments
 (0)