From 48707e6bd55aa244697865a0d8feb0cfec764a4e Mon Sep 17 00:00:00 2001 From: Dave Nicolson Date: Sun, 22 Aug 2021 22:28:59 +0200 Subject: [PATCH] Add types to fix deprecation warning --- plugin.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin.js b/plugin.js index 407d3ee..ca79ccb 100644 --- a/plugin.js +++ b/plugin.js @@ -14,10 +14,12 @@ class MyPlugin { function: { usage: 'Name of the GraphQL function. Default: graphql', shortcut: 'f', + type: 'string', }, port: { usage: 'Port to listen on. Default: 8000', shortcut: 'p', + type: 'string', }, }, },