Writable (mutable) ArrayLike interface. This is similar to the built-in ArrayLike, but with mutable properties.
0.14.0
const buf: WritableArrayLike<number> = { length: 3, 0: 1, 1: 2, 2: 3 };buf[1] = 42;buf.length = 4; Copy
const buf: WritableArrayLike<number> = { length: 3, 0: 1, 1: 2, 2: 3 };buf[1] = 42;buf.length = 4;
Identifies the base type of array elements
Writable (mutable) ArrayLike interface. This is similar to the built-in ArrayLike, but with mutable properties.
Since
0.14.0
Example