1
0
mirror of https://github.com/eleith/emailjs.git synced 2024-07-07 12:40:37 +00:00

chore: fix comment

This commit is contained in:
Zack Schuster 2020-06-08 21:53:48 -07:00
parent 19bda25f67
commit a03ec43bb4

View File

@ -525,7 +525,7 @@ class MessageStream extends Stream {
output_message(boundary, this.message.attachments, 0, close);
} else {
output_alternative(
// typescript bug; should narrow to { alternative: AlternateMessageAttachment }
// typescript bug; should narrow to { alternative: MessageAttachment }
this.message as Parameters<typeof output_alternative>[0],
() => output_message(boundary, this.message.attachments, 0, close)
);