A table of cases that checks itself

A row type can expose mistakes in test data before a test runs.

your task

Export PriceCase and use it for the table. Repair the three rows using the amount, currency, and expected text each needs. Preserve the optional field used by the caller. All three files must compile.

Three price cases contain bad data. The table uses any[], so those mistakes are accepted. The caller also expects a PriceCase type. labels.ts shows how each expected price is formatted.

Starter code
or press Ctrl EnterNot run yet

type check

Not run yetcases.ts

Expected result: no type errors.