Skip to content

Update htmx.ajax type signature to make the element argument optional#2129

Merged
alexpetros merged 1 commit intobigskysoftware:devfrom
PizzasBear:patch-1
Jan 2, 2024
Merged

Update htmx.ajax type signature to make the element argument optional#2129
alexpetros merged 1 commit intobigskysoftware:devfrom
PizzasBear:patch-1

Conversation

@PizzasBear
Copy link
Copy Markdown
Contributor

I updated the type signature of htmx.ajax to allow the user to not provide a value to the element argument and just use the default documented value, body.

Signed-off-by: max <gmx.sht@gmail.com>
@PizzasBear PizzasBear changed the title Update htmx.ajax type signature to make element optional Update htmx.ajax type signature to make the element argument optional Dec 24, 2023
Copy link
Copy Markdown
Collaborator

@alexpetros alexpetros left a comment

Choose a reason for hiding this comment

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

Cool, looks good

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