From 3b8da41e4b3b658bb3ca37e9d52a68bc45a2402c Mon Sep 17 00:00:00 2001 From: Dave Nicolson Date: Sun, 22 Aug 2021 19:53:20 +0200 Subject: [PATCH] Add types to fix deprecation warning --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 7efa7e8..ddd86ef 100644 --- a/src/index.js +++ b/src/index.js @@ -12,7 +12,7 @@ class ServerlessLocalDevServerPlugin { usage: 'Runs a local dev server for Alexa-Skill and HTTP functions', lifecycleEvents: [ 'loadEnvVars', 'start' ], options: { - port: { usage: 'Port to listen on', shortcut: 'p' } + port: { usage: 'Port to listen on', shortcut: 'p', type:'string' } } } }