23 lines
261 B
TypeScript
23 lines
261 B
TypeScript
//// [es2015modulekind.ts]
|
|
|
|
export default class A
|
|
{
|
|
constructor ()
|
|
{
|
|
|
|
}
|
|
|
|
public B()
|
|
{
|
|
return 42;
|
|
}
|
|
}
|
|
|
|
//// [es2015modulekind.js]
|
|
export default class A {
|
|
constructor() {
|
|
}
|
|
B() {
|
|
return 42;
|
|
}
|
|
}
|