TypeScript-TmLanguage/tests/cases/Issue248.ts

36 строки
556 B
TypeScript

class C1 {
m1 = 1;
static s1() {
return [() => (new this).m1];
}
}
class C2 {
m1 = 1;
static s1() {
return [() => (new this).m1];
}
}
class C3 {
m1 = 1;
static s1() {
return [() => (new this).m1];
}
}
class C4 {
m1 = 1;
static s1() {
return [() => (new this).m1];
}
}
class C5 {
m1 = 1;
static s1() {
return [() => (new this).m1];
}
}
class C6 {
m1 = 1;
static s1() {
return [() => (new this).m1];
}
}