Open Char2sGu opened 3 years ago
https://thenightmarex.github.io/blogs/2021/04/20/this-is-also-a-type/
这两个接口是等价的 123interface Test<T1, T2, T3, T4> { returnThis(): Test<T1, T2, T3, T4>;} 123interface Test<T1, T2, T3, T4> { returnThis(): this;}
https://thenightmarex.github.io/blogs/2021/04/20/this-is-also-a-type/
这两个接口是等价的 123interface Test<T1, T2, T3, T4> { returnThis(): Test<T1, T2, T3, T4>;} 123interface Test<T1, T2, T3, T4> { returnThis(): this;}