mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +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
|
|
} |