From 313f69ca7b546787e8a665eaa8e30e96194d16f6 Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Fri, 29 Mar 2024 16:13:21 +0100 Subject: [PATCH] chore: remove unused file --- src/format.ts | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 src/format.ts diff --git a/src/format.ts b/src/format.ts deleted file mode 100644 index 339b5de..0000000 --- a/src/format.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { Mail, Options } from '../types.ts' -import { Contact } from './contact.ts' - -export function format( - from: Contact, - to: Contact[], - subject: string, - body: string, - options: Partial, -): Mail { - const defaultOptions: Options = { - from, - cc: [], - cci: [], - attachments: [], - } - - return { - to, - subject, - body, - options: { ...defaultOptions, ...options }, - } -}