* Care about esnext where we look for es2015 * Update diagnostic message to be more agnostic
22 lines
260 B
TypeScript
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;
|
|
}
|
|
}
|