yard specify type

[ci skip]