use @Princesseuh suggested change
This commit is contained in:
parent
650e2efc11
commit
a1e5660c25
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue