(rect: Rect | undefined)
| 251 | } |
| 252 | |
| 253 | function isValidRect(rect: Rect | undefined): rect is Rect { |
| 254 | return !!rect && rect.width > 0 && rect.height > 0; |
| 255 | } |
| 256 | |
| 257 | function resolveRequestedAmount(amount: number | undefined): number { |
| 258 | if (amount === undefined) return DEFAULT_SCROLL_AMOUNT; |
no outgoing calls
no test coverage detected
searching dependent graphs…