UNPKG

serverless-webpack-layers

Version:

Plugin for the Serverless framework that offers AWS Lambda layer management using webpack

10 lines (9 loc) 524 B
/// <reference types="node" /> import Serverless from 'serverless'; import { Maybe, FunctionWithConfig } from './types'; import { ExecOptions } from 'child_process'; export declare const notEmpty: <TValue>(value: Maybe<TValue>) => value is TValue; export declare const isFunctionDefinition: (value: Serverless.FunctionDefinitionHandler | Serverless.FunctionDefinitionImage) => value is FunctionWithConfig; export declare const exec: (arg1: string, arg2: { encoding: 'buffer' | null; } & ExecOptions) => Promise<Buffer>;