cal.com
cal.com copied to clipboard
fix: fix types in apps/swagger (fixes #10023 and required for successful Railway build)
(Reimplementation of #12681)
What does this PR do?
Fix some typing issues in apps/swagger that cause Railway build to fail.
Should also fix #10023
Notes
- Renamed snippets.ts to snippets.js as it doesn't contain the necessary types which leads to build errors on Railway. The types are not available.
- Removed two non-existing props from index.tsx See here for
syntaxHighlightprop
Type of change
- Bug fix (non-breaking change which fixes an issue)
- Chore (refactoring code, technical debt, workflow improvements)
Mandatory Tasks
- [x] Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.
Checklist
- I haven't added tests that prove my fix is effective or that my feature works
@stabildev is attempting to deploy a commit to the cal Team on Vercel.
A member of the Team first needs to authorize it.
Thank you for following the naming conventions! π Feel free to join our discord and post your PR link.
New dependencies detected. Learn more about Socket for GitHub βοΈ
| Package | New capabilities | Transitives | Size | Publisher |
|---|---|---|---|---|
| npm/@types/[email protected] | None | +4 |
1.44 MB | types |
π¦ Next.js Bundle Analysis for @calcom/web
This analysis was generated by the Next.js Bundle Analysis action. π€
This PR introduced no changes to the JavaScript bundle! π