We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0b7598 commit d54ff31Copy full SHA for d54ff31
src/pages/_utils.ts
@@ -448,7 +448,7 @@ const getUrl = (
448
) => {
449
switch (collectionType) {
450
case "reference":
451
- // @ts-ignore
+ // @ts-expect-error - Casting to the reference item schema
452
return entry.data.module === 'Constants'
453
? `/reference/constants/${entry.slug}`
454
: `/reference/${entry.slug}`;
0 commit comments