5 lines
136 B
TypeScript
5 lines
136 B
TypeScript
|
class C1 {
|
||
|
constructor(public p1:string); // ERROR
|
||
|
constructor(private p2:number); // ERROR
|
||
|
constructor(public p3:any) {} // OK
|
||
|
}
|