We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6805a60 commit 7c6e6c9Copy full SHA for 7c6e6c9
packages/connect-react/src/utils/component.ts
@@ -31,8 +31,9 @@ export function valuesFromOptions<T>(value: unknown | T[] | PropOptions<T>): T[]
31
const emitValue = so.emitValue as T | PropOptionValue<T>
32
if (typeof emitValue === "object" && emitValue && "__lv" in emitValue) {
33
results.push(emitValue.__lv.value)
34
+ } else {
35
+ results.push(emitValue as T)
36
}
- results.push(emitValue as T)
37
} else {
38
throw "unexpected value"
39
0 commit comments