@types/nodemailer-stub-transport
TypeScript icon, indicating that this package has built-in type declarations

1.1.8 • Public • Published

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

Credits

These definitions were written by Cyril Schumacher.

/@types/nodemailer-stub-transport/

    Package Sidebar

    Install

    npm i @types/nodemailer-stub-transport

    Weekly Downloads

    604

    Version

    1.1.8

    License

    MIT

    Unpacked Size

    4.1 kB

    Total Files

    5

    Last publish

    Collaborators

    • types