Skip to content

Commit

Permalink
use @Princesseuh suggested change
Browse files Browse the repository at this point in the history
  • Loading branch information
vic1707 committed Feb 17, 2023
1 parent 650e2ef commit a1e5660
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/integrations/sitemap/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -32,7 +32,7 @@ export type SitemapOptions =
entryLimit?: number;

// sitemap specific
changefreq?: EnumChangefreq;
changefreq?: ChangeFreq;
lastmod?: Date;
priority?: number;

Expand Down

0 comments on commit a1e5660

Please sign in to comment.