remove not useful typehint in key spec