---
title: Typescript JSDoc
description: Get typescript autocomplete.
---

Add the following line of code in your `next-sitemap.config.js` for nice typescript autocomplete! 💖

```js
/** @type {import('next-sitemap').IConfig} */
module.exports = {
  // YOUR CONFIG
}
```

<img src="/images/ts-jsdoc.png" width="718" height="404" alt="Image" />
