mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +03:00
14 lines
233 B
TypeScript
14 lines
233 B
TypeScript
var x: {};
|
|
|
|
function foo() {
|
|
this.x = 1;
|
|
}
|
|
|
|
class C1 extends undefined { }
|
|
class C2 extends true { }
|
|
class C3 extends false { }
|
|
class C4 extends 42 { }
|
|
class C5 extends "hello" { }
|
|
class C6 extends x { }
|
|
class C7 extends foo { }
|