1bb96555da
Fixes #5386.
11 lines
No EOL
196 B
TypeScript
11 lines
No EOL
196 B
TypeScript
// @target:es6
|
|
// @experimentaldecorators: true
|
|
declare function dec<T>(target: T): T;
|
|
|
|
@dec
|
|
export default class C {
|
|
static x() { return C.y; }
|
|
static y = 1;
|
|
}
|
|
|
|
let c = new C(); |