Skip to main content
function globSync
globSync(pattern: string | string[]): string[]
Deprecated

Retrieves the files matching the specified pattern.

Parameters

pattern: string | string[]

Return Type

string[]
globSync(
pattern: string | string[],
): Dirent[]
Deprecated

Parameters

pattern: string | string[]

Return Type

globSync(
pattern: string | string[],
): string[]
Deprecated

Parameters

pattern: string | string[]

Return Type

string[]
globSync(
pattern: string | string[],
options: GlobOptions,
): Dirent[] | string[]
Deprecated

Parameters

pattern: string | string[]
options: GlobOptions

Return Type

Dirent[] | string[]
Back to top