mirror of
https://github.com/swc-project/swc.git
synced 2024-12-28 08:04:43 +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
|
||
|
}
|