diff --git a/src/jsx.d.ts b/src/jsx.d.ts index d1dfdae..f22fb06 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -164,6 +164,7 @@ interface HtmxBuiltinExtensions { * Alternative attribute variants recognized by htmx. */ type HtmxData = { + /** @ignore */ [K in keyof T as K extends `hx-${string}` ? `data-${K}` : never]: T[K] }