TypeScript/tests/baselines/reference/esnextmodulekind.js
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

22 lines
260 B
TypeScript

//// [esnextmodulekind.ts]
export default class A
{
constructor ()
{
}
public B()
{
return 42;
}
}
//// [esnextmodulekind.js]
export default class A {
constructor() {
}
B() {
return 42;
}
}