diff --git a/src/types/htmx.d.ts b/src/types/htmx.d.ts index 39a9c58..8faaae3 100644 --- a/src/types/htmx.d.ts +++ b/src/types/htmx.d.ts @@ -46,11 +46,11 @@ type PatchRoutes = RoutesByType; declare namespace JSX { interface HtmlTag extends Htmx.Attributes { - ["hx-get"]?: StartsWithApi | (string & {}); - ["hx-post"]?: StartsWithApi | (string & {}); - ["hx-put"]?: StartsWithApi | (string & {}); - ["hx-delete"]?: StartsWithApi | (string & {}); - ["hx-patch"]?: StartsWithApi | (string & {}); + ["hx-get"]?: StartsWithApi; + ["hx-post"]?: StartsWithApi; + ["hx-put"]?: StartsWithApi; + ["hx-delete"]?: StartsWithApi; + ["hx-patch"]?: StartsWithApi; _?: string; } }