Build failure for v4.7.15
The build of the app at v4.7.15 fails with the following type checking error:
Failed to compile.
../../packages/platform/atoms/booker/BookerWebWrapper.tsx:227:7
Type error: Type 'boolean | null' is not assignable to type 'boolean | undefined'.
Type 'null' is not assignable to type 'boolean | undefined'.
225 | verifyCode={verifyCode}
226 | isPlatform={false}
> 227 | areInstantMeetingParametersSet={areInstantMeetingParametersSet}
| ^
228 | userLocale={session?.user.locale}
229 | />
230 | );
The failing command is yarn --cwd apps/web workspace @calcom/web run build, this worked fine with v4.7.14
Looks like https://github.com/calcom/cal.com/commit/fe209df2be953bfdfd42592280dfacd15e2fa726 broke it.
Highlighted this to the team @nebulade - will be fixed shortly in v4.7.16
Hey @nebulade, apologies and thanks a lot for reporting the issue, I was the one who pushed the commit fe209df. There seems to be some misconfiguration in my local TS setup which was the reason the above type error was not spotted by me, and we're in process of figuring out how it even got merged without breaking the app in local. This should be fixed in #17968 and v4.7.16 should not cause any builds, have a nice day!
No need to apologize :) Thanks a lot for reacting that fast! We happily wait for the next release tag then, no big rush.
Fixed here https://github.com/calcom/cal.com/issues/17964