TypeScript/tests/cases/conformance/externalModules/es6/es6modulekindWithES5Target11.ts
Wesley Wigham eb80799ef0 Care about esnext where we look for es2015 (#18331)
* Care about esnext where we look for es2015

* Update diagnostic message to be more agnostic
2017-09-09 16:30:06 -07:00

12 lines
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() { }
}