( props: (Data & VNodeProps) | null, )
| 645 | } |
| 646 | |
| 647 | export function guardReactiveProps( |
| 648 | props: (Data & VNodeProps) | null, |
| 649 | ): (Data & VNodeProps) | null { |
| 650 | if (!props) return null |
| 651 | return isProxy(props) || isInternalObject(props) ? extend({}, props) : props |
| 652 | } |
| 653 | |
| 654 | export function cloneVNode<T, U>( |
| 655 | vnode: VNode<T, U>, |
no test coverage detected