File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
components/Pages/BasePage Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff 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 >
Original file line number Diff line number Diff 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} ) ;
You can’t perform that action at this time.
0 commit comments