Skip to content

Commit 8d9f488

Browse files
boneskullisaacs
authored andcommitted
fix(types): re-export some stuff from path-scurry
This re-exports types that are accessible via the `Path` objects sometimes returned by `glob`. Types within `path-scurry` consumed only by members tagged `@internal` are not re-exported. PR-URL: #553 Credit: @boneskull Close: #553 Reviewed-by: @isaacs
1 parent 7eca1f9 commit 8d9f488

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/index.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,14 @@ export type {
196196
export { hasMagic } from './has-magic.js'
197197
export type { IgnoreLike } from './ignore.js'
198198
export type { MatchStream } from './walker.js'
199+
export type {
200+
Path,
201+
WalkOptionsWithFileTypesTrue,
202+
WalkOptionsWithFileTypesUnset,
203+
WalkOptions,
204+
FSOption,
205+
} from 'path-scurry'
206+
199207
/* c8 ignore stop */
200208

201209
export const glob = Object.assign(glob_, {

0 commit comments

Comments
 (0)