Skip to content

Commit 9386c04

Browse files
committed
types again
1 parent d9dcecc commit 9386c04

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

apps/developer-hub/src/components/Pages/BasePage/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export function BasePage(props: { params: { slug: string[] } }) {
1616
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
1717
const MDX = page.data.body;
1818
return (
19-
// @ts-expect-error - toc and full are properties of PageData, but not defined in the types so we need to cast to any
19+
// @ts-expect-error - toc and full are properties of PageData, but not defined in the types
2020
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
2121
<DocsPage toc={page.data.toc} full={page.data.full}>
2222
<DocsTitle>{page.data.title}</DocsTitle>

apps/developer-hub/src/lib/source.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ export const source = loader({
5656
},
5757
source: docs.toFumadocsSource(),
5858
pageTree: {
59-
// types are very similar but not exactly the same
60-
// @ts-expect-error - some weird type issues
59+
// @ts-expect-error - types are very similar but not exactly the same
6160
transformers: [openapiPlugin()],
6261
},
6362
});

0 commit comments

Comments
 (0)