(old)
| 238 | } |
| 239 | table.setPagination = (updater) => { |
| 240 | const safeUpdater: Updater<PaginationState> = (old) => { |
| 241 | let newState = functionalUpdate(updater, old) |
| 242 | |
| 243 | return newState |
| 244 | } |
| 245 | |
| 246 | return table.options.onPaginationChange?.(safeUpdater) |
| 247 | } |
nothing calls this directly
no test coverage detected