yard - add some type specs

[ci skip]