cast<T2 extends T> method

T2 cast<T2 extends T>()

Implementation

T2 cast<T2 extends T>() => this as T2;