Skip to content
Myr

awslambda.d.ts

This file

Path

src/adapter/aws-lambda/awslambda.d.ts

24 lines · 691 bytes · TypeScript

Last changed by

Not known.

History of this file

Take it

The walk stopped after 200 commits: lines older than 8addfd4 point at it.

chore: upgrading vitest to v1.0 (#1830)watanybefore adoption8addfd4

lines 1–24why, one step back
1// @denoify-ignore
2/* eslint-disable @typescript-eslint/no-explicit-any */34import type { LambdaContext, Handler } from './types'56declare global {7 namespace awslambda {8 // Note: Anticipated logic for AWS9 // https://github.com/aws/aws-lambda-nodejs-runtime-interface-client/blob/main/src/HttpResponseStream.js10 export class HttpResponseStream {11 static from(12 underlyingStream: NodeJS.WritableStream,13 prelude: Record<string, unknown>14 ): NodeJS.WritableStream15 }16 function streamifyResponse(17 f: (18 event: any,19 responseStream: NodeJS.WritableStream,20 context: LambdaContext21 ) => Promise<void>22 ): Handler23 }24}