(prev: unknown, next: unknown)
| 222 | } |
| 223 | |
| 224 | export function compositePropsEqual(prev: unknown, next: unknown): boolean { |
| 225 | if (Object.is(prev, next)) return true; |
| 226 | if (typeof prev !== "object" || prev === null) return false; |
| 227 | if (typeof next !== "object" || next === null) return false; |
| 228 | return shallowRecordEqual( |
| 229 | prev as Readonly<Record<string, unknown>>, |
| 230 | next as Readonly<Record<string, unknown>>, |
| 231 | ); |
| 232 | } |
| 233 | |
| 234 | export function evaluateAppStateSelections( |
| 235 | selections: readonly AppStateSelection[], |
no test coverage detected