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.

PR-URL: #553
Credit: @boneskull
Close: #553
Reviewed-by: @isaacs
  • Loading branch information
boneskull authored and isaacs committed Sep 23, 2023
1 parent 7eca1f9 commit 8d9f488
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 8d9f488

Please sign in to comment.