Skip to content
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

Export more types #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Export more types #12

wants to merge 1 commit into from

Conversation

ArtskydJ
Copy link
Contributor

Now would be a good time to rename this stuff, if we wanted.

type MessageResponse = { message_id: string, md5_of_body: string }
export type MessageResponse = { message_id: string, md5_of_body: string }

export type SendMessageOptions = undefined | { delay_seconds?: number, message_attribute?: Attributes }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems weird

Suggested change
export type SendMessageOptions = undefined | { delay_seconds?: number, message_attribute?: Attributes }
export type SendMessageOptions = { delay_seconds?: number, message_attribute?: Attributes }

I think the optional argument in the send_message signature is sufficient?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants