==== tests/cases/conformance/types/members/typesWithPublicConstructor.ts (2 errors) ==== // public is allowed on a constructor but is not meaningful class C { public constructor() { } } var c = new C(); var r: () => void = c.constructor; ~ !!! Type 'Function' is not assignable to type '() => void'. class C2 { public constructor(x: number); public constructor(x: any) { } } var c2 = new C2(); ~~~~~~~~ !!! Supplied parameters do not match any signature of call target. var r2: (x: number) => void = c2.constructor;