Errata

TypeScript Cookbook

Errata for TypeScript Cookbook

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Page Iterating over Objects with Object.keys
Location on Kindle 9999/16549

"If Object.keys(p) returns an array of type keyof Person[], you will be able to access other objects of Person, too."

It should be "keyof Person" instead of "keyof Person[]".

Note from the Author or Editor:
Eagle-eyes!

If `Object.keys(p)` returns an array of type `keyof Person`, you will be able to access other objects of `Person`, too.

is the correct sentence.

Anonymous  Sep 05, 2023