Skip to content

globSync

globSync(this, pattern): string[]

Defined in: src/node/sync.ts:806

Retrieves the files matching the specified pattern.

unknown

string | readonly string[]

string[]

globSync(this, pattern, options): Dirent<string>[]

Defined in: src/node/sync.ts:807

Retrieves the files matching the specified pattern.

unknown

string | readonly string[]

GlobOptionsWithFileTypes

Dirent<string>[]

globSync(this, pattern, options): string[]

Defined in: src/node/sync.ts:808

Retrieves the files matching the specified pattern.

unknown

string | readonly string[]

GlobOptionsWithoutFileTypes

string[]

globSync(this, pattern, options): string[] | Dirent<string>[]

Defined in: src/node/sync.ts:809

Retrieves the files matching the specified pattern.

unknown

string | readonly string[]

GlobOptions

string[] | Dirent<string>[]