mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
446 B
Plaintext
15 lines
446 B
Plaintext
//// [tests/cases/conformance/classes/classExpressions/classExpression5.ts] ////
|
|
|
|
=== classExpression5.ts ===
|
|
new class {
|
|
>new class { hi() { return "Hi!"; }}().hi : Symbol((Anonymous class).hi, Decl(classExpression5.ts, 0, 11))
|
|
|
|
hi() {
|
|
>hi : Symbol((Anonymous class).hi, Decl(classExpression5.ts, 0, 11))
|
|
|
|
return "Hi!";
|
|
}
|
|
}().hi();
|
|
>hi : Symbol((Anonymous class).hi, Decl(classExpression5.ts, 0, 11))
|
|
|