mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 06:36:08 +03:00
5a91ab994c
swc_bundler: - Fix dce bug. (#1156) swc_ecma_transforms: - resolver: Ignore non-computed class properties. - dce: Handle usages in class property initializers.
12 lines
111 B
TypeScript
12 lines
111 B
TypeScript
import { d, D } from "./q.ts";
|
|
|
|
class A {
|
|
private s: D = d();
|
|
|
|
a() {
|
|
this.s.resolve();
|
|
}
|
|
|
|
}
|
|
|
|
new A(); |