# require-property-type

Rule `jsdoc/require-property-type`. Requires that each `@property` tag has a type value (in curly brackets).

- Source: jsdoc
- Technologies: JSDoc
- Kind: correctness
- Needs type information: no
- Autofix: no
- Reach: 10.2M weekly downloads of presets that enable it
- Trend: +38.0% last quarter
- Rank: #890 by reach, #1037 by growth

## Linters

| Linter | Rule name | Recommended | Autofix | Details | Docs |
| --- | --- | --- | --- | --- | --- |
| ESLint | `jsdoc/require-property-type` | yes | no | package `eslint-plugin-jsdoc` | [docs](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-type.md#repos-sticky-header) |
| Oxlint | `jsdoc/require-property-type` | no | no | plugin `jsdoc`, category correctness | [docs](https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-property-type.html) |

## Code examples

### Incorrect: the rule reports this

```ts
/**
 * @typedef {SomeType} SomeTypedef
 * @property foo
 */
```

### Correct: the rule accepts this

```ts
/**
 * @typedef {SomeType} SomeTypedef
 */
```

Examples from the ESLint documentation.

## Enable it

### ESLint: `eslint.config.js`

```js
import jsdoc from "eslint-plugin-jsdoc";

export default [
  {
    plugins: { jsdoc },
    rules: {
      "jsdoc/require-property-type": "error",
    },
  },
];
```

### Oxlint: `.oxlintrc.json`

```json
{
  "plugins": [
    "jsdoc"
  ],
  "rules": {
    "jsdoc/require-property-type": "error"
  }
}
```

## Presets that enable it

| Preset | Linter | Package | Rules | Weekly downloads | Trend |
| --- | --- | --- | --- | --- | --- |
| [JSDoc recommended](https://lintradar.dev/presets/jsdoc-recommended.md) | ESLint | `eslint-plugin-jsdoc` | 37 | 8.1M | +23.8% |
| [Ultracite for Oxlint](https://lintradar.dev/presets/ultracite-oxlint.md) | Oxlint | `ultracite` | 475 | 2.1M | +151.7% |

## Related rules

- [jsdoc/require-yields-type](https://lintradar.dev/rules/jsdoc/require-yields-type.md): Requires a type for `@yields` tags
- [jsdoc/require-throws-type](https://lintradar.dev/rules/jsdoc/require-throws-type.md): Requires a type for `@throws` tags
- [jsdoc/require-yields](https://lintradar.dev/rules/jsdoc/require-yields.md): Requires yields are documented with `@yields` tags.
- [jsdoc/require-param-description](https://lintradar.dev/rules/jsdoc/require-param-description.md): Requires that each `@param` tag has a `description` value.
- [jsdoc/check-tag-names](https://lintradar.dev/rules/jsdoc/check-tag-names.md): Reports invalid block tag names.
- [jsdoc/no-defaults](https://lintradar.dev/rules/jsdoc/no-defaults.md): This rule reports defaults being used on the relevant portion of `@param` or `@default`.

---

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