Skip to content

Commit 21317ff

Browse files
fix: import MailMessage in transport.ts for proper type usage
1 parent 715a0a4 commit 21317ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/transport.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { Transport } from "nodemailer";
2-
import MailMessage from "nodemailer/lib/mailer/mail-message";
32

43
import MailtrapClient from "./MailtrapClient";
54
import normalizeCallback from "./normalizer";
@@ -11,6 +10,7 @@ import {
1110
MailtrapResponse,
1211
MailtrapTransporter,
1312
NormalizeCallback,
13+
MailMessage,
1414
} from "../types/transport";
1515

1616
const { TRANSPORT_SETTINGS } = CONFIG;

0 commit comments

Comments
 (0)