From 3e348588ed6b91dcbb3b9280821abc5bb144b6cc Mon Sep 17 00:00:00 2001 From: coyoteecd <47973420+coyoteecd@users.noreply.github.com> Date: Thu, 24 Mar 2022 12:55:25 +0200 Subject: [PATCH] (fix) allow param values in slsw.lib.options (#1076) 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[] }; }; }