(value: string | null)
| 310 | }; |
| 311 | |
| 312 | const parseDimensionPx = (value: string | null): string | null => { |
| 313 | if (value == null || value.trim() === "") return null; |
| 314 | const parsed = Number.parseFloat(value); |
| 315 | if (!Number.isFinite(parsed) || parsed <= 0) return null; |
| 316 | return `${parsed}px`; |
| 317 | }; |
| 318 | |
| 319 | const resolveRootCompositionElement = (): HTMLElement | null => findRootCompositionEl(); |
| 320 |
no outgoing calls
no test coverage detected