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