Estás leyendo la documentación de 0.9. La versión más reciente es 0.10. Leer esta página en 0.10 →
La referencia de la API está disponible solo en inglés por ahora.

WithGlob<T extends string>

type
types.ts:1710

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.