# require-yields-type Requires a type on the `@yields` tag. ||| |---|---| |Context|everywhere| |Tags|`yields`| |Recommended|true| |Settings|| |Options|| ## Failing examples The following patterns are considered problems: ````ts /** * @yields */ // Message: @yields should have a type /** * @yield */ // Message: @yields should have a type ```` ## Passing examples The following patterns are not considered problems: ````ts /** * @yields {SomeType} */ ````