Announcing TypeScript 2.2 | TypeScript
Feb 22, 2017· With TypeScript 2.2, we’ve implemented ECMAScript’s new.target meta-property. new.target is an ES2015 feature that lets constructors figure out if a subclass is being constructed. This feature can be handy since ES2015 doesn’t allow constructors to access this before calling super() .
اقرأ المزيد