From ba161ad5ce34e68b053f37e887ba3fddd9ffa36a Mon Sep 17 00:00:00 2001 From: teppeis Date: Fri, 3 Jan 2020 01:37:06 +0900 Subject: [PATCH] TypeScript definition improvements for expandDirectories --- index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index 434931d..abec630 100644 --- a/index.d.ts +++ b/index.d.ts @@ -4,8 +4,8 @@ import {Options as FastGlobOptions} from 'fast-glob'; declare namespace globby { type ExpandDirectoriesOption = | boolean - | ReadonlyArray - | {files: readonly string[]; extensions: readonly string[]}; + | readonly string[] + | {files?: readonly string[]; extensions?: readonly string[]}; interface GlobbyOptions extends FastGlobOptions { /**