(amount: number | undefined)
| 781 | } |
| 782 | |
| 783 | function assertScrollAmountInput(amount: number | undefined): void { |
| 784 | if (amount !== undefined && !Number.isFinite(amount)) { |
| 785 | throw new AppError('INVALID_ARGS', 'scroll amount must be a number'); |
| 786 | } |
| 787 | } |
| 788 | |
| 789 | async function runDispatchedScroll( |
| 790 | interactor: Interactor, |
no test coverage detected