update typescript snapshots to account for #1464 (#1470)

master
Danny Arnold 2017-05-01 16:22:05 +02:00 committed by Christopher Chedeau
parent bfe3161762
commit bff2d48aa8
1 changed files with 14 additions and 14 deletions

View File

@ -321,13 +321,13 @@ class Derived extends Base {
const Printable = <T extends Constructor<Base>>( const Printable = <T extends Constructor<Base>>(
superClass: T superClass: T
): Constructor<Printable> & { message: string } & T => class ): Constructor<Printable> & { message: string } & T =>
extends superClass { class extends superClass {
static message = "hello"; static message = "hello";
print() { print() {
const output = this.x + "," + this.y; const output = this.x + "," + this.y;
} }
}; };
function Tagged<T extends Constructor<{}>>( function Tagged<T extends Constructor<{}>>(
superClass: T superClass: T
@ -449,13 +449,13 @@ class Derived extends Base {
} }
} }
const Printable = <T extends Constructor<Base>>(superClass: T) => class const Printable = <T extends Constructor<Base>>(superClass: T) =>
extends superClass { class extends superClass {
static message = "hello"; static message = "hello";
print() { print() {
const output = this.x + "," + this.y; const output = this.x + "," + this.y;
} }
}; };
function Tagged<T extends Constructor<{}>>(superClass: T) { function Tagged<T extends Constructor<{}>>(superClass: T) {
class C extends superClass { class C extends superClass {