(array: readonly T[], index: number)
| 15 | } |
| 16 | |
| 17 | export function removeIndex<T>(array: readonly T[], index: number): T[] { |
| 18 | return [...array.slice(0, index), ...array.slice(index + 1)] |
| 19 | } |
| 20 | |
| 21 | type TodoItem = {title: string; done: boolean} |
| 22 |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…