swc/ecmascript/transforms/base/tests/ts-resolver/class/getter/output.ts
강동윤 fe7f7b691b
fix(es/transforms/base): Fix ts_resolver (#1903)
swc_ecma_transforms_base:
 - `ts_resolver`: Handle class declarations properly.
2021-07-07 15:45:45 +00:00

10 lines
112 B
TypeScript

class G<T__2> {
}
class Foo {
get foo() {
class Foo__3 {
}
new G<Foo__3>();
}
}