(owner: Readonly<Solid.Component>)
| 167 | } |
| 168 | |
| 169 | export function getComponentRefreshNode(owner: Readonly<Solid.Component>): Solid.Memo | null { |
| 170 | const {owned} = owner |
| 171 | let refresh: Solid.Owner |
| 172 | if (owned && owned.length === 1 && markOwnerType((refresh = owned[0]!)) === NodeType.Refresh) { |
| 173 | return refresh as Solid.Memo |
| 174 | } |
| 175 | return null |
| 176 | } |
| 177 | |
| 178 | |
| 179 | export function resolveElements(value: unknown): HTMLElement[] | null { |
no test coverage detected
searching dependent graphs…