Skip to content

Commit

Permalink
typing for defineExtension should allow partials (#3030)
Browse files Browse the repository at this point in the history
  • Loading branch information
anentropic authored Nov 22, 2024
1 parent 6296912 commit bc7ea4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/htmx.js
Original file line number Diff line number Diff line change
Expand Up @@ -4881,7 +4881,7 @@ var htmx = (function() {
* @see https://htmx.org/api/#defineExtension
*
* @param {string} name the extension name
* @param {HtmxExtension} extension the extension definition
* @param {Partial<HtmxExtension>} extension the extension definition
*/
function defineExtension(name, extension) {
if (extension.init) {
Expand Down

0 comments on commit bc7ea4a

Please sign in to comment.