WithGlob<T extends string>
typeAllow wildcard patterns like "*" and "**" anywhere in the string.
Definition
type
type WithGlob<T extends string> = T | `${string}*${string}`T | `${string}*${string}`
Type parameters
| Name | Type | Description |
|---|---|---|
T | extends string | Base string type. |