Package: effect Module: Types
effect
Types
Conditional type that returns void if S is an empty object type, otherwise returns S.
void
S
Signature
type VoidIfEmpty<S> = keyof S extends never ? void : S
Source
Since v3.19.20