Write the type from two responses

Response examples show which fields may be missing or have different values.

your task

Change only the Booking type. Both supplied samples and the caller’s valid booking must compile. Keep all three marked bookings invalid.

The two supplied bookings disagree with the current Booking type. Compare their IDs, notes, and guest details. A missing field differs from a field containing null. The caller also documents the allowed statuses.

Starter code
or press Ctrl EnterNot run yet

type check

Not run yetbooking.ts

Expected result: no type errors.