Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
Fixes #268
  • Loading branch information
sindresorhus committed Jun 30, 2024
1 parent b0d7330 commit f600250
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -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[];
Expand All @@ -13,7 +12,7 @@ export type ExpandDirectoriesOption =
| readonly string[]
| {files?: readonly string[]; extensions?: readonly string[]};

type FastGlobOptionsWithoutCwd = Omit<FastGlobOptions, 'cwd'>;
type FastGlobOptionsWithoutCwd = Omit<FastGlob.Options, 'cwd'>;

export type Options = {
/**
Expand Down

0 comments on commit f600250

Please sign in to comment.