I don’t know if you’d rather fix the typings or remove the backwards compatibility:
attachControl from the typings, since they are correct.
detachControl() had required param till 4.1. Anyway, somehow that param (or the overloaded method) got removed from the typings - it does not look intentional or the comment and property would be gone! This breaking change is relatively new…