Docs (4.0.0)
class Binding type

type ValidPathString

A type that’s used to check binding path strings.

static

type ValidPathString<S> = S extends `${string}${" " | "%" | "(" | ")" | "[" | "]" | "{" | "}" | "|" | "&" | "," | "?"}${string}` ? "Error: Invalid character in binding path" : S extends string ? S : "Error: Invalid argument"

Related