( props: FormKitPseudoProps )
| 2375 | } |
| 2376 | |
| 2377 | function toPropsObj( |
| 2378 | props: FormKitPseudoProps |
| 2379 | ): Record<PropertyKey, FormKitPseudoProp> { |
| 2380 | return !Array.isArray(props) |
| 2381 | ? props |
| 2382 | : props.reduce((props, prop) => { |
| 2383 | props[prop] = {} |
| 2384 | return props |
| 2385 | }, {} as Record<PropertyKey, FormKitPseudoProp>) |
| 2386 | } |
| 2387 | |
| 2388 | function mergeProps( |
| 2389 | props: FormKitPseudoProps, |
no outgoing calls
no test coverage detected