mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +03:00
20 lines
194 B
TypeScript
20 lines
194 B
TypeScript
class C {
|
|
}
|
|
|
|
var c: C;
|
|
var o: {} = c;
|
|
c = 1;
|
|
c = { foo: '' }
|
|
c = () => { }
|
|
|
|
class D {
|
|
constructor() {
|
|
return 1;
|
|
}
|
|
}
|
|
|
|
var d: D;
|
|
var o: {} = d;
|
|
d = 1;
|
|
d = { foo: '' }
|
|
d = () => { } |