Our great sponsors
-
typescript-eslint
:sparkles: Monorepo for all the tooling which enables ESLint to support TypeScript
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Do you mean this mailer which was last updated 10 years ago? I'd have to assume there's a similar library that was updated a bit more recently which would be better and have typescript definitions. Maybe nodemailer?
I'd say converting a project to TypeScript is always a huge task. To use TypeScript most effectively, you need to be very strict. Both with the strict: true compiler flag but also with the typescript-eslint plugin. You get the most value out of using TypeScript when you have really precise types which take time to get right, especially when you are first learning. It's easy to give yourself a false sense of security in your code as a result of writing bad/incorrect types. So I recommend enabling all of the strict rules and linter rules before you get started as they'll help put guard rails in for most of the things you shouldn't do.
Related posts
- How do you send yourself an email from a contact form?
- Setting up an auto-email micro function for Firebase RTDB
- Can't start Foundry VTT under Windows 7
- nodemailer/nodemailer: ✉️ Send e-mails with Node.JS – easy as cake!
- Sending Emails with Ease: A Step-by-Step Guide to Using Nodemailer with TypeScript in Next.js