feat: Convert all app files to JS

This commit is contained in:
Faruk AYDIN
2024-01-05 17:44:21 +01:00
parent b95478b635
commit 43dba351c3
1030 changed files with 5114 additions and 6436 deletions

View File

@@ -1,7 +1,6 @@
import { IGlobalVariable } from '@automatisch/types';
import nodemailer, { TransportOptions } from 'nodemailer';
import nodemailer from 'nodemailer';
const transporter = ($: IGlobalVariable) => {
const transporter = ($) => {
return nodemailer.createTransport({
host: $.auth.data.host,
port: $.auth.data.port,
@@ -10,7 +9,7 @@ const transporter = ($: IGlobalVariable) => {
user: $.auth.data.username,
pass: $.auth.data.password,
},
} as TransportOptions);
});
};
export default transporter;