d3xter-dev / sitemap-module-nuxt-3

Sitemap Module for Nuxt 3
https://sitemap.nuxtjs.org
MIT License
63 stars 12 forks source link

Export TypeScript types #16

Open Anoesj opened 1 year ago

Anoesj commented 1 year ago

I noticed TS displaying errors when adding the sitemap property to your nuxt config when wrapped in defineNuxtConfig(). I decided to take a look and noticed this module doesn't expose any TS types yet. I made a first attempt, but I'm not very familiar with this codebase, so there's probably still a lot wrong with it. I haven't fully tested this in an actual Nuxt project yet either. Hopefully this is still helpful though :smile:.