Skip to content

Commit 7d83b6d

Browse files
committed
Fix defaultIgnore type for fast-glob
1 parent 7efdb7d commit 7d83b6d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

registry/lib/globs.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,9 @@ declare type GlobOptions = Remap<
144144
}
145145
>
146146
declare const Globs: {
147-
defaultIgnore: readonly string[]
147+
// defaultIgnore: readonly string[] makes 'fast-glob' types grumpy because
148+
// they expect defaultIgnore: string[].
149+
defaultIgnore: string[]
148150
getGlobMatcher: (
149151
glob: string | string[] | readonly string[],
150152
options?: object | undefined

0 commit comments

Comments
 (0)