puristajs/purista

feat: Prevent Empty string in addresses

Closed this issue · 0 comments

Prevent addresses to contain invalid empty service name, service version or service target by:

type NonEmptyString<T extends string> = '' extends T ? never : T;