From ce3ba76150f9a06c1e1444783247eb2575a7475f Mon Sep 17 00:00:00 2001 From: Tiger Oakes Date: Tue, 4 May 2021 20:25:25 +0000 Subject: [PATCH] fix: Convert typings to .d.ts files --- src/function/{context.ts => context.d.ts} | 0 src/function/{event.ts => event.d.ts} | 0 src/function/{handler.ts => handler.d.ts} | 0 src/function/{index.ts => index.d.ts} | 0 src/function/{response.ts => response.d.ts} | 2 +- src/lib/{builder.ts => builder.d.ts} | 0 6 files changed, 1 insertion(+), 1 deletion(-) rename src/function/{context.ts => context.d.ts} (100%) rename src/function/{event.ts => event.d.ts} (100%) rename src/function/{handler.ts => handler.d.ts} (100%) rename src/function/{index.ts => index.d.ts} (100%) rename src/function/{response.ts => response.d.ts} (74%) rename src/lib/{builder.ts => builder.d.ts} (100%) diff --git a/src/function/context.ts b/src/function/context.d.ts similarity index 100% rename from src/function/context.ts rename to src/function/context.d.ts diff --git a/src/function/event.ts b/src/function/event.d.ts similarity index 100% rename from src/function/event.ts rename to src/function/event.d.ts diff --git a/src/function/handler.ts b/src/function/handler.d.ts similarity index 100% rename from src/function/handler.ts rename to src/function/handler.d.ts diff --git a/src/function/index.ts b/src/function/index.d.ts similarity index 100% rename from src/function/index.ts rename to src/function/index.d.ts diff --git a/src/function/response.ts b/src/function/response.d.ts similarity index 74% rename from src/function/response.ts rename to src/function/response.d.ts index d6f2fb11..e05cd6b0 100644 --- a/src/function/response.ts +++ b/src/function/response.d.ts @@ -4,7 +4,7 @@ export interface Response { [header: string]: boolean | number | string } multiValueHeaders?: { - [header: string]: Array + [header: string]: ReadonlyArray } body: string isBase64Encoded?: boolean diff --git a/src/lib/builder.ts b/src/lib/builder.d.ts similarity index 100% rename from src/lib/builder.ts rename to src/lib/builder.d.ts