# ember/template-no-bare-yield
Disallow `{{yield}}` without parameters outside of contextual components.
## Rule Details
This rule enforces passing parameters to `{{yield}}` to make component APIs more explicit.
## Examples
Examples of **incorrect** code for this rule:
```gjs
{{yield}}
```
Examples of **correct** code for this rule:
```gjs
{{yield (Object greeting="hello there")}}
{{yield @model}}
```