-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MessageAttachment Typescript Type #254
Comments
@wyattjoh thanks for your feedback! i'm glad the types are useful for you :) i went over the as a bonus, i was also able to merge it with you can review these changes from the following commit:
@eleith would you like to ship this now or after #252 is done? are you ok with it being |
let's do it after #252 if you think we can get this in this week? |
yes, that's doable |
Thank you for the fast response!! 👏 |
@wyattjoh as of |
Your examples show the following:
Yet the typescript type for the
MessageAttachment
does not allow that, causing you to do the following in your tests:emailjs/test/message.ts
Lines 166 to 169 in 0781d02
It's amazing that this project exports typescript types, but it would be helpful to correct this type so that you don't have this complexity of having to type cast the attachment.
The text was updated successfully, but these errors were encountered: