From 35ff70a2a3dd885453fc3cdaebdb8a2a52aab0d0 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 9 Aug 2021 10:40:59 +0200 Subject: [PATCH] Fix types to make `cwd` optional --- lib/options.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/options.js b/lib/options.js index b745b71..83c4d35 100644 --- a/lib/options.js +++ b/lib/options.js @@ -5,7 +5,6 @@ * @typedef {Required< * Pick< * EngineOptions, - * | 'cwd' * | 'extensions' * | 'ignoreName' * | 'packageField' @@ -23,7 +22,7 @@ * @property {string} version * Version (semver) of executable * - * @typedef {RequiredEngineOptions & ArgsOptionsFields} Options + * @typedef {RequiredEngineOptions & Pick & ArgsOptionsFields} Options */ import table from 'text-table'