tsc is having trouble with extending Array<T> interface.