# noImplicitAnyLet

Rule `biome/noImplicitAnyLet`. Disallow use of implicit `any` type on variable declarations.

- Source: biome
- Technologies: TypeScript
- Kind: suspicious
- Needs type information: no
- Autofix: no
- Reach: 30.6M weekly downloads of presets that enable it
- Trend: +109.3% last quarter
- Rank: #520 by reach, #155 by growth

## Linters

| Linter | Rule name | Recommended | Autofix | Details | Docs |
| --- | --- | --- | --- | --- | --- |
| Biome | `suspicious/noImplicitAnyLet` | yes | no | group suspicious, since 1.4.0 | [docs](https://biomejs.dev/linter/rules/no-implicit-any-let/) |

## Code examples

### Incorrect: the rule reports this

`````ts
var a;
a = 2;
````

```ts,expect_diagnostic
let b;
b = 1
`````

### Correct: the rule accepts this

```ts
var a = 1;
let a:number;
var b: number
var b =10;
```

Examples from the Biome documentation.

## Enable it

### Biome: `biome.json`

```json
{
  "linter": {
    "rules": {
      "suspicious": {
        "noImplicitAnyLet": "error"
      }
    }
  }
}
```

## Presets that enable it

| Preset | Linter | Package | Rules | Weekly downloads | Trend |
| --- | --- | --- | --- | --- | --- |
| [Biome recommended](https://lintradar.dev/presets/biome-recommended.md) | Biome | `@biomejs/biome` | 491 | 28.5M | +106.8% |
| [Ultracite for Biome](https://lintradar.dev/presets/ultracite-biome.md) | Biome | `ultracite` | 616 | 2.1M | +151.7% |

## Related rules

- [biome/noGlobalIsNan](https://lintradar.dev/rules/biome/noGlobalIsNan.md): Use `Number.isNaN` instead of global `isNaN`.
- [biome/noImportantInKeyframe](https://lintradar.dev/rules/biome/noImportantInKeyframe.md): Disallow `!important` in `@keyframes` declarations.
- [biome/noGlobalIsFinite](https://lintradar.dev/rules/biome/noGlobalIsFinite.md): Use `Number.isFinite` instead of global `isFinite`.
- [biome/noInvalidDirectionInLinearGradient](https://lintradar.dev/rules/biome/noInvalidDirectionInLinearGradient.md): Disallow non-standard directions in linear gradients.
- [biome/noFlatMapIdentity](https://lintradar.dev/rules/biome/noFlatMapIdentity.md): Disallow to use unnecessary callback on `flatMap`.
- [biome/noInvalidGridAreas](https://lintradar.dev/rules/biome/noInvalidGridAreas.md): Disallow invalid named areas in CSS grid templates.

---

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