Installation
npm install --save @types/nodemailer-stub-transport
Summary
This package contains type definitions for nodemailer-stub-transport (https://github.com/andris9/nodemailer-stub-transport).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nodemailer-stub-transport.
index.d.ts
import * as nodemailer from "nodemailer";
declare namespace StubTransportStatic {
/**
* Options.
* @interface
*/
export interface Options {
/**
* Specifies a custom error.
*/
error?: any;
/**
* Value that indicates if the BCC addresses must be included in generated message.
*/
keepBcc?: boolean | undefined;
}
}
/**
* Creates a stub transport.
* @param {Options} [options] Options.
* @return {Transport} The stub transport.
*/
declare function stubTransport(options?: StubTransportStatic.Options): nodemailer.Transport;
export = stubTransport;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/nodemailer
Credits
These definitions were written by Cyril Schumacher.