SIGN IN SIGN UP

Fix isCustomTeamDefaultValue type guard to check all required properties (#3315)

* Fix isCustomTeamDefaultValue type guard to check all required properties

The type guard was only checking for 'defaultValue' and 'teamDefaultValue'
properties, allowing objects missing 'owner' and 'expirationDate' to pass
the check. This caused runtime errors when accessing expirationDate on
incomplete objects.

Now checks for all four required properties of CustomTeamDefaultValue<T>.

* chat-lib: update package to match main package.json
U
Ulugbek Abdullaev committed
e2b748adf80c13525371119f222147ba1965df7f
Parent: 50afece
Committed by GitHub <noreply@github.com> on 1/30/2026, 2:41:52 PM