Import what the module shares

A file can import only the names another file exports.

your task

Fix the imports and their uses in summary.ts. Keep priceLine, its booking parameter type, and its return type. All three files must compile with the caller’s marked call still rejected.

TypeScript reports two errors on the first import in summary.ts. One imported name has the wrong spelling. The other names a private helper. Read prices.ts to see what it makes available.

Starter code
or press Ctrl EnterNot run yet

type check

Not run yetsummary.ts

Expected result: no type errors.