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