class A { foo: string; } class B extends A { bar: string; } compiling with --target ES6 currently still uses our own __extends and not ES6 classes.