The types for routes is not matching as it is declared as any[] array.
Error from VSCode
Type '{ '/products/:productId': { changeFreq: string; priority: string; sitemapFilename: string; merge: true; }; }' is not assignable to type 'any[]'.
Object literal may only specify known properties, and ''/products/:productId'' does not exist in type 'any[]'.ts(2322)
sitemap-config.d.ts(20, 5): The expected type comes from property 'routes' which is declared here on type 'SitemapConfig'
I updated the sitemap plugin to use the newly exported SitemapConfig
The types for
routes
is not matching as it is declared asany[]
array.Error from VSCode