use @Princesseuh suggested change

This commit is contained in:
vic1707 2023-02-17 16:29:58 +01:00
parent 650e2efc11
commit a1e5660c25

View file

@ -12,7 +12,7 @@ import { generateSitemap } from './generate-sitemap.js';
import { Logger } from './utils/logger.js';
import { validateOptions } from './validate-options.js';
export const ChangeFreq = { ...EnumChangefreq } as const;
export type ChangeFreq = `${EnumChangefreq}`;
export type SitemapItem = Pick<
SitemapItemLoose,
'url' | 'lastmod' | 'changefreq' | 'priority' | 'links'
@ -32,7 +32,7 @@ export type SitemapOptions =
entryLimit?: number;
// sitemap specific
changefreq?: EnumChangefreq;
changefreq?: ChangeFreq;
lastmod?: Date;
priority?: number;