revert typehint change