class A { constructor(private map: (value: T1) => T2) { } } class C extends A { // Ensure 'value' is not of type 'any' by invoking it with type arguments. constructor() { super(value => String(value())); } }