Skip to content

Commit

Permalink
fix(types): re-export some stuff from path-scurry
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
boneskull committed Sep 22, 2023
1 parent d15c680 commit 0a09db8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,14 @@ export type {
export { hasMagic } from './has-magic.js'
export type { IgnoreLike } from './ignore.js'
export type { MatchStream } from './walker.js'
export type {
Path,
WalkOptionsWithFileTypesTrue,
WalkOptionsWithFileTypesUnset,
WalkOptions,
FSOption,
} from 'path-scurry'

/* c8 ignore stop */

export const glob = Object.assign(glob_, {
Expand Down

0 comments on commit 0a09db8

Please sign in to comment.