@types/serverless-jest-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.3.3 • Public • Published

Installation

npm install --save @types/serverless-jest-plugin

Summary

This package contains type definitions for serverless-jest-plugin (https://github.com/nordcloud/serverless-jest-plugin#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/serverless-jest-plugin.

index.d.ts

import Serverless = require("serverless");
import Plugin = require("serverless/classes/Plugin");
import lw = require("lambda-wrapper");
export = ServerlessJestPlugin;

declare class ServerlessJestPlugin implements Plugin {
    constructor(serverless: Serverless, options: Serverless.Options);

    hooks: Plugin.Hooks;
    commands: Plugin.Commands;
}

declare namespace ServerlessJestPlugin {
    function getWrapper(modName: string, modPath: string, handler: string): lw.Wrapped<any, any>;

    const lambdaWrapper: typeof lw;
}

Additional Details

Credits

These definitions were written by Gaelan Steele.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/serverless-jest-plugin

Weekly Downloads

1,597

Version

0.3.3

License

MIT

Unpacked Size

3.93 kB

Total Files

5

Last publish

Collaborators

  • types