diff --git a/packages/gasket-plugin-https/lib/index.js b/packages/gasket-plugin-https/lib/index.js index d83ba534b..722dd228c 100644 --- a/packages/gasket-plugin-https/lib/index.js +++ b/packages/gasket-plugin-https/lib/index.js @@ -177,7 +177,7 @@ async function startServer(gasket) { } = serverOpts; if (_http) { - // @ts-ignore + // @ts-ignore - http may not be an object, but we account for that let _port = (typeof _http === 'number' ? _http : _http.port) ?? ''; if (_port) _port = `:${_port}`; @@ -185,7 +185,7 @@ async function startServer(gasket) { } if (_https || _http2) { - // @ts-ignore + // @ts-ignore - http2 may be an array, but we account for that let _port = (_https ?? _http2).port ?? ''; if (_port) _port = `:${_port}`;