From bc7ea4a8d971858c8ca0407fa574637e0d1d21f9 Mon Sep 17 00:00:00 2001 From: Paul Garner Date: Fri, 22 Nov 2024 10:03:42 +0000 Subject: [PATCH] typing for `defineExtension` should allow partials (#3030) --- src/htmx.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/htmx.js b/src/htmx.js index 7792941d3..64e0afa08 100644 --- a/src/htmx.js +++ b/src/htmx.js @@ -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} extension the extension definition */ function defineExtension(name, extension) { if (extension.init) {