diff --git a/test-e2e/local-peers.js b/test-e2e/local-peers.js index f2cd7f19a..d54580204 100644 --- a/test-e2e/local-peers.js +++ b/test-e2e/local-peers.js @@ -38,8 +38,10 @@ test('Local peers discovery each other and share device info', async (t) => { }) /** - * @param {any[]} array + * @template T + * @param {ReadonlyArray} array * @param {number} i + * @returns {Array} */ function removeElementAt(array, i) { return array.slice(0, i).concat(array.slice(i + 1))