* Care about esnext where we look for es2015 * Update diagnostic message to be more agnostic
12 lines
No EOL
230 B
TypeScript
12 lines
No EOL
230 B
TypeScript
// @target: es5
|
|
// @module: es2015
|
|
// @experimentalDecorators: true
|
|
|
|
declare function foo(...args: any[]): any;
|
|
@foo
|
|
export default class C {
|
|
static x() { return C.y; }
|
|
static y = 1
|
|
p = 1;
|
|
method() { }
|
|
} |