BUG: Array.remove() definition

According to the API

interface Array<T> {
  remove(target: T): this;
}

While in the implementation it returns void instead of this