remove typeArgs from top-level declaration