You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
🐞[Bug]: TypeScript compilation failure in swizzled FooterLayout and Showcase subcomponents #2520
Running npm run typecheck (tsc --noEmit) produces three TypeScript errors across the swizzled Footer and Showcase components:
src/pages/showcase/_components/ShowcaseFilterToggle/index.tsx(11,10): error TS2614: Module '"../../index"' has no exported member 'prepareUserState'. Did you mean to use 'import prepareUserState from "../../index"' instead?
src/pages/showcase/_components/ShowcaseTagSelect/index.tsx(20,10): error TS2614: Module '"../../index"' has no exported member 'prepareUserState'. Did you mean to use 'import prepareUserState from "../../index"' instead?
src/theme/Footer/index.tsx(11,11): error TS2739: Type '{}' is missing the following properties from type 'Props': style, links, logo, copyright
Root Causes:
Footer: src/theme/Footer/index.tsx was swizzled alongside src/theme/Footer/Layout/index.tsx. The custom swizzled FooterLayout component (src/theme/Footer/Layout/index.tsx) takes no props ((): ReactNode), but src/theme/Footer/index.tsx imports FooterLayout from "@theme/Footer/Layout". In TypeScript, @theme/Footer/Layout resolves to @docusaurus/theme-classic typings which expect { style, links, logo, copyright }, resulting in TS2739.
Showcase: src/pages/showcase/index.tsx was rewritten into a custom showcase component, removing prepareUserState which ShowcaseFilterToggle and ShowcaseTagSelect import, causing TS2614.
Expected behavior
src/theme/Footer/index.tsx should import the local swizzled FooterLayout from ./Layout instead of @theme/Footer/Layout.
Thanks for opening this issue! 🎉 We'll look into it as soon as possible, estimated time for response is 5–8 hrs.
Don't raise PR unless assigned to you.
In the meantime, please provide all necessary details and context to your issue — screenshots or videos of your changes help speed up the review and assignment. If you have questions, reach out to LinkedIn. Your contributions are highly appreciated!😊
Note: I maintain the repo issue every day twice at 8:00 AM IST and 9:00 PM IST. If your issue goes stale for more than one day, you can tag and comment on this same issue by tagging @sanjay-kv.
We are here to help you on this journey of open source. Consistent contributions are eligible for sponsorship 💰
🎁 check our list of amazing people we sponsored so far: GitHub Sponsorship. ✨
📚Resources which can help you know more about Github 👇🏻
Activity
github-actions commentedon Nov 14, 2026
Thanks for opening this issue! 🎉 We'll look into it as soon as possible, estimated time for response is 5–8 hrs.
Don't raise PR unless assigned to you.
In the meantime, please provide all necessary details and context to your issue — screenshots or videos of your changes help speed up the review and assignment. If you have questions, reach out to LinkedIn. Your contributions are highly appreciated!😊
Note: I maintain the repo issue every day twice at 8:00 AM IST and 9:00 PM IST. If your issue goes stale for more than one day, you can tag and comment on this same issue by tagging @sanjay-kv.
We are here to help you on this journey of open source. Consistent contributions are eligible for sponsorship 💰
🎁 check our list of amazing people we sponsored so far: GitHub Sponsorship. ✨
📚Resources which can help you know more about Github 👇🏻
End to End GitHub Beginner Playlist: GitHub Playlist.
Build your GitHub Profile: GitHub Profile Optimisation.
GitHub Handbook for dummies: GitHub Blog for Beginners.
github-actions commentedon Nov 14, 2026
Thanks for opening this issue. To help maintainers review it faster, please add the missing details below:
bobby404-K commentedon Nov 14, 2026
assign me @sanjay-kv
github-actions commentedon Nov 15, 2026
👤 Issue assigned to @bobby404-K.
github-actions commentedon Nov 15, 2026
✅ This issue has been closed. Thank you for your contribution!