15 lines
274 B
TypeScript
15 lines
274 B
TypeScript
class X {
|
|
static illegalBeforeProperty = X.data;
|
|
static okBeforeMethod = X.method;
|
|
|
|
static illegal2 = After.data;
|
|
static illegal3 = After.method;
|
|
static data = 13;
|
|
static method() { }
|
|
}
|
|
class After {
|
|
static data = 12;
|
|
static method() { };
|
|
}
|
|
|