# useAwaitThenable

Rule `biome/useAwaitThenable`. Enforce that `await` is _only_ used on `Promise` values.

- Source: biome
- Technologies: TypeScript
- Kind: style
- Needs type information: no
- Autofix: no
- Reach: 0 weekly downloads of presets that enable it
- Trend: 0% last quarter
- Rank: #1952 by reach

## Linters

| Linter | Rule name | Recommended | Autofix | Details | Docs |
| --- | --- | --- | --- | --- | --- |
| Biome | `nursery/useAwaitThenable` | no | no | group nursery, since 2.3.9 | [docs](https://biomejs.dev/linter/rules/use-await-thenable/) |

## Code examples

### Incorrect: the rule reports this

```js
await 'value';
```

```js
const createValue = () => 'value';
await createValue();
```

### Correct: the rule accepts this

```js
await Promise.resolve('value');

const createValue = async () => 'value';
await createValue();
```

Examples from the Biome documentation.

## Enable it

### Biome: `biome.json`

```json
{
  "linter": {
    "rules": {
      "nursery": {
        "useAwaitThenable": "error"
      }
    }
  }
}
```

## Related rules

- [biome/useAstroClientOnlyDirectiveValue](https://lintradar.dev/rules/biome/useAstroClientOnlyDirectiveValue.md): Require a value for Astro's `client:only` directive.
- [biome/useConsistentBooleanProps](https://lintradar.dev/rules/biome/useConsistentBooleanProps.md): Require a consistent style for JSX props with the value `true`
- [biome/noUnusedClasses](https://lintradar.dev/rules/biome/noUnusedClasses.md): Reports CSS class selectors that are never referenced in any JSX or HTML file.
- [biome/useConsistentFontWeightNotation](https://lintradar.dev/rules/biome/useConsistentFontWeightNotation.md): Enforce a consistent notation for font weights.
- [biome/noUntrustedLicenses](https://lintradar.dev/rules/biome/noUntrustedLicenses.md): Disallow dependencies with untrusted licenses.
- [biome/useConsistentLightnessNotation](https://lintradar.dev/rules/biome/useConsistentLightnessNotation.md): Enforce a consistent notation for the lightness of colors.

---

Web page: https://lintradar.dev/rules/biome/useAwaitThenable. Data from npm and the linters' documentation, collected Dec 4, 2026. Site guide for agents: https://lintradar.dev/llms.txt
