diff --git a/templates/MagicLink.tsx b/templates/MagicLink.tsx
index 1a4f5b4..4da51d4 100644
--- a/templates/MagicLink.tsx
+++ b/templates/MagicLink.tsx
@@ -28,7 +28,7 @@ function MagicLink(
ip?: string
endpoint: string
},
-) {
+): JSX.Element {
return (
diff --git a/templates/Message.tsx b/templates/Message.tsx
index 1ec8350..b1eb948 100644
--- a/templates/Message.tsx
+++ b/templates/Message.tsx
@@ -2,10 +2,11 @@ import { Body, Container, Html, Markdown, Preview } from 'jsx-email'
import { Signature } from './components/Signature.tsx'
import type { Template } from '../types.ts'
import { BaseStyle, bodyCss, messageCss, textCss } from './styles/base.tsx'
+import type { JSX } from 'preact'
function Message(
{ summary, body }: { summary?: string; body: string },
-) {
+): JSX.Element {
return (
diff --git a/templates/Welcome.tsx b/templates/Welcome.tsx
index 698616a..b6dc749 100644
--- a/templates/Welcome.tsx
+++ b/templates/Welcome.tsx
@@ -29,7 +29,7 @@ function Welcome(
login: string
endpoint?: string
},
-) {
+): JSX.Element {
return (