swc/ecmascript/transforms/base/tests/ts-resolver/class/getter/input.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
104 B
TypeScript

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