From 5fa190e011d86e4b66c7d92fbadd22c486402aba Mon Sep 17 00:00:00 2001 From: coyoteecd Date: Tue, 22 Feb 2022 18:02:44 +0200 Subject: [PATCH] (fix) allow param values in slsw.lib.options The newly added param value is typed as a string array, see https://github.com/serverless/serverless/issues/9817 --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index a8fc3cc8e..dc97cc7d3 100644 --- a/index.d.ts +++ b/index.d.ts @@ -9,6 +9,6 @@ declare module 'serverless-webpack' { entries: { [name: string]: string | string[]; }; - options: { [name: string]: string | boolean | number }; + options: { [name: string]: string | boolean | number } & { param?: string[] }; }; }