From f6002506ac2ea4340ffed0afffcbf90af4343572 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Sun, 30 Jun 2024 14:01:54 +0200 Subject: [PATCH] Fix types Fixes #268 --- index.d.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/index.d.ts b/index.d.ts index feadca3..9552f86 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,7 +1,6 @@ -import type FastGlob from 'fast-glob'; // eslint-disable-line import/no-duplicates -import {type Options as FastGlobOptions, type Entry} from 'fast-glob'; // eslint-disable-line import/no-duplicates +import type FastGlob from 'fast-glob'; -export type GlobEntry = Entry; +export type GlobEntry = FastGlob.Entry; export type GlobTask = { readonly patterns: string[]; @@ -13,7 +12,7 @@ export type ExpandDirectoriesOption = | readonly string[] | {files?: readonly string[]; extensions?: readonly string[]}; -type FastGlobOptionsWithoutCwd = Omit; +type FastGlobOptionsWithoutCwd = Omit; export type Options = { /**