@mega-yfue/eufy-sdk / ValueKind
Type Alias: ValueKind
ts
type ValueKind = KnownValueKind | string & object;A value kind — KnownValueKind, left open on purpose.
Adding a member to a closed union is a breaking change for every caller with an exhaustive switch; adding one to the open form is not. A caller maps the kinds it knows and falls through to a default for the rest, so a newly-modelled kind degrades to "shown raw" instead of failing to compile.