refactor: deno lint fix slow-type-missing-explicit-return-type

This commit is contained in:
Julien Oculi 2024-07-15 14:27:53 +02:00
parent 54ceae3e71
commit cbb26e87ce
3 changed files with 4 additions and 3 deletions

View file

@ -28,7 +28,7 @@ function MagicLink(
ip?: string
endpoint: string
},
) {
): JSX.Element {
return (
<Html lang='fr' style={{ fontSize: '14px' }}>
<BaseStyle />

View file

@ -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 (
<Html lang='fr' style={{ fontSize: '14px' }}>
<BaseStyle />

View file

@ -29,7 +29,7 @@ function Welcome(
login: string
endpoint?: string
},
) {
): JSX.Element {
return (
<Html lang='fr' style={{ fontSize: '14px' }}>
<BaseStyle />