From 7cf9e9022a2e90d681ca822ee6b9555357eb16e9 Mon Sep 17 00:00:00 2001 From: Andrew Gerard Date: Wed, 23 Oct 2024 13:04:03 -0700 Subject: [PATCH] chore: ts-ignore descriptions --- packages/gasket-plugin-https/lib/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}`;