mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 12:12:16 +03:00
5 lines
132 B
TypeScript
5 lines
132 B
TypeScript
|
class C1 {
|
||
|
constructor(public p1:string); // ERROR
|
||
|
constructor(private p2:number); // ERROR
|
||
|
constructor(public p3:any) {} // OK
|
||
|
}
|