Function semVerString

Source
Expand description

Type constructors.

semVerString(value: string): `${number}.${number}.${number}${string}`

Validate and brand a string as a SemVerString.

throws

if the input does not match major.minor.patch[-pre][+build].