diff --git a/types.ts b/types.ts index 89dad7a..e595357 100644 --- a/types.ts +++ b/types.ts @@ -1,16 +1,14 @@ import type { JSX } from 'preact' import { Contact } from './src/contact.ts' -export type Options = { - cc: Contact[] - cci: Contact[] - attachments: string[] -} - export type Mail = { from: Contact to: Contact[] subject: string body: JSX.Element - options: Options + options: { + cc: Contact[] + cci: Contact[] + attachments: string[] + } }