Function githubRepo

Source
Expand description

Type constructors.

githubRepo(value: string): `${string}/${string}`

Validate and brand a string as a GitHubRepo.

throws

if the input is not in owner/repo format.