Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fs/expand_glob.ts
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ export async function* expandGlob(
export function* expandGlobSync(
glob: string | URL,
options?: ExpandGlobOptions,
): IterableIterator<WalkEntry> {
): Generator<WalkEntry, void, undefined> {
let {
root,
exclude = [],
Expand Down Expand Up @@ -473,7 +473,7 @@ export function* expandGlobSync(
function* advanceMatch(
walkInfo: WalkEntry,
globSegment: string,
): IterableIterator<WalkEntry> {
): Generator<WalkEntry, void, undefined> {
if (!walkInfo.isDirectory) {
return;
} else if (globSegment === "..") {
Expand Down
2 changes: 1 addition & 1 deletion fs/walk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ export async function* walk(
export function* walkSync(
root: string | URL,
options?: WalkOptions,
): IterableIterator<WalkEntry> {
): Generator<WalkEntry, void, undefined> {
let {
maxDepth = Infinity,
includeFiles = true,
Expand Down
Loading