1.1.8 • Published 6 months ago

@types/nodemailer-stub-transport v1.1.8

Weekly downloads
518
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for nodemailer-stub-transport v1.1.0
// Project: https://github.com/andris9/nodemailer-stub-transport
// Definitions by: Cyril Schumacher <https://github.com/cyrilschumacher>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

import * as nodemailer from "nodemailer";

declare namespace StubTransportStatic {
    /**
     * Options.
     * @interface
     */
    export interface Options {
        /**
         * Specifies a custom error.
         * @type {any}
         */
        error?: any;

        /**
         * Value that indicates if the BCC addresses must be included in generated message.
         * @type {boolean}
         */
        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: Thu, 08 Jul 2021 18:51:36 GMT
  • Dependencies: @types/nodemailer
  • Global values: none

Credits

These definitions were written by Cyril Schumacher.

1.1.8

6 months ago

1.1.7

7 months ago

1.1.6

1 year ago

1.1.5

3 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

8 years ago

1.1.1

8 years ago