Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/developer-hub/src/components/Pages/BasePage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function BasePage(props: { params: { slug: string[] } }) {
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
const MDX = page.data.body;
return (
// @ts-expect-error - toc and full are properties of PageData, but not defined in the types so we need to cast to any
// @ts-expect-error - toc and full are properties of PageData, but not defined in the types
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
<DocsPage toc={page.data.toc} full={page.data.full}>
<DocsTitle>{page.data.title}</DocsTitle>
Expand Down
3 changes: 1 addition & 2 deletions apps/developer-hub/src/lib/source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ export const source = loader({
},
source: docs.toFumadocsSource(),
pageTree: {
// types are very similar but not exactly the same
// @ts-expect-error - some weird type issues
// @ts-expect-error - types are very similar but not exactly the same
transformers: [openapiPlugin()],
},
});
Expand Down
Loading