Files
agent-claw/cdk/node_modules/aws-cdk-lib/aws-lambda/lib/util.d.ts
2026-05-06 18:55:16 -05:00

14 lines
558 B
TypeScript

import type { Construct } from 'constructs';
import type { AliasOptions } from './alias';
import { Alias } from './alias';
import type { IVersion } from './lambda-version';
export declare function addAlias(scope: Construct, version: IVersion, aliasName: string, options?: AliasOptions): Alias;
/**
* Map a function over an array and concatenate the results
*/
export declare function flatMap<T, U>(xs: T[], fn: ((x: T, i: number) => U[])): U[];
/**
* Flatten a list of lists into a list of elements
*/
export declare function flatten<T>(xs: T[][]): T[];