Closed kevinwolfcr closed 3 years ago
When I try to use any TypeScript feature (like declaring types) in my layout file, I am getting a Syntax error:
./pages/introduction.mdx:10:5 Syntax error: Unexpected token, expected ";" 8 | import navItems from '@utils/nav' 9 | > 10 | type LayoutProps = { | ^ 11 | frontMatter: JamSauceFrontMatter 12 | } 13 |
Why was this closed? I'm also running into this issue with reExportDataFetching.
reExportDataFetching
When I try to use any TypeScript feature (like declaring types) in my layout file, I am getting a Syntax error: