({ props }: VNode)
| 1041 | } |
| 1042 | |
| 1043 | function isMismatchAllowedByVNode({ props }: VNode): boolean { |
| 1044 | const allowedAttr = props && props[allowMismatchAttr] |
| 1045 | return ( |
| 1046 | typeof allowedAttr === 'string' && |
| 1047 | isMismatchAllowedByAttr(allowedAttr, MismatchTypes.CHILDREN) |
| 1048 | ) |
| 1049 | } |
no test coverage detected