( previousData: T | undefined, )
| 580 | * ``` |
| 581 | */ |
| 582 | export function keepPreviousData<T>( |
| 583 | previousData: T | undefined, |
| 584 | ): T | undefined { |
| 585 | return previousData |
| 586 | } |
| 587 | |
| 588 | /** |
| 589 | * Returns a new array with `item` added at the end. If that makes the array longer than `max`, |
no outgoing calls
no test coverage detected