Find the last line of the error

A type error at a function call can identify a field in the original data.

your task

Fix the field in the booking draft. Keep the call to saveBooking. The draft, API, and caller files must all compile.

TypeScript reports the save call on line 9 of draft.ts. Read that message from the bottom. It names the conflicting types and the field to inspect. api.ts describes the booking the service accepts.

Starter code
or press Ctrl EnterNot run yet

type check

Not run yetdraft.ts

Expected result: no type errors.