import type { FunctionComponent, JSX } from 'preact' import type { Contact } from './src/contact.ts' export type Mail = { from: Contact to: Contact[] subject: string body: JSX.Element options: { cc: Contact[] cci: Contact[] attachments: string[] } } export type Template< T extends FunctionComponent
,
P extends Record