Skip to content

Commit e4f4008

Browse files
Change HTMX preload JSX type to include boolean (#442)
* Change HTMX preload JSX type to include boolean Signed-off-by: Bart Louwers <[email protected]> * Create many-games-cover.md Signed-off-by: Arthur Fiorette <[email protected]> --------- Signed-off-by: Bart Louwers <[email protected]> Signed-off-by: Arthur Fiorette <[email protected]> Co-authored-by: Arthur Fiorette <[email protected]>
1 parent 2a31dd4 commit e4f4008

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/many-games-cover.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@kitajs/html": patch
3+
---
4+
5+
Change HTMX preload JSX type to include boolean

packages/html/htmx.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ declare namespace Htmx {
535535
*
536536
* @see https://htmx.org/extensions/preload/
537537
*/
538-
preload?: 'mousedown' | 'mouseover' | 'preload:init' | AnyStr;
538+
preload?: boolean | 'mousedown' | 'mouseover' | 'preload:init' | AnyStr;
539539

540540
/**
541541
* Enables preloading linked image resources.

0 commit comments

Comments
 (0)