La referencia de la API está disponible solo en inglés por ahora.

WithGlob<T extends string>

type
types.ts:1122

Allow wildcard patterns like "*" and "**" anywhere in the string.

Definition

type
type WithGlob<T extends string> = T | `${string}*${string}`

T | `${string}*${string}`

Type parameters

NameTypeDescription
Textends stringBase string type.