8 lines
144 B
TypeScript
8 lines
144 B
TypeScript
type T = typeof C & typeof C.s & typeof o & typeof o.n;
|
|
class C {
|
|
static s = 2;
|
|
}
|
|
type W = typeof o.n;
|
|
let o2: typeof o;
|
|
let o = { n: 12 };
|