From 5593636b1fe02efa915780b4a1dc67a32e03309b Mon Sep 17 00:00:00 2001 From: Linko Date: Mon, 4 Sep 2023 18:15:45 +0200 Subject: [PATCH] updated "direct" type on index.d.ts added type "number" --- lib/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.d.ts b/lib/index.d.ts index 4113039..fc0538b 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -81,7 +81,7 @@ export interface InitOpts { /** * Look for direct dependencies only */ - direct?: boolean | undefined; + direct?: boolean | number | undefined; /** * Colorize output */