microsoft / TypeScript-Handbook

Deprecated, please use the TypeScript-Website repo instead
https://github.com/microsoft/TypeScript-Website
Apache License 2.0
4.88k stars 1.13k forks source link

Fix out of sync example continuation #1320

Closed vassudanagunta closed 3 years ago

vassudanagunta commented 4 years ago

The running example is based on the Car interface and taxi instance, but in the edited paragraph refers to person and Person without either being defined anywhere. Sticking with taxi and Car makes more sense and I suspect someone changed the example and simply missed this sentence.

orta commented 3 years ago

Great spot! Thanks a lot - I've reapplied it to the new site in https://github.com/microsoft/TypeScript-Website/pull/832