TypeScript: self-referencing return type for static methods in inheriting classes

后端 未结 3 555
野的像风
野的像风 2020-12-03 07:12

With Polymorphic this in TypeScript 1.7, as I discovered here, we can define a method in a class with a return type of this, and automatically, any classes that

3条回答
提交回复
热议问题