swc/ecmascript/transforms/base/tests/ts-resolver/simple/003/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

9 lines
72 B
TypeScript

class Foo<T__2> {
}
class A {
}
class B {
}
new Foo<A>();
new Foo<B>();