Comment Comment by kerneloops Another one: const cast: <A, B> (a: A) => B = function <B> (): B { return arguments[0] } const n: string = cast(1) parent kerneloops 1 year ago