11 lines
307 B
TypeScript
11 lines
307 B
TypeScript
import { HandleNodemailerParam } from "../../backend/handleNodemailer";
|
|
type Param = {
|
|
email?: string;
|
|
welcomeEmailOptions?: HandleNodemailerParam;
|
|
};
|
|
export default function validateEmail({ email, welcomeEmailOptions, }: Param): Promise<{
|
|
isValid: boolean;
|
|
message?: string;
|
|
}>;
|
|
export {};
|