(a: unknown, b: unknown)
| 170 | } |
| 171 | |
| 172 | function transitionSpecEqual(a: unknown, b: unknown): boolean { |
| 173 | if (a === b) return true; |
| 174 | if (a === undefined || b === undefined) return false; |
| 175 | if (typeof a !== "object" || typeof b !== "object" || a === null || b === null) return false; |
| 176 | const ao = a as { duration?: unknown; easing?: unknown; properties?: unknown }; |
| 177 | const bo = b as typeof ao; |
| 178 | return ( |
| 179 | ao.duration === bo.duration && |
| 180 | ao.easing === bo.easing && |
| 181 | transitionPropertiesEqual(ao.properties, bo.properties) |
| 182 | ); |
| 183 | } |
| 184 | |
| 185 | function layoutConstraintsEqual(a: unknown, b: unknown): boolean { |
| 186 | if (a === b) return true; |
no test coverage detected