Skip to content

Commit 9a1a7a4

Browse files
committed
typing for defineExtension should allow partials
1 parent 6296912 commit 9a1a7a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/htmx.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4881,7 +4881,7 @@ var htmx = (function() {
48814881
* @see https://htmx.org/api/#defineExtension
48824882
*
48834883
* @param {string} name the extension name
4884-
* @param {HtmxExtension} extension the extension definition
4884+
* @param {Partial<HtmxExtension>} extension the extension definition
48854885
*/
48864886
function defineExtension(name, extension) {
48874887
if (extension.init) {

0 commit comments

Comments
 (0)