mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
25 lines
342 B
TypeScript
25 lines
342 B
TypeScript
//// [tests/cases/conformance/externalModules/esnext/esnextmodulekind.ts] ////
|
|
|
|
//// [esnextmodulekind.ts]
|
|
export default class A
|
|
{
|
|
constructor ()
|
|
{
|
|
|
|
}
|
|
|
|
public B()
|
|
{
|
|
return 42;
|
|
}
|
|
}
|
|
|
|
//// [esnextmodulekind.js]
|
|
export default class A {
|
|
constructor() {
|
|
}
|
|
B() {
|
|
return 42;
|
|
}
|
|
}
|